/
/
Set up a Salesforce account and first contact in one step
For sales teams setting up a new customer who want the account and contact created cleanly, without duplicates or stranded leads, by asking their AI assistant.
On this page
Connector
Connect Salesforce, pick your AI tool and paste the prompt.
The problem
New customers that start life as duplicate accounts
Setting up a new customer means creating the account, then the first contact, and linking them. If the company already exists under a similar name or the person is sitting as a lead, you get duplicate accounts and a lead that is never converted.
Without PopdockAI
- Search accounts by a few spellings of the name
- Search contacts and leads by email
- Create the account, then the contact, and link them
- Clean up duplicates and stranded leads later
With PopdockAI
- Existing accounts, contacts and open leads are checked first
- An existing account switches to adding just the contact
- You see the exact values and confirm before anything is written
- The account is created first and the contact linked to it
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Create the account `{account-name}` with its first contact `{contact-name}` (email `{contact-email}`).
**Step 1: Duplicate check**
* `salesforce-get-account` with `name` and then `name.contains` set to `{account-name}`. If an account matches, show it and stop; offer to add only the contact to it.
* `salesforce-get-contact` with `email` set to `{contact-email}`. If it matches, show the existing contact and its account and stop.
* `salesforce-get-lead` with `email` set to `{contact-email}` and `converted` false. If a lead matches, suggest the `qualify-lead` prompt instead and stop.
**Step 2: Confirm**
Split `{contact-name}` into first and last name. Ask for any of industry, type, website, phone, billing city and country the user wants to set. 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.
**Step 3: Create, in order**
1. `salesforce-add-account`; keep the returned id.
2. `salesforce-add-contact` with account-id set to that id.
**Step 4: Report**
Both new IDs and the values used.
**Rules & Guidelines:**
* The only write tools this prompt may call are `salesforce-add-account` and `salesforce-add-contact`, each once. When the user chose "add only the contact" in Step 1, only `salesforce-add-contact`.
* If the account is created but the contact fails, report the account ID and the error; do not retry.
**Validation:**
* If `{contact-email}` is blank, warn that the duplicate check is weaker and continue only on a yes.Who it's for
One answer, three teams that use it
Account executives
Set up a new customer in one message
Create the account and its first contact together, already linked, right after the deal is agreed.
Set up Contoso Health in Salesforce with Maria Gomez, maria@contosohealth.com, as the first contact, industry Healthcare.
Sales operations
Stop duplicate accounts at the source
Similar account names and open leads are found before anything is created, so the data stays clean.
Create an account for Northwind Logistics with contact Ben Ito, ben@northwindlogistics.com, but check it does not exist first.
Customer onboarding
Start onboarding with the right records
Make sure each new customer has one account and a named contact before onboarding begins.
Add Fabrikam Labs as a Salesforce account with Chris Doyle, chris@fabrikamlabs.com, billing city Seattle.
How it works
What PopdockAI does when you ask
You give the company and the first contact, and your AI assistant checks Salesforce for anything that already exists. Both records are created only after you have seen them and said yes.
01
Ask
You give the account name and the contact's name and email.
02
Check
It searches Salesforce for the account, a contact with that email and an open lead.
03
Confirm
You add any extra details, see the exact values and say yes.
04
Create
It creates the account, then the linked contact, and reports both IDs.
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-account
salesforce-get-contact
salesforce-get-lead
salesforce-add-account
salesforce-add-contact
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
One clean account and contact for every new customer
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)
