Connectors

/

Pipedrive

/

Create a Pipedrive opportunity
Write

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.

Try PopdockAI free
Get a live demo
Create a Pipedrive opportunity
Log a new lead in Pipedrive for Fabrikam, contact Dana Whitfield, dana@fabrikam.com.
Fabrikam already exists in Pipedrive; Dana Whitfield does not. - Organization: Fabrikam, reused - Person: Dana Whitfield, dana@fabrikam.com, new - Lead: Fabrikam opportunity, new - Follow-up: call due Friday 9 October Shall I create these?
Pipedrive
Sample figures. Your results come from your own account.
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

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Pipedrive

Pipedrive
Run it on your own Pipedrive data.

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

Try PopdockAI free

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.

Prompt
**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.

Your AI tool

02

Check

It searches Pipedrive for each record and any open lead or deal.

pipedrive-get-organization
pipedrive-get-person
pipedrive-get-lead
pipedrive-get-deal
pipedrive-get-pipeline
pipedrive-get-stage
pipedrive-get-activity-type

03

Confirm

You see what will be reused and created, including a follow-up call.

No items found.

04

Create

It creates what is missing once and reports every ID.

Your AI tool

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.

get-data

pipedrive-get-organization

Returns Pipedrive organizations with address, industry, size, owner and open and won deal counts. Filter by name, city, state, country, industry or owner.
get-data

pipedrive-get-person

Returns Pipedrive contacts with email, phone, job title, organization, owner and last activity date. Filter by name, email, city, organization or owner.
get-data

pipedrive-get-deal

Returns Pipedrive deals with stage, pipeline, value, probability, owner and expected close date. Filter by status, stage, owner, organization, value range, expected close date range or title.
get-data

pipedrive-get-lead

Returns Pipedrive leads with value, source, labels, owner and next activity date. Filter by created date range, source, owner, person, organization, archived or title.
get-data

pipedrive-get-pipeline

Returns the sales pipelines defined in Pipedrive. Filter by exact name or active.
get-data

pipedrive-get-stage

Returns Pipedrive pipeline stages with their order, deal probability and rotten days. Filter by pipeline, name or active.
get-data

pipedrive-get-activity-type

Returns the activity types configured in Pipedrive and the keys used when scheduling activities. Filter by name or active.
run-action

pipedrive-add-organization

Creates an organization in Pipedrive with a name, owner and visibility.
run-action

pipedrive-add-person

Creates a contact in Pipedrive with a name, work email, work and mobile phone, owner and organization.
run-action

pipedrive-add-lead

Creates a lead in the Pipedrive Leads Inbox for a person or organization, with a title, value, owner, expected close date and note.
run-action

pipedrive-add-deal

Creates a deal in Pipedrive with a title, value, currency, stage, status and expected close date, linked to a person and organization.
run-action

pipedrive-add-activity

Schedules an activity (call, meeting, task, email and more) in Pipedrive with a subject, type, due date, time and note, optionally linked to a deal, person or organization.
Read only.Nothing in Pipedrive 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

New opportunities with a next step and no duplicates

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