/
/
Add Salesforce leads without chasing existing customers
For sales reps adding people after an event or call who want duplicate and customer checks done first, by asking their AI assistant.
On this page
Connector
Connect Salesforce, pick your AI tool and paste the prompt.
The problem
New leads that turn out to be existing customers
Adding a lead after an event or call looks simple, but the person may already be a lead or a contact at a customer. Without a check first, sales chases a customer as a prospect or works two lead records for the same person.
Without PopdockAI
- Search leads by email, then by company and surname
- Search contacts and accounts separately
- Create the lead anyway when the search is unclear
- Two reps end up working the same person
With PopdockAI
- Leads, contacts and accounts are checked before anything is written
- An existing contact stops the job and shows who they are
- An existing lead can be updated instead of duplicated
- You see the exact values and confirm before saving
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Add `{first-name}` `{last-name}` from `{company}` (email `{email}`) as a lead, unless they already exist.
**Step 1: Duplicate check**
* `salesforce-get-lead` with `email` set to `{email}`. Also `salesforce-get-lead` with `company` and `name.contains` set to `{last-name}`.
* `salesforce-get-contact` with `email` set to `{email}`.
* `salesforce-get-account` with `name` set to `{company}`.
If a contact matches, stop and report the existing contact and account; this person is already a customer contact. If an unconverted lead matches, show it and ask whether to update it instead (`salesforce-update-lead` with only the new values) or create a new one. If only the account matches, say so; the lead will still be created but the user should know the company is a customer.
**Step 2: Confirm and create**
Show the exact values you will send and wait for the user to confirm before any write. If they change anything, show the revised values and confirm again. Then call `salesforce-add-lead` once with first-name, last-name, company, email, status Open - Not Contacted unless the user says otherwise, and any title, phone, industry or lead source the user supplied.
**Step 3: Report**
The new lead ID, or what already existed.
**Rules & Guidelines:**
* The only write tools this prompt may call are `salesforce-add-lead` or, if the user chooses it, `salesforce-update-lead`. One write in total.
* `{email}` may be blank; then rely on the name and company checks and say the check was weaker.
**Validation:**
* If `{company}` or `{last-name}` is blank, ask for it; Salesforce requires both.Who it's for
One answer, three teams that use it
Sales development reps
Log leads from calls without the search
Capture a new lead in one message and know straight away if the person is already in Salesforce.
Add Priya Shah from Contoso, priya@contoso.com, as a lead in Salesforce.
Event marketers
Add booth visitors without duplicates
Enter the people you met at an event and update existing leads instead of creating second records.
Capture Tom Reyes, tom.reyes@fabrikam.com, from Fabrikam as a Salesforce lead from the trade show.
Account managers
Spot customers before they are prospected
Get told when a lead's company is already a customer account, so your accounts are not cold called.
Create a Salesforce lead for Lee Chen at Northwind Traders, lee@northwindtraders.com, and tell me if they are already a customer.
How it works
What PopdockAI does when you ask
You give a name, company and email, and your AI assistant checks Salesforce for anyone who already matches. Nothing is saved until you have seen the values and said yes.
01
Ask
You give a name, company and email.
02
Check
It searches Salesforce leads, contacts and accounts for the person and company.
03
Confirm
You see the exact values, or a choice to update an existing lead, and say yes.
04
Create
It saves the lead and gives you its ID.
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.
salesforce-get-lead
salesforce-get-contact
salesforce-get-account
salesforce-update-lead
salesforce-add-lead
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.
The outcome
Every lead is new, and every customer is recognised
Related use cases
More ways to put this data to work
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.

.webp)
