Connectors

/

Salesforce

/

Triage Salesforce leads
Report

Follow up the best new Salesforce leads first

For sales reps and managers who want new leads ranked, with duplicates and existing customers routed away, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Triage Salesforce leads
Triage the Salesforce leads created in the last 14 days. Who should we call first?
96 new leads came in over 14 days, and 22 are not really new. - Call first: Jordan Lee, CFO, Fabrikam Inc, unworked for 4 days - Existing customers: 14 leads match a contact or account - Duplicates: 8 leads share an email - Incomplete: 6 have no email or phone Want the ranked follow-up list?
Salesforce
Sample figures. Your results come from your own account.
salesforce-get-lead
salesforce-get-contact
salesforce-get-account

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Salesforce

Salesforce
Run it on your own Salesforce data.

Connect Salesforce, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

New leads that are not new at all

New leads arrive faster than they are worked, and some are duplicates of each other or people at existing customers. Sorting recent leads by who deserves a call first means checking each against contacts and accounts by hand.

Without PopdockAI

  • Scan recent leads in date order
  • Search contacts and accounts for each one
  • Spot duplicates by eye
  • Cold call a contact at an existing customer

With PopdockAI

  • Recent unconverted leads are read for you
  • Duplicates, existing customers and untouched leads are flagged
  • Leads with no email or phone are called out
  • Read only, with a ranked follow up list

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Triage unconverted leads created in the last `{lookback-days}` days (default 14), for owner `{owner}` (default: all).

**Step 1: Pull leads**

Call `salesforce-get-lead` with `converted` false, `created-date.from` set to today minus `{lookback-days}` days, `owner.contains` set to `{owner}` when given, and `max-records` 500.

**Step 2: Check each lead**

* **Duplicate lead:** the same email appears on more than one lead in the set.
* **Already a customer:** for each lead with an email, call `salesforce-get-contact` with `email`; for leads without a match, call `salesforce-get-account` with `name` set to the lead's company. A hit means the lead is really existing-customer activity.
* **Unworked:** status is still the initial status (Open or New) and the lead is more than 2 days old.
* **Incomplete:** no email and no phone.

**Step 3: Report**

* Counts by status and lead source.
* A ranked follow-up list: name, company, title, lead source, status, age, flags. Rank unworked leads with a known company and a senior title first.
* Duplicates and already-a-customer leads in their own tables.

**Rules & Guidelines:**

* This prompt is read-only. Do not call any write tool: `salesforce-add-account`, `salesforce-add-contact`, `salesforce-add-lead`, `salesforce-add-opportunity`, `salesforce-add-case`, `salesforce-add-task`, `salesforce-add-asset`, `salesforce-add-campaign`, `salesforce-update-account`, `salesforce-update-contact`, `salesforce-update-lead`, `salesforce-update-opportunity`, `salesforce-update-case`, `salesforce-update-task` or `salesforce-update-asset`.
* Point to `qualify-lead` for converting one.

**Validation:**

* If no leads match, say so and stop.

Who it's for

One answer, three teams that use it

Sales development reps

Know who to call first

Get a ranked follow up list with known companies and senior titles at the top.

Rank my Salesforce leads from the last 7 days for follow up.

Sales managers

Make sure no new lead sits untouched

See leads still untouched after two days, by status and source.

Which Salesforce leads created this month are still untouched after two days?

Account managers

Route customer contacts away from cold outreach

Find leads who already work at your customers before a rep cold calls them.

Do any recent Salesforce leads match contacts or accounts we already have, like Contoso or Fabrikam?

How it works

What PopdockAI does when you ask

You optionally set a window and an owner, and your AI assistant triages recent leads against contacts and accounts. Nothing is changed.

01

Ask

You optionally set a lookback window and an owner.

Your AI tool

02

Read

It reads recent unconverted Salesforce leads.

salesforce-get-lead

03

Check

It flags duplicates, existing customers, untouched leads and missing details.

salesforce-get-contact
salesforce-get-account

04

Report

You get a ranked follow-up list and separate duplicate and customer tables.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Salesforce and one secure connection to your AI tool. No code, no exports.

get-data

salesforce-get-lead

Returns Salesforce leads with their company, status, source, owner, contact details, location and whether they are converted. Filter by name, company, email, status, lead source, owner, state, converted flag and created date.
get-data

salesforce-get-contact

Returns Salesforce contacts with their account, title, department, email, phone, mailing address, owner and lead source. Filter by name, email, account, title, owner, lead source and mailing city or state.
get-data

salesforce-get-account

Returns Salesforce accounts with their type, industry, owner, billing address, phone and annual revenue. Filter by name, account number, type, industry, owner, billing city or state, annual revenue and created date.
Read only.Nothing in Salesforce Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Call the best new leads first

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation