/
/
Log new Pipedrive opportunities without duplicate records
For sales reps who want a new inquiry recorded in Pipedrive as a lead or deal by their AI assistant, reusing existing records and booking a follow-up.
On this page
Connector
Connect Pipedrive, pick your AI tool and paste the prompt.
The problem
Rushed entries leave duplicates and no next step
Logging a new inquiry in Pipedrive means checking whether the organization and contact exist, avoiding a second lead or deal for the same buyer, picking a stage and booking the first follow-up. Rushed entries leave duplicates and opportunities with no next step.
Without PopdockAI
- Search for the organization and contact
- Check for an open lead or deal already in play
- Create each record and pick a stage
- Forget to book the first follow-up
With PopdockAI
- Each record and any open lead or deal are searched first
- Existing organizations and people are reused, never recreated
- A follow-up call two business days out is proposed
- Nothing is written until you confirm, then every ID is reported
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Record a new opportunity with `{organization-name}`, contact `{contact-name}` (`{contact-email}`), as a `{create-as}` (default: lead), reusing existing records wherever they exist, and schedule a first follow-up.
**Step 1: Find what already exists**
* Organization: `pipedrive-get-organization` with `name` = `{organization-name}`, then `name.contains` if nothing matches. If several match, list them and ask which one.
* Person: if `{contact-email}` is given, `pipedrive-get-person` with `email`; otherwise with `name` = `{contact-name}` (and `organization-id` if the organization exists).
* Existing opportunity: if the organization exists, `pipedrive-get-deal` with `organization-id` and `status` = open, and `pipedrive-get-lead` with `organization-id` and `archived` = false. If there is already an open deal or lead for this contact, show it and ask whether to continue.
* For a deal: `pipedrive-get-pipeline` and `pipedrive-get-stage` so the user can pick the stage (default: leave `stage-id` empty so Pipedrive uses the first stage of the default pipeline).
* `pipedrive-get-activity-type` with `active` = true, to pick a valid key for the follow-up.
**Step 2: Propose, then wait**
Show the user what will be reused and what will be created: organization, person, the lead or deal (title "`{organization-name}` - opportunity" unless they give one), and a follow-up call due 2 business days from today. Wait for explicit confirmation.
**Step 3: Write, in this order**
The add tools return nothing, so re-read after each create to get the new ID.
1. If the organization is new: `pipedrive-add-organization` with `name`, then `pipedrive-get-organization` with `name` to get its organization-id.
2. If the person is new: `pipedrive-add-person` with `name`, `work-email` and `org-id`, then `pipedrive-get-person` with `email` (or `name`) to get their person-id.
3. Lead: `pipedrive-add-lead` with `title`, `organization-id` and `person-id`. Deal: `pipedrive-add-deal` with `title`, `org-id`, `person-id` and `stage-id` if chosen, then `pipedrive-get-deal` with `title.contains` to get the deal-id.
4. `pipedrive-add-activity` with `type`, `subject`, `due-date`, `person-id`, `org-id` and, for a deal, `deal-id`.
**Step 4: Confirm**
Report each record with its ID, marked as reused or created.
**Rules & Guidelines:**
* Never create an organization or person that already exists. Call each add tool at most once.
* Do not call any update tool.
* Leave `visible-to` at its default.
**Validation:**
* If `{create-as}` is not lead or deal, ask which one.
* If a create succeeds but the re-read does not find the new record, stop and report; do not create it again.Who it's for
One answer, three teams that use it
Sales reps
Log an inquiry in one message
Record a new opportunity with the organization, contact and first follow-up in a single request.
Create a deal in Pipedrive for Contoso, contact Priya Shah, priya@contoso.com.
Sales development reps
Book the first follow-up every time
Every new lead or deal comes with a follow-up call, so nothing sits without a next step.
Log a lead for Northwind Traders with Tom Reyes, tom@northwindtraders.com, and book a follow-up.
Sales operations
Stop duplicate organizations
Existing organizations and people are reused, keeping Pipedrive clean as new inquiries arrive.
Add a new deal for Fabrikam with Alex Kim, alex@fabrikam.com, and reuse anything already in Pipedrive.
How it works
What PopdockAI does when you ask
You give the organization, contact and whether it is a lead or deal, and your AI assistant checks Pipedrive for what already exists. It shows what it will reuse and create, and writes only after your yes.
01
Ask
You give the organization, contact name and email, and lead or deal.
02
Check
It searches Pipedrive for each record and any open lead or deal.
03
Confirm
You see what will be reused and created, including a follow-up call.
04
Create
It creates what is missing once and reports every ID.
What PopdockAI provides
The tools behind the answer
Ready made tools for Pipedrive and one secure connection to your AI tool. No code, no exports.
pipedrive-get-organization
pipedrive-get-person
pipedrive-get-deal
pipedrive-get-lead
pipedrive-get-pipeline
pipedrive-get-stage
pipedrive-get-activity-type
pipedrive-add-organization
pipedrive-add-person
pipedrive-add-lead
pipedrive-add-deal
pipedrive-add-activity
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
New opportunities with a next step and no duplicates
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)
