Pipedrive

App · CRM Systems · 52 actions

Manage the people, organizations and deals in your Pipedrive sales pipeline, and the activities scheduled against them.

Actions

ActionWhat it does
Add a product to a dealAdd a product from your catalog to a deal, with its price and quantity, so the deal's value adds up from its products.
Create a dealOpen a deal in a pipeline, optionally linked to a person and an organization and with a value attached.
Create a leadAdd a lead to Pipedrive's Leads Inbox for a person or an organization that's already in Pipedrive.
Create a noteAdd a note to a deal, person, organization or lead, such as a call summary or a form's answers.
Create a personAdd a person to Pipedrive, optionally with an email, a phone number and the organization they work for.
Create a productAdd a product or service to your Pipedrive product catalog, with its price, so it can be added to deals.
Create an activitySchedule a call, meeting or task, optionally against a deal, a person or an organization.
Create an organizationAdd a company to Pipedrive as an organization.
Delete a dealDelete a deal and its activities.
Delete a fileDelete a file from Pipedrive.
Delete a leadDelete a lead from Pipedrive's Leads Inbox.
Delete a noteDelete a note from Pipedrive.
Delete a personDelete a person.
Delete a productDelete a product from your Pipedrive catalog.
Delete an activityDelete an activity from Pipedrive.
Delete an organizationDelete an organization.
Download a fileSave a file from Pipedrive to your files, so a later step can attach or upload it.
Duplicate a dealMake a copy of a deal, with the same organization, person, value and stage, such as for a repeat order.
Find a customer's dealsFind the deals of one customer when you have their name or email address rather than a Pipedrive ID, such as the customer on an invoice or payment from another app.
Get a dealRead one deal from Pipedrive by its ID, with the names and email addresses of its organization, contact person and owner, its stage, and its value and dates written out for a message.
Get a fileRead a file's details in Pipedrive: its name, size and what it's attached to.
Get a leadRead one lead from Pipedrive's Leads Inbox by its ID.
Get a noteRead one note by its ID, with the deal, person or organization it's on.
Get a personRead one person from Pipedrive by their ID.
Get a productRead one product from your Pipedrive catalog, with its prices.
Get an activityRead one activity (a call, meeting, task and the rest) by its ID.
Get an organizationRead one organization from Pipedrive by its ID.
List a deal's productsList the products on a deal, with their prices and quantities.
List activitiesList activities, one page at a time, optionally narrowed to a deal, a person, an owner, or whether they are done.
List dealsList deals, optionally narrowed to a pipeline, a stage, a status or the person they are with.
List leadsList the leads in Pipedrive's Leads Inbox, newest first, or the archived ones.
List notesList notes, newest first: all of them, or those on one deal, person, organization or lead.
List organizationsList organizations in Pipedrive, one page at a time.
List personsList people in Pipedrive, one page at a time, optionally narrowed to an organization or an owner.
List pipelinesList the account's pipelines.
List productsList the products in your Pipedrive catalog, a page at a time.
List stagesList the stages of one pipeline, or of every pipeline.
Remove a product from a dealTake a product off a deal.
Search dealsFind deals by words in their title, notes or custom fields, optionally only open, won or lost ones, or only a person's or organization's.
Search organizationsFind organizations by name, address, notes or custom fields, to look a company up when you have its name rather than its ID.
Search personsFind people by name, email, phone or notes.
Search productsFind products in your Pipedrive catalog by name or product code.
Update a dealChange a deal: move it to another stage, mark it won or lost, or edit its value.
Update a fileRename a file in Pipedrive, or change its description.
Update a leadChange a lead in Pipedrive's Leads Inbox: its title, value, owner, person, organization or close date, or archive it.
Update a noteChange what a note says, or move it to another deal, person, organization or lead.
Update a personChange a person's name, contact details, owner, labels or organization.
Update a productChange a product in your Pipedrive catalog: its name, code, unit, tax or price.
Update a product on a dealChange a product on a deal, such as its price, quantity or discount.
Update an activityChange an activity: mark it done, reschedule it, or edit its subject, type or note.
Update an organizationChange an organization's name, address, website, owner or labels.
Upload a fileUpload a file to Pipedrive and attach it to a deal, person, organization, product, activity or lead, such as a signed quote or a contract.

Add a product to a deal

Add a product from your catalog to a deal, with its price and quantity, so the deal's value adds up from its products.

Inputs

Deal IDdeal_idtextRequired
The deal to add the product to. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Product IDproduct_idtextRequired
The product to add, from your catalog. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Priceitem_pricenumberRequired
The price of one, a plain number such as 250.
QuantityquantitynumberRequired
How many, more than zero.
Discountdiscountnumber
A discount on the line: a percentage or an amount, as 'Discount type' says.
Discount typediscount_typetext
Whether the discount is a percentage or an amount.One of: percentage (Percent off), amount (Amount off).
Taxtaxnumber
The tax rate in percent, from 0 to 100.From 0 to 100.
Tax methodtax_methodtext
Whether tax is added on top of the price or included in it.One of: exclusive (Added on top of the price), inclusive (Included in the price), none (No tax).
Commentscommentstext
A comment on the line, such as what's included.

Outputs

add_timetext
When it was added to the deal.
commentstext
Comments on the line.
currencytext
The currency, such as USD.
deal_idnumber
The deal's ID.
discountnumber
The discount.
discount_typetext
percentage or amount.
idnumber
The ID of this product on the deal, for 'Update a product on a deal' and 'Remove a product from a deal'. Not the product's own ID.
is_enabledtrue/false
Whether it counts toward the deal's value.
item_pricenumber
The price of one.
nametext
The product's name.
order_nrnumber
Its place in the deal's list of products.
product_idnumber
The product's ID in the catalog.
quantitynumber
How many.
sumnumber
The line's total after discount and tax.
taxnumber
The tax rate, in percent.
tax_methodtext
exclusive, inclusive or none.
update_timetext
When it was last changed.
Example output
{
  "add_time": "2026-11-02T09:00:00Z",
  "comments": null,
  "currency": "USD",
  "deal_id": 1,
  "discount": 0,
  "discount_type": "percentage",
  "id": 3,
  "is_enabled": true,
  "item_price": 250,
  "name": "Website audit",
  "order_nr": 1,
  "product_id": 1,
  "quantity": 2,
  "sum": 500,
  "tax": 0,
  "tax_method": "inclusive",
  "update_time": "2026-11-02T09:00:00Z"
}

Create a deal

Open a deal in a pipeline, optionally linked to a person and an organization and with a value attached.

Inputs

TitletitletextRequired
What the deal is called.
Valuevaluenumber
What the deal is worth, in whole currency units (1500 means 1,500.00, not 15.00).
Currencycurrencytext
The three-letter currency code for the value. Leave blank to use the account's default currency.
Person IDperson_idtext
The person this deal is with. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
The organization this deal is with. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Pipelinepipeline_idtext
Which pipeline to open the deal in. Only needed when no stage is chosen, since a stage already belongs to a pipeline.
Stagestage_idtext
Which stage to open the deal in. Leave blank to use the first stage of the chosen pipeline.
Statusstatustext
Whether the deal is open, already won, or lost.One of: open, won, lost.
Expected close dateexpected_close_datedate
When the deal is expected to close.
Probabilityprobabilitynumber
How likely the deal is to close, as a whole-number percentage from 0 to 100. Only used when the pipeline has deal probability switched on.From 0.0 to 100.0.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the deal. Leave blank to use the user whose API token was used to connect Pipedrive.

Outputs

acvnumber
add_timetext
arrnumber
channelnumber
channel_idtext
close_timetext
currencytext
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
expected_close_datetext
idnumber
is_archivedtrue/false
is_deletedtrue/false
label_idslist
lost_reasontext
lost_timetext
mrrnumber
org_idnumber
origintext
origin_idtext
owner_idnumber
person_idnumber
pipeline_idnumber
probabilitynumber
source_lead_idtext
stage_change_timetext
stage_idnumber
statustext
titletext
update_timetext
valuenumber
visible_tonumber
won_timetext
Example output
{
  "id": 1,
  "title": "New engine order"
}

Create a lead

Add a lead to Pipedrive's Leads Inbox for a person or an organization that's already in Pipedrive.

Inputs

TitletitletextRequired
The lead's title, such as 'Acme: 50 licenses'.
Person IDperson_idtext
The person the lead is about. Give a person, an organization or both. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
The organization the lead is about. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Valuevaluenumber
What it could be worth, a plain number. Needs a currency too.
Currencycurrencytext
The value's currency, a three-letter code such as USD.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the lead. Leave blank to use the user whose API token was used to connect Pipedrive.
Expected close dateexpected_close_datedate
When a deal from it is expected to close.

Outputs

add_timetext
creator_idnumber
expected_close_datetext
idtext
is_archivedtrue/false
label_idslist
organization_idnumber
owner_idnumber
person_idnumber
source_nametext
titletext
update_timetext
valueobject
was_seentrue/false
Example output
{
  "add_time": "2026-11-02T09:00:00.000Z",
  "creator_id": 1,
  "expected_close_date": null,
  "id": "adf21080-0e10-11eb-879b-05d71fb426ec",
  "is_archived": false,
  "label_ids": [],
  "organization_id": null,
  "owner_id": 1,
  "person_id": 1,
  "source_name": "API",
  "title": "Acme: 50 licenses",
  "update_time": "2026-11-02T09:00:00.000Z",
  "value": {
    "amount": 5000,
    "currency": "USD"
  },
  "was_seen": false
}

Create a note

Add a note to a deal, person, organization or lead, such as a call summary or a form's answers.

Inputs

NotecontenttextRequired
What the note says. Basic HTML such as <b> and <br> is kept.
Deal IDdeal_idtext
The deal it's about. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Person IDperson_idtext
The person it's about. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
The organization it's about. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Lead IDlead_idtext
The lead it's about, such as adf21080-0e10-11eb-879b-05d71fb426ec. Fill in at least one of deal, person, organization or lead.

Outputs

active_flagtrue/false
add_timetext
contenttext
deal_idnumber
idnumber
lead_idtext
org_idnumber
person_idnumber
update_timetext
user_idnumber
Example output
{
  "active_flag": true,
  "add_time": "2026-11-02 09:00:00",
  "content": "Called to confirm the order.",
  "deal_id": 1,
  "id": 1,
  "lead_id": null,
  "org_id": null,
  "person_id": null,
  "update_time": "2026-11-02 09:00:00",
  "user_id": 1
}

Create a person

Add a person to Pipedrive, optionally with an email, a phone number and the organization they work for.

Inputs

NamenametextRequired
The person's full name.
Emailemailtext
The person's email address. Several can be given; the first becomes their primary address.
Phonephonetext
The person's phone number. Several can be given; the first becomes their primary number.
Organization IDorganization_idtext
The organization this person works for. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the person. Leave blank to use the user whose API token was used to connect Pipedrive.
Label IDslabel_idslist
The numeric IDs of the labels to put on the person. Pipedrive's labels are per-account, so their IDs come from the label's own settings screen.
Marketing statusmarketing_statustext
The person's marketing consent. Pipedrive allows each change of this only once, and ignores it entirely for a person with no valid email address.One of: no_consent (No consent), subscribed, unsubscribed, archived.

Outputs

add_timetext
birthdaytext
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
emailslist
first_nametext
idnumber
imlist
is_deletedtrue/false
job_titletext
label_idslist
last_nametext
marketing_statustext
nametext
notestext
org_idnumber
owner_idnumber
phoneslist
picture_idnumber
postal_addressobject
update_timetext
visible_tonumber
Example output
{
  "id": 1,
  "name": "Ada Lovelace"
}

Create a product

Add a product or service to your Pipedrive product catalog, with its price, so it can be added to deals. Products are on Pipedrive's Growth plan and above.

Inputs

NamenametextRequired
The product's name, such as 'Website audit'.
Codecodetext
The product's code or SKU, such as AUD-1.
Descriptiondescriptiontext
What the product is.
Unitunittext
The unit it's sold in, such as hours, boxes or licenses.
Taxtaxnumber
Its tax rate in percent, from 0 to 100, such as 20.From 0 to 100.
Pricepricenumber
What one sells for, a plain number such as 250. Needs a currency too. On an update it replaces the product's prices.
Currencycurrencytext
The price's currency, a three-letter code such as USD.
Costcostnumber
What one costs you, a plain number, in the price's currency.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the product. Leave blank for the user whose API token was used to connect Pipedrive, or to keep its owner.

Outputs

add_timetext
When it was added.
categorytext
Its category.
codetext
Its product code, if it has one.
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
descriptiontext
Its description.
idnumber
The product's ID.
is_deletedtrue/false
Whether it has been deleted.
is_linkabletrue/false
Whether it can be added to a deal.
nametext
The product's name.
owner_idnumber
The ID of the user who owns it.
priceslist
Its prices, one per currency.
taxnumber
Its tax rate, in percent.
unittext
The unit it's sold in, such as hours or boxes.
update_timetext
When it was last changed.
Example output
{
  "add_time": "2026-11-02T09:00:00Z",
  "category": null,
  "code": "AUD-1",
  "custom_fields": {},
  "description": "A full review of a website.",
  "id": 1,
  "is_deleted": false,
  "is_linkable": true,
  "name": "Website audit",
  "owner_id": 3,
  "prices": [
    {
      "cost": 100,
      "currency": "USD",
      "direct_cost": null,
      "notes": null,
      "price": 250,
      "product_id": 1
    }
  ],
  "tax": 20,
  "unit": "audit",
  "update_time": "2026-11-02T09:00:00Z"
}

Create an activity

Schedule a call, meeting or task, optionally against a deal, a person or an organization.

Inputs

SubjectsubjecttextRequired
What the activity is called.
Activity typeactivity_typetext
The kind of activity. Leave blank to use the account's default type.
Due datedue_datedate
The day the activity is due.
Due timedue_timetime
The time of day the activity starts. Leave blank for an all-day activity.
Durationdurationtime
How long the activity lasts, as a length of time on the clock (01:30 means an hour and a half).
Deal IDdeal_idtext
The deal this activity is about. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Person IDperson_idtext
The person this activity is with. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
The organization this activity is with. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Notenotetext
A note to attach to the activity.
Already donedonetrue/false
Mark the activity as already completed.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the activity. Leave blank to use the user whose API token was used to connect Pipedrive.

Outputs

add_timetext
attendeeslist
busytrue/false
creator_user_idnumber
deal_idnumber
donetrue/false
due_datetext
due_timetext
durationtext
idnumber
is_deletedtrue/false
lead_idtext
locationobject
marked_as_done_timetext
notetext
org_idnumber
owner_idnumber
participantslist
person_idnumber
prioritynumber
project_idnumber
public_descriptiontext
subjecttext
typetext
update_timetext
Example output
{
  "id": 1,
  "subject": "Intro call"
}

Create an organization

Add a company to Pipedrive as an organization.

Inputs

NamenametextRequired
The organization's name.
Addressaddresstext
The organization's address, as one line.
Websitewebsitetext
The organization's website URL.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the organization. Leave blank to use the user whose API token was used to connect Pipedrive.
Label IDslabel_idslist
The numeric IDs of the labels to put on the organization. Pipedrive's labels are per-account, so their IDs come from the label's own settings screen.

Outputs

add_timetext
addressobject
annual_revenuenumber
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
employee_countnumber
idnumber
industrynumber
is_deletedtrue/false
label_idslist
linkedintext
nametext
owner_idnumber
update_timetext
visible_tonumber
websitetext
Example output
{
  "id": 1,
  "name": "Analytical Engines Ltd"
}

Delete a deal

Delete a deal and its activities. Pipedrive keeps the deal recoverable for 30 days before removing it permanently.

Inputs

Deal IDdeal_idtextRequired
The deal to delete. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

deletedtrue/false
idnumber
permanently_deletedtrue/false
Example output
{
  "deleted": true,
  "id": 1,
  "permanently_deleted": false
}

Delete a file

Delete a file from Pipedrive. Pipedrive keeps it for 30 days before removing it for good.

Inputs

File IDfile_idtextRequired
The file to delete. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

deletedtrue/false
idnumber
permanently_deletedtrue/false
Example output
{
  "deleted": true,
  "id": 1,
  "permanently_deleted": false
}

Delete a lead

Delete a lead from Pipedrive's Leads Inbox.

Inputs

Lead IDlead_idtextRequired
The lead to delete, such as adf21080-0e10-11eb-879b-05d71fb426ec. Pasting the lead's URL works too.

Outputs

deletedtrue/false
idtext
Example output
{
  "deleted": true,
  "id": "adf21080-0e10-11eb-879b-05d71fb426ec"
}

Delete a note

Delete a note from Pipedrive.

Inputs

Note IDnote_idtextRequired
The note to delete. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

deletedtrue/false
idnumber
Example output
{
  "deleted": true,
  "id": 1
}

Delete a person

Delete a person. Pipedrive keeps them recoverable for 30 days before removing them permanently.

Inputs

Person IDperson_idtextRequired
The person to delete. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

deletedtrue/false
idnumber
permanently_deletedtrue/false
Example output
{
  "deleted": true,
  "id": 1,
  "permanently_deleted": false
}

Delete a product

Delete a product from your Pipedrive catalog. Pipedrive keeps it for 30 days before removing it for good.

Inputs

Product IDproduct_idtextRequired
The product to delete. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

deletedtrue/false
idnumber
permanently_deletedtrue/false
Example output
{
  "deleted": true,
  "id": 1,
  "permanently_deleted": false
}

Delete an activity

Delete an activity from Pipedrive.

Inputs

Activity IDactivity_idtextRequired
The activity to delete. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

deletedtrue/false
idnumber
permanently_deletedtrue/false
Example output
{
  "deleted": true,
  "id": 1,
  "permanently_deleted": false
}

Delete an organization

Delete an organization. The people and deals linked to it are kept, just no longer linked.

Inputs

Organization IDorganization_idtextRequired
The organization to delete. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

deletedtrue/false
idnumber
permanently_deletedtrue/false
Example output
{
  "deleted": true,
  "id": 1,
  "permanently_deleted": false
}

Download a file

Save a file from Pipedrive to your files, so a later step can attach or upload it.

Inputs

File IDfile_idtextRequired
The file to download. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

content_typetext
The file's type, such as application/pdf.
document_reftext
The saved file, for steps that take a file.
file_idnumber
The Pipedrive file's ID.
filenametext
The file's name.
size_bytesnumber
The file's size in bytes.
urltext
Where to open the saved file.
Example output
{
  "content_type": "application/pdf",
  "document_ref": "doc_0123456789abcdef",
  "file_id": 1,
  "filename": "Signed quote.pdf",
  "size_bytes": 48213,
  "url": "/actions/core/serve-document/doc_0123456789abcdef"
}

Duplicate a deal

Make a copy of a deal, with the same organization, person, value and stage, such as for a repeat order.

Inputs

Deal IDdeal_idtextRequired
The deal to copy. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

add_timetext
When the copy was made.
currencytext
Its currency, such as USD.
expected_close_datetext
When it's expected to close.
formatted_valuetext
The value written with its currency, such as US$500.
idnumber
The new copy's ID.
org_idnumber
The ID of its organization, if any.
org_nametext
Its organization's name.
owner_nametext
Its owner's name.
person_idnumber
The ID of its person, if any.
person_nametext
Its person's name.
pipeline_idnumber
The ID of its pipeline.
stage_idnumber
The ID of its stage.
statustext
open, won or lost.
titletext
The copy's title.
update_timetext
When it was last changed.
user_idnumber
The ID of the user who owns it.
valuenumber
Its value, a plain number.
Example output
{
  "add_time": "2026-11-30 09:00:00",
  "currency": "USD",
  "expected_close_date": "2026-12-12",
  "formatted_value": "$12,500",
  "id": 2,
  "org_id": 7,
  "org_name": "Acme Ltd",
  "owner_name": "Sam Ortiz",
  "person_id": 12,
  "person_name": "Dana Lee",
  "pipeline_id": 1,
  "stage_id": 4,
  "status": "open",
  "title": "New engine order",
  "update_time": "2026-11-30 09:00:00",
  "user_id": 3,
  "value": 12500
}

Find a customer's deals

Find the deals of one customer when you have their name or email address rather than a Pipedrive ID, such as the customer on an invoice or payment from another app. Finds open deals unless you choose otherwise. It looks for an organization or person whose name is exactly the name you give, and a person with exactly that email address (capitals don't matter; part of a name doesn't count), and returns the deals linked to any of them. You get how many there are, each deal's title, value, stage, owner and link, and, when there is exactly one, that deal on its own, ready for 'Update a deal'. When there are none or several, no single deal is given, so nothing is changed by guess.

Inputs

Customer namecustomer_nametext
The customer's name: a company or a person. Matches an organization or person in Pipedrive with exactly this name; capitals and extra spaces don't matter. Fill in the name, the email address or both.
Customer emailcustomer_emailtext
The customer's email address. Matches a person in Pipedrive with exactly this address. With a name as well, deals found either way are returned, and a person with the same name but a different address is left out.
Which dealsstatustext
Open deals (the default), won ones, lost ones, or any of the three.One of: open, won, lost, any (Open, won or lost). Default: open.

Outputs

countnumber
How many deals were found. 0 when the customer has none, or when nobody in Pipedrive has that name or email address.
customerslist
The people and organizations in Pipedrive taken to be this customer. Empty when nobody has that name or email address.
dealobject
The deal, when exactly one was found: use its id in 'Update a deal'. Empty when none or several were found, so a later step never changes one of several deals by guess; check count or match first.
dealslist
Every deal found, newest first.
has_moretrue/false
True only when a customer has more than 2,000 such deals and the rest were not read.
matchtext
'none', 'one' or 'several': the same as count, in a word, for a condition.
summarytext
What was found, as a message ready to post whichever way it went: 'No open deal found in Pipedrive for Acme Ltd.', or how many were found followed by their lines. Use it to tell someone when match is not 'one', in one step for both none and several.
texttext
The deals as lines of a message, each with its title, value and link. Blank when none were found.
Example output
{
  "count": 1,
  "customers": [
    {
      "id": 9,
      "matched_by": "organization name",
      "name": "Acme Ltd",
      "type": "organization"
    }
  ],
  "deal": {
    "add_time": "2026-10-01T09:00:00Z",
    "currency": "USD",
    "customer_name": "Acme Ltd",
    "expected_close_date": "2026-11-30",
    "id": 42,
    "link": "https://acme.pipedrive.com/deal/42",
    "matched_by": "organization name",
    "organization_id": 9,
    "owner_email": "sam@example.com",
    "owner_id": 7,
    "owner_name": "Sam Rivera",
    "person_id": 15,
    "pipeline_id": 1,
    "stage_id": 3,
    "stage_name": "Negotiation",
    "status": "open",
    "title": "Acme Ltd: website refresh",
    "update_time": "2026-11-02T14:30:00Z",
    "value": 12000,
    "value_display": "$12,000"
  },
  "deals": [
    {
      "add_time": "2026-10-01T09:00:00Z",
      "currency": "USD",
      "customer_name": "Acme Ltd",
      "expected_close_date": "2026-11-30",
      "id": 42,
      "link": "https://acme.pipedrive.com/deal/42",
      "matched_by": "organization name",
      "organization_id": 9,
      "owner_email": "sam@example.com",
      "owner_id": 7,
      "owner_name": "Sam Rivera",
      "person_id": 15,
      "pipeline_id": 1,
      "stage_id": 3,
      "stage_name": "Negotiation",
      "status": "open",
      "title": "Acme Ltd: website refresh",
      "update_time": "2026-11-02T14:30:00Z",
      "value": 12000,
      "value_display": "$12,000"
    }
  ],
  "has_more": false,
  "match": "one",
  "summary": "1 open deal found in Pipedrive for Acme Ltd:\n\u2022 Acme Ltd: website refresh ($12,000): https://acme.pipedrive.com/deal/42",
  "text": "\u2022 Acme Ltd: website refresh ($12,000): https://acme.pipedrive.com/deal/42"
}

Get a deal

Read one deal from Pipedrive by its ID, with the names and email addresses of its organization, contact person and owner, its stage, and its value and dates written out for a message.

Inputs

Deal IDdeal_idtextRequired
The deal to read. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

acvnumber
add_timetext
arrnumber
channelnumber
channel_idtext
close_timetext
currencytext
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
deal_linktext
Beta. The link that opens the deal in Pipedrive.
expected_close_datetext
expected_close_displaytext
Beta. The expected close date as a person reads it, such as Dec 12, 2026. Empty when none is set.
idnumber
is_archivedtrue/false
is_deletedtrue/false
label_idslist
lost_reasontext
lost_timetext
mrrnumber
org_idnumber
org_nametext
Beta. The name of the deal's organization, such as Acme Ltd. Empty when it has none.
origintext
origin_idtext
owner_emailtext
Beta. The owner's email address.
owner_idnumber
owner_nametext
Beta. The name of the user who owns the deal.
person_emailtext
Beta. That person's main email address.
person_idnumber
person_nametext
Beta. The name of the deal's contact person, such as Dana Lee. Empty when it has none.
person_phonetext
Beta. That person's main phone number.
pipeline_idnumber
pipeline_nametext
Beta. The name of the deal's pipeline.
probabilitynumber
source_lead_idtext
stage_change_timetext
stage_idnumber
stage_nametext
Beta. The name of the stage the deal is in, such as Negotiation.
statustext
titletext
update_timetext
valuenumber
value_displaytext
Beta. The value written out with its currency for a message, such as $12,500.00 or €12,500.00.
visible_tonumber
won_displaytext
Beta. The day the deal was won as a person reads it, such as Nov 12, 2026. Empty until then.
won_timetext
Example output
{
  "currency": "USD",
  "deal_link": "https://acme.pipedrive.com/deal/1",
  "expected_close_date": "2026-12-12",
  "expected_close_display": "Dec 12, 2026",
  "id": 1,
  "org_id": 7,
  "org_name": "Acme Ltd",
  "owner_email": "sam@example.com",
  "owner_id": 3,
  "owner_name": "Sam Ortiz",
  "person_email": "dana@acme.com",
  "person_id": 12,
  "person_name": "Dana Lee",
  "person_phone": "+1 555 0100",
  "pipeline_id": 1,
  "pipeline_name": "Sales",
  "stage_id": 4,
  "stage_name": "Negotiation",
  "status": "won",
  "title": "New engine order",
  "value": 12500,
  "value_display": "$12,500.00",
  "won_display": "Nov 12, 2026",
  "won_time": "2026-11-12T09:30:00Z"
}

Get a file

Read a file's details in Pipedrive: its name, size and what it's attached to.

Inputs

File IDfile_idtextRequired
The file to read. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

active_flagtrue/false
False once it has been deleted.
activity_idnumber
The ID of its activity, if any.
add_timetext
When it was uploaded.
deal_idnumber
The ID of its deal, if any.
deal_nametext
Its deal's title.
descriptiontext
Its description.
file_nametext
The name it was uploaded with.
file_sizenumber
Its size in bytes.
idnumber
The file's ID.
lead_idtext
The ID of its lead, if any.
nametext
The name it shows in Pipedrive.
org_idnumber
The ID of its organization, if any.
org_nametext
Its organization's name.
person_idnumber
The ID of its person, if any.
person_nametext
Its person's name.
product_idnumber
The ID of its product, if any.
update_timetext
When it was last changed.
urltext
Pipedrive's link to download it, which needs a Pipedrive sign-in.
user_idnumber
The ID of the user who uploaded it.
Example output
{
  "active_flag": true,
  "activity_id": null,
  "add_time": "2026-11-02 09:00:00",
  "deal_id": 1,
  "deal_name": "New engine order",
  "description": null,
  "file_name": "signed-quote.pdf",
  "file_size": 48213,
  "id": 1,
  "lead_id": null,
  "name": "Signed quote.pdf",
  "org_id": null,
  "org_name": null,
  "person_id": null,
  "person_name": null,
  "product_id": null,
  "update_time": "2026-11-02 09:00:00",
  "url": "https://acme.pipedrive.com/api/v1/files/1/download",
  "user_id": 3
}

Get a lead

Read one lead from Pipedrive's Leads Inbox by its ID.

Inputs

Lead IDlead_idtextRequired
The lead to read. A lead's ID looks like adf21080-0e10-11eb-879b-05d71fb426ec; pasting the lead's URL works too.

Outputs

add_timetext
creator_idnumber
expected_close_datetext
idtext
is_archivedtrue/false
label_idslist
organization_idnumber
owner_idnumber
person_idnumber
source_nametext
titletext
update_timetext
valueobject
was_seentrue/false
Example output
{
  "add_time": "2026-11-02T09:00:00.000Z",
  "creator_id": 1,
  "expected_close_date": "2026-12-31",
  "id": "adf21080-0e10-11eb-879b-05d71fb426ec",
  "is_archived": false,
  "label_ids": [],
  "organization_id": 2,
  "owner_id": 1,
  "person_id": 1,
  "source_name": "API",
  "title": "Acme: 50 licenses",
  "update_time": "2026-11-02T09:00:00.000Z",
  "value": {
    "amount": 5000,
    "currency": "USD"
  },
  "was_seen": false
}

Get a note

Read one note by its ID, with the deal, person or organization it's on.

Inputs

Note IDnote_idtextRequired
The note to read. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

active_flagtrue/false
False once it has been deleted.
add_timetext
When it was written.
contenttext
What the note says, as basic HTML.
dealobject
deal_idnumber
The ID of its deal, if any.
idnumber
The note's ID.
lead_idtext
The ID of its lead, if any.
org_idnumber
The ID of its organization, if any.
organizationobject
personobject
person_idnumber
The ID of its person, if any.
update_timetext
When it was last changed.
userobject
user_idnumber
The ID of the user who wrote it.
Example output
{
  "active_flag": true,
  "add_time": "2026-11-02 09:00:00",
  "content": "Called to confirm the order.",
  "deal": {
    "title": "New engine order"
  },
  "deal_id": 1,
  "id": 1,
  "lead_id": null,
  "org_id": null,
  "organization": {
    "name": ""
  },
  "person": {
    "name": ""
  },
  "person_id": null,
  "update_time": "2026-11-02 09:00:00",
  "user": {
    "email": "sam@example.com",
    "name": "Sam Ortiz"
  },
  "user_id": 1
}

Get a person

Read one person from Pipedrive by their ID.

Inputs

Person IDperson_idtextRequired
The person to read. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

add_timetext
birthdaytext
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
emailslist
first_nametext
idnumber
imlist
is_deletedtrue/false
job_titletext
label_idslist
last_nametext
marketing_statustext
nametext
notestext
org_idnumber
owner_idnumber
phoneslist
picture_idnumber
postal_addressobject
update_timetext
visible_tonumber
Example output
{
  "id": 1,
  "name": "Ada Lovelace"
}

Get a product

Read one product from your Pipedrive catalog, with its prices.

Inputs

Product IDproduct_idtextRequired
The product to read. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

add_timetext
When it was added.
categorytext
Its category.
codetext
Its product code, if it has one.
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
descriptiontext
Its description.
idnumber
The product's ID.
is_deletedtrue/false
Whether it has been deleted.
is_linkabletrue/false
Whether it can be added to a deal.
nametext
The product's name.
owner_idnumber
The ID of the user who owns it.
priceslist
Its prices, one per currency.
taxnumber
Its tax rate, in percent.
unittext
The unit it's sold in, such as hours or boxes.
update_timetext
When it was last changed.
Example output
{
  "add_time": "2026-11-02T09:00:00Z",
  "category": null,
  "code": "AUD-1",
  "custom_fields": {},
  "description": "A full review of a website.",
  "id": 1,
  "is_deleted": false,
  "is_linkable": true,
  "name": "Website audit",
  "owner_id": 3,
  "prices": [
    {
      "cost": 100,
      "currency": "USD",
      "direct_cost": null,
      "notes": null,
      "price": 250,
      "product_id": 1
    }
  ],
  "tax": 20,
  "unit": "audit",
  "update_time": "2026-11-02T09:00:00Z"
}

Get an activity

Read one activity (a call, meeting, task and the rest) by its ID.

Inputs

Activity IDactivity_idtextRequired
The activity to read. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

add_timetext
attendeeslist
busytrue/false
creator_user_idnumber
deal_idnumber
donetrue/false
due_datetext
due_timetext
durationtext
idnumber
is_deletedtrue/false
lead_idtext
locationobject
marked_as_done_timetext
notetext
org_idnumber
owner_idnumber
participantslist
person_idnumber
prioritynumber
project_idnumber
public_descriptiontext
subjecttext
typetext
update_timetext
Example output
{
  "deal_id": 1,
  "done": false,
  "due_date": "2026-12-01",
  "due_time": "10:00",
  "id": 1,
  "owner_id": 3,
  "subject": "Intro call",
  "type": "call"
}

Get an organization

Read one organization from Pipedrive by its ID.

Inputs

Organization IDorganization_idtextRequired
The organization to read. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.

Outputs

add_timetext
addressobject
annual_revenuenumber
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
employee_countnumber
idnumber
industrynumber
is_deletedtrue/false
label_idslist
linkedintext
nametext
owner_idnumber
update_timetext
visible_tonumber
websitetext
Example output
{
  "id": 1,
  "name": "Acme Engines"
}

List a deal's products

List the products on a deal, with their prices and quantities.

Inputs

Deal IDdeal_idtextRequired
The deal whose products to list. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Sort bysort_bytext
Which field to order the results by.One of: id, add_time (Added), update_time (Last updated), order_nr (Order on the deal).
Sort directionsort_directiontext
Whether to order the results ascending or descending.One of: asc (Ascending), desc (Descending).
Limitlimitnumber
How many products to return in this page, from 1 to 500.From 1 to 500. Default: 100.
Cursorcursortext
Leave blank for the first page. To read the next one, pass the 'next_cursor' this action returned.

Outputs

countnumber
has_moretrue/false
next_cursortext
productslist
Example output
{
  "count": 1,
  "has_more": false,
  "next_cursor": null,
  "products": [
    {
      "add_time": "2026-11-02T09:00:00Z",
      "comments": null,
      "currency": "USD",
      "deal_id": 1,
      "discount": 0,
      "discount_type": "percentage",
      "id": 3,
      "is_enabled": true,
      "item_price": 250,
      "name": "Website audit",
      "order_nr": 1,
      "product_id": 1,
      "quantity": 2,
      "sum": 500,
      "tax": 0,
      "tax_method": "inclusive",
      "update_time": "2026-11-02T09:00:00Z"
    }
  ]
}

List activities

List activities, one page at a time, optionally narrowed to a deal, a person, an owner, or whether they are done.

Inputs

Deal IDdeal_idtext
Only return activities on this deal. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Person IDperson_idtext
Only return activities with this person. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
Only return activities with this organization. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Owner IDowner_idnumber
Only return activities owned by this Pipedrive user ID. Leave blank for all owners.
Donedonetrue/false
Only return activities that are done, or only those that are not. Leave blank for both.
Updated sinceupdated_sincedate and time
Only return activities changed at or after this moment. Leave blank for all of them.
Sort bysort_bytext
Which field to order the results by.One of: id, update_time (Last updated), add_time (Created), due_date (Due date).
Sort directionsort_directiontext
Whether to order the results ascending or descending.One of: asc (Ascending), desc (Descending).
Limitlimitnumber
How many activities to return in this page, from 1 to 500.From 1 to 500. Default: 100.
Cursorcursortext
Leave blank for the first page. To read the next one, pass the 'next_cursor' this action returned.

Outputs

activitieslist
countnumber
has_moretrue/false
next_cursortext
Example output
{
  "activities": [
    {}
  ],
  "count": 1,
  "has_more": false,
  "next_cursor": null
}

List deals

List deals, optionally narrowed to a pipeline, a stage, a status or the person they are with. Each deal shows how many days since it last changed, and always comes with its owner's name and email. Beta: it can keep only the deals idle for a number of days or with no next activity scheduled, reading every matching deal rather than one page; it gives each deal its link and readable value, and returns the deals grouped by owner, as one text ready to post and with their total value, so a report of deals by owner needs no loop, filter, grouping, totaling or lookup step.

Inputs

Statusstatuslist
Only return deals in these states. Choose none to return every deal that has not been deleted.One or more of: open, won, lost, deleted (Deleted (within the last 30 days)).
Pipelinepipeline_idtext
Only return deals in this pipeline.
Stagestage_idtext
Only return deals in this stage.
Person IDperson_idtext
Only return deals with this person. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
Only return deals with this organization. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Owner IDowner_idnumber
Only return deals owned by this Pipedrive user ID. Leave blank for all owners.
Updated sinceupdated_sincedate and time
Only return deals changed at or after this moment. Leave blank for all of them.
Idle for at least (days)idle_daysnumber
Beta. Only return deals nobody has changed for at least this many days, such as 14 for a weekly list of deals gone quiet, so no filtering step is needed. When set, every page of matching deals is read (up to 10,000 deals) and 'limit' is ignored, so the groups and totals cover them all. Leave blank for no such filter; the owner's name and email come with every deal either way.
Only deals with no next activityno_next_activitytrue/false
Beta. Only return deals that have no activity (call, meeting or task) scheduled, so a list of deals nobody is following up needs no list of activities and no filtering step. Every page of deals is read (up to 10,000 deals) and 'limit' is ignored. Only open deals are looked at unless Status says otherwise.Default: false.
Read every matching dealall_pagestrue/false
Beta. Read every page of matching deals rather than one (up to 10,000 deals), so the list, the groups by owner and the totals cover every deal in the chosen stage or status and no loop is needed. 'limit' is then ignored. Already the case when 'Idle for at least' or 'Only deals with no next activity' is set.Default: false.
Sort bysort_bytext
Which field to order the results by.One of: id, update_time (Last updated), add_time (Created).
Sort directionsort_directiontext
Whether to order the results ascending or descending.One of: asc (Ascending), desc (Descending).
Limitlimitnumber
How many deals to return in this page, from 1 to 500.From 1 to 500. Default: 100.
Cursorcursortext
Leave blank for the first page. To read the next one, pass the 'next_cursor' this action returned.

Outputs

by_ownerlist
Beta. The same deals grouped by who owns them, the owner with the most deals first, so a message for each owner needs no grouping step: loop over these and send 'deals_text' to 'owner_email'.
countnumber
How many deals are listed. 0 when there are none, so 'send nothing when the list is empty' is one check.
dealslist
has_moretrue/false
next_cursortext
texttext
Beta. The whole list as text ready to post or email as it is: a section per owner, headed with their name, how many deals and their total, then one line per deal with its title, value, how long since it changed and link. Empty when no deals are listed, so check 'count' first.
total_valuenumber
Beta. What all the listed deals are worth together, such as 15500, for comparing or adding up in later steps. 0 when none has a value. Blank when the deals are in more than one currency, since those cannot be added together; 'total_value_display' then gives each currency's total.
total_value_displaytext
Beta. What all the listed deals are worth together, ready to put in a message, such as $15,500 (each currency's total, joined with +, when there are several, such as €50 + $100). Blank when none has a value.
Example output
{
  "by_owner": [
    {
      "count": 1,
      "deals": [
        {
          "days_since_update": 20,
          "id": 42,
          "link": "https://acme.pipedrive.com/deal/42",
          "next_activity_date": null,
          "title": "New engine order",
          "value_display": "$12,000"
        }
      ],
      "deals_text": "\u2022 New engine order ($12,000, updated 20 days ago): https://acme.pipedrive.com/deal/42",
      "owner_email": "ana@example.com",
      "owner_first_name": "Ana",
      "owner_id": 7,
      "owner_name": "Ana Reyes",
      "total_display": "$12,000"
    }
  ],
  "count": 1,
  "deals": [
    {
      "currency": "USD",
      "days_since_update": 20,
      "id": 42,
      "link": "https://acme.pipedrive.com/deal/42",
      "next_activity_date": null,
      "next_activity_id": null,
      "owner_email": "ana@example.com",
      "owner_id": 7,
      "owner_name": "Ana Reyes",
      "status": "open",
      "title": "New engine order",
      "value": 12000,
      "value_display": "$12,000"
    }
  ],
  "has_more": false,
  "next_cursor": null,
  "text": "Ana Reyes (1 deal, $12,000)\n\u2022 New engine order ($12,000, updated 20 days ago): https://acme.pipedrive.com/deal/42",
  "total_value": 12000,
  "total_value_display": "$12,000"
}

List leads

List the leads in Pipedrive's Leads Inbox, newest first, or the archived ones.

Inputs

Archivedarchivedtrue/false
List the archived leads instead of the ones in the inbox.
Owner IDowner_idnumber
Only return leads owned by this Pipedrive user ID. Leave blank for all owners.
Person IDperson_idtext
Only list this person's leads. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
Only list this organization's leads. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Updated sinceupdated_sincedate and time
Only return leads changed at or after this moment. Leave blank for all of them.
Limitlimitnumber
How many leads to return in this page, from 1 to 500.From 1 to 500. Default: 100.
Cursorcursortext
Leave blank for the first page. To read the next one, pass the 'next_cursor' this action returned.

Outputs

countnumber
has_moretrue/false
leadslist
next_cursortext
Example output
{
  "count": 1,
  "has_more": false,
  "leads": [
    {
      "add_time": "2026-11-02T09:00:00.000Z",
      "creator_id": 1,
      "expected_close_date": "2026-12-31",
      "id": "adf21080-0e10-11eb-879b-05d71fb426ec",
      "is_archived": false,
      "label_ids": [],
      "organization_id": 2,
      "owner_id": 1,
      "person_id": 1,
      "source_name": "API",
      "title": "Acme: 50 licenses",
      "update_time": "2026-11-02T09:00:00.000Z",
      "value": {
        "amount": 5000,
        "currency": "USD"
      },
      "was_seen": false
    }
  ],
  "next_cursor": null
}

List notes

List notes, newest first: all of them, or those on one deal, person, organization or lead.

Inputs

Deal IDdeal_idtext
Only list this deal's notes. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Person IDperson_idtext
Only list this person's notes. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
Only list this organization's notes. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Lead IDlead_idtext
Only list this lead's notes, such as adf21080-0e10-11eb-879b-05d71fb426ec.
Updated sinceupdated_sincedate and time
Only return notes changed at or after this moment. Leave blank for all of them.
Sort bysort_bytext
Which field to order the results by.One of: add_time (Created), update_time (Last updated).
Sort directionsort_directiontext
Whether to order the results ascending or descending.One of: asc (Ascending), desc (Descending).
Limitlimitnumber
How many notes to return in this page, from 1 to 500.From 1 to 500. Default: 100.
Cursorcursortext
Leave blank for the first page. To read the next one, pass the 'next_cursor' this action returned.

Outputs

countnumber
has_moretrue/false
next_cursortext
noteslist
Example output
{
  "count": 1,
  "has_more": false,
  "next_cursor": null,
  "notes": [
    {
      "active_flag": true,
      "add_time": "2026-11-02 09:00:00",
      "content": "Called to confirm the order.",
      "deal": {
        "title": "New engine order"
      },
      "deal_id": 1,
      "id": 1,
      "lead_id": null,
      "org_id": null,
      "organization": {
        "name": ""
      },
      "person": {
        "name": ""
      },
      "person_id": null,
      "update_time": "2026-11-02 09:00:00",
      "user": {
        "email": "sam@example.com",
        "name": "Sam Ortiz"
      },
      "user_id": 1
    }
  ]
}

List organizations

List organizations in Pipedrive, one page at a time.

Inputs

Owner IDowner_idnumber
Only return organizations owned by this Pipedrive user ID. Leave blank for all owners.
Updated sinceupdated_sincedate and time
Only return organizations changed at or after this moment. Leave blank for all of them.
Sort bysort_bytext
Which field to order the results by.One of: id, update_time (Last updated), add_time (Created).
Sort directionsort_directiontext
Whether to order the results ascending or descending.One of: asc (Ascending), desc (Descending).
Limitlimitnumber
How many organizations to return in this page, from 1 to 500.From 1 to 500. Default: 100.
Cursorcursortext
Leave blank for the first page. To read the next one, pass the 'next_cursor' this action returned.

Outputs

countnumber
has_moretrue/false
next_cursortext
organizationslist
Example output
{
  "count": 1,
  "has_more": false,
  "next_cursor": null,
  "organizations": [
    {}
  ]
}

List persons

List people in Pipedrive, one page at a time, optionally narrowed to an organization or an owner.

Inputs

Organization IDorganization_idtext
Only return people at this organization. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Owner IDowner_idnumber
Only return people owned by this Pipedrive user ID. Leave blank for all owners.
Updated sinceupdated_sincedate and time
Only return people changed at or after this moment. Leave blank for all of them.
Sort bysort_bytext
Which field to order the results by.One of: id, update_time (Last updated), add_time (Created).
Sort directionsort_directiontext
Whether to order the results ascending or descending.One of: asc (Ascending), desc (Descending).
Limitlimitnumber
How many people to return in this page, from 1 to 500.From 1 to 500. Default: 100.
Cursorcursortext
Leave blank for the first page. To read the next one, pass the 'next_cursor' this action returned.

Outputs

countnumber
has_moretrue/false
next_cursortext
personslist
Example output
{
  "count": 1,
  "has_more": false,
  "next_cursor": null,
  "persons": [
    {}
  ]
}

List pipelines

List the account's pipelines. Use this to find the pipeline ID a deal should go into.

Inputs

Sort bysort_bytext
Which field to order the results by.One of: id, update_time (Last updated), add_time (Created).
Sort directionsort_directiontext
Whether to order the results ascending or descending.One of: asc (Ascending), desc (Descending).
Limitlimitnumber
How many pipelines to return in this page, from 1 to 500.From 1 to 500. Default: 100.
Cursorcursortext
Leave blank for the first page. To read the next one, pass the 'next_cursor' this action returned.

Outputs

countnumber
has_moretrue/false
next_cursortext
pipelineslist
Example output
{
  "count": 1,
  "has_more": false,
  "next_cursor": null,
  "pipelines": [
    {}
  ]
}

List products

List the products in your Pipedrive catalog, a page at a time.

Inputs

Owner IDowner_idnumber
Only return products owned by this Pipedrive user ID. Leave blank for all owners.
Updated sinceupdated_sincedate and time
Only return products changed at or after this moment. Leave blank for all of them.
Sort bysort_bytext
Which field to order the results by.One of: id, name, add_time (Created), update_time (Last updated).
Sort directionsort_directiontext
Whether to order the results ascending or descending.One of: asc (Ascending), desc (Descending).
Limitlimitnumber
How many products to return in this page, from 1 to 500.From 1 to 500. Default: 100.
Cursorcursortext
Leave blank for the first page. To read the next one, pass the 'next_cursor' this action returned.

Outputs

countnumber
has_moretrue/false
next_cursortext
productslist
Example output
{
  "count": 1,
  "has_more": false,
  "next_cursor": null,
  "products": [
    {
      "add_time": "2026-11-02T09:00:00Z",
      "category": null,
      "code": "AUD-1",
      "custom_fields": {},
      "description": "A full review of a website.",
      "id": 1,
      "is_deleted": false,
      "is_linkable": true,
      "name": "Website audit",
      "owner_id": 3,
      "prices": [
        {
          "cost": 100,
          "currency": "USD",
          "direct_cost": null,
          "notes": null,
          "price": 250,
          "product_id": 1
        }
      ],
      "tax": 20,
      "unit": "audit",
      "update_time": "2026-11-02T09:00:00Z"
    }
  ]
}

List stages

List the stages of one pipeline, or of every pipeline. Use this to find the stage ID to move a deal to.

Inputs

Pipelinepipeline_idtext
Only return the stages of this pipeline. Leave blank for every pipeline's stages.
Sort bysort_bytext
Which field to order the results by.One of: id, update_time (Last updated), add_time (Created), order_nr (Order in pipeline).
Sort directionsort_directiontext
Whether to order the results ascending or descending.One of: asc (Ascending), desc (Descending).
Limitlimitnumber
How many stages to return in this page, from 1 to 500.From 1 to 500. Default: 100.
Cursorcursortext
Leave blank for the first page. To read the next one, pass the 'next_cursor' this action returned.

Outputs

countnumber
has_moretrue/false
next_cursortext
stageslist
Example output
{
  "count": 1,
  "has_more": false,
  "next_cursor": null,
  "stages": [
    {}
  ]
}

Remove a product from a deal

Take a product off a deal. The product stays in your catalog.

Inputs

Deal IDdeal_idtextRequired
The deal the product is on. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Product on the dealproduct_attachment_idtextRequired
The product on the deal to take off. This is the 'id' that 'Add a product to a deal' or 'List a deal's products' gives for it, not the product's own ID.

Outputs

deal_idnumber
The deal it was taken off.
idnumber
The ID the product had on the deal.
removedtrue/false
True once it's off the deal.
Example output
{
  "deal_id": 1,
  "id": 3,
  "removed": true
}

Search deals

Find deals by words in their title, notes or custom fields, optionally only open, won or lost ones, or only a person's or organization's.

Inputs

Search termtermtextRequired
What to search for. Pipedrive needs at least two characters, or one when 'Exact match' is on.
Fieldsfieldslist
Which fields to search in. Choose none to search all of them.One or more of: title, notes, custom_fields (Custom fields).
Exact matchexact_matchtrue/false
Only return deals matching the whole term exactly. Not case sensitive.
Statusstatustext
Only deals that are open, won or lost. Leave blank for any.One of: open, won, lost.
Person IDperson_idtext
Only this person's deals. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
Only this organization's deals. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Limitlimitnumber
How many matches to return, from 1 to 100.From 1 to 100. Default: 100.

Outputs

countnumber
dealslist
has_moretrue/false
next_cursortext
Example output
{
  "count": 1,
  "deals": [
    {}
  ],
  "has_more": false,
  "next_cursor": null
}

Search organizations

Find organizations by name, address, notes or custom fields, to look a company up when you have its name rather than its ID.

Inputs

Search termtermtextRequired
What to search for. Pipedrive needs at least two characters, or one when 'Exact match' is on.
Fieldsfieldslist
Which fields to search in. Choose none to search all of them.One or more of: name, address, notes, custom_fields (Custom fields).
Exact matchexact_matchtrue/false
Only return organizations matching the whole term exactly. Not case sensitive.
Limitlimitnumber
How many matches to return, from 1 to 100.From 1 to 100. Default: 100.

Outputs

countnumber
has_moretrue/false
next_cursortext
organizationslist
Example output
{
  "count": 1,
  "has_more": false,
  "next_cursor": null,
  "organizations": [
    {}
  ]
}

Search persons

Find people by name, email, phone or notes. Use this to look someone up when you have their email rather than their ID.

Inputs

Search termtermtextRequired
What to search for. Pipedrive needs at least two characters, or one when 'Exact match' is on.
Fieldsfieldslist
Which fields to search in. Choose none to search all of them.One or more of: name, email, phone, notes, custom_fields (Custom fields).
Exact matchexact_matchtrue/false
Only return people matching the whole term exactly. Not case sensitive.
Organization IDorganization_idtext
Only return people at this organization. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Limitlimitnumber
How many matches to return in this page, from 1 to 500.From 1 to 500. Default: 100.

Outputs

countnumber
has_moretrue/false
next_cursortext
personslist
Example output
{
  "count": 1,
  "has_more": false,
  "next_cursor": null,
  "persons": [
    {}
  ]
}

Search products

Find products in your Pipedrive catalog by name or product code.

Inputs

TermtermtextRequired
What to look for, at least two letters (or one with 'Exact match' on).
Fieldsfieldslist
Which fields to look in. Leave blank for all of them.One or more of: name, code (Product code), custom_fields (Custom fields).
Exact matchexact_matchtrue/false
Only find products whose field matches the term exactly.
Limitlimitnumber
How many matches to return, from 1 to 100.From 1 to 100. Default: 100.

Outputs

countnumber
has_moretrue/false
next_cursortext
productslist
Example output
{
  "count": 1,
  "has_more": false,
  "next_cursor": null,
  "products": [
    {
      "code": "AUD-1",
      "custom_fields": {},
      "id": 1,
      "name": "Website audit",
      "owner": {
        "id": 1
      },
      "result_score": 0.87,
      "visible_to": 3
    }
  ]
}

Update a deal

Change a deal: move it to another stage, mark it won or lost, or edit its value. Fields left blank keep their current value.

Inputs

Deal IDdeal_idtextRequired
The deal to update. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Titletitletext
A new title for the deal.
Valuevaluenumber
A new value, in whole currency units (1500 means 1,500.00, not 15.00).
Currencycurrencytext
A new three-letter currency code for the value.
Stagestage_idtext
Move the deal to this stage.
Statusstatustext
Mark the deal open, won or lost. A lost reason can only be given alongside 'lost'.One of: open, won, lost.
Lost reasonlost_reasontext
Why the deal was lost. Pipedrive only accepts this when the status is being set to lost in the same step.
Expected close dateexpected_close_datedate
A new expected close date.
Probabilityprobabilitynumber
How likely the deal is to close, as a whole-number percentage from 0 to 100.From 0.0 to 100.0.
Person IDperson_idtext
Link the deal to this person. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
Link the deal to this organization. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the deal. Leave blank to use the user whose API token was used to connect Pipedrive.

Outputs

acvnumber
add_timetext
arrnumber
channelnumber
channel_idtext
close_timetext
currencytext
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
expected_close_datetext
idnumber
is_archivedtrue/false
is_deletedtrue/false
label_idslist
lost_reasontext
lost_timetext
mrrnumber
org_idnumber
origintext
origin_idtext
owner_idnumber
person_idnumber
pipeline_idnumber
probabilitynumber
source_lead_idtext
stage_change_timetext
stage_idnumber
statustext
titletext
update_timetext
valuenumber
visible_tonumber
won_timetext
Example output
{
  "id": 1,
  "title": "New engine order"
}

Update a file

Rename a file in Pipedrive, or change its description.

Inputs

File IDfile_idtextRequired
The file to change. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Namenametext
The name it should show in Pipedrive.
Descriptiondescriptiontext
A new description for it.

Outputs

active_flagtrue/false
False once it has been deleted.
activity_idnumber
The ID of its activity, if any.
add_timetext
When it was uploaded.
deal_idnumber
The ID of its deal, if any.
deal_nametext
Its deal's title.
descriptiontext
Its description.
file_nametext
The name it was uploaded with.
file_sizenumber
Its size in bytes.
idnumber
The file's ID.
lead_idtext
The ID of its lead, if any.
nametext
The name it shows in Pipedrive.
org_idnumber
The ID of its organization, if any.
org_nametext
Its organization's name.
person_idnumber
The ID of its person, if any.
person_nametext
Its person's name.
product_idnumber
The ID of its product, if any.
update_timetext
When it was last changed.
urltext
Pipedrive's link to download it, which needs a Pipedrive sign-in.
user_idnumber
The ID of the user who uploaded it.
Example output
{
  "active_flag": true,
  "activity_id": null,
  "add_time": "2026-11-02 09:00:00",
  "deal_id": 1,
  "deal_name": "New engine order",
  "description": null,
  "file_name": "signed-quote.pdf",
  "file_size": 48213,
  "id": 1,
  "lead_id": null,
  "name": "Signed quote.pdf",
  "org_id": null,
  "org_name": null,
  "person_id": null,
  "person_name": null,
  "product_id": null,
  "update_time": "2026-11-02 09:00:00",
  "url": "https://acme.pipedrive.com/api/v1/files/1/download",
  "user_id": 3
}

Update a lead

Change a lead in Pipedrive's Leads Inbox: its title, value, owner, person, organization or close date, or archive it. Fields left blank keep their current value.

Inputs

Lead IDlead_idtextRequired
The lead to change. A lead's ID looks like adf21080-0e10-11eb-879b-05d71fb426ec; pasting the lead's URL works too.
Titletitletext
A new title for the lead.
Person IDperson_idtext
Link the lead to this person instead. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
Link the lead to this organization instead. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Valuevaluenumber
What it could be worth, a plain number. Needs a currency too.
Currencycurrencytext
The value's currency, a three-letter code such as USD.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the lead from now on. Leave blank to keep its owner.
Expected close dateexpected_close_datedate
When a deal from it is expected to close.
Archivedarchivedtrue/false
Archive the lead, or bring it back from the archive. Leave blank to keep it as it is.

Outputs

add_timetext
creator_idnumber
expected_close_datetext
idtext
is_archivedtrue/false
label_idslist
organization_idnumber
owner_idnumber
person_idnumber
source_nametext
titletext
update_timetext
valueobject
was_seentrue/false
Example output
{
  "add_time": "2026-11-02T09:00:00.000Z",
  "creator_id": 1,
  "expected_close_date": "2026-12-31",
  "id": "adf21080-0e10-11eb-879b-05d71fb426ec",
  "is_archived": false,
  "label_ids": [],
  "organization_id": 2,
  "owner_id": 1,
  "person_id": 1,
  "source_name": "API",
  "title": "Acme: 50 licenses",
  "update_time": "2026-11-02T09:00:00.000Z",
  "value": {
    "amount": 5000,
    "currency": "USD"
  },
  "was_seen": false
}

Update a note

Change what a note says, or move it to another deal, person, organization or lead. Fields left blank keep their current value.

Inputs

Note IDnote_idtextRequired
The note to change. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Notecontenttext
What the note says from now on, replacing the old words. Basic HTML such as <b> and <br> is kept.
Deal IDdeal_idtext
Move the note to this deal. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Person IDperson_idtext
Move the note to this person. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
Move the note to this organization. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Lead IDlead_idtext
Move the note to this lead, such as adf21080-0e10-11eb-879b-05d71fb426ec.

Outputs

active_flagtrue/false
False once it has been deleted.
add_timetext
When it was written.
contenttext
What the note says, as basic HTML.
dealobject
deal_idnumber
The ID of its deal, if any.
idnumber
The note's ID.
lead_idtext
The ID of its lead, if any.
org_idnumber
The ID of its organization, if any.
organizationobject
personobject
person_idnumber
The ID of its person, if any.
update_timetext
When it was last changed.
userobject
user_idnumber
The ID of the user who wrote it.
Example output
{
  "active_flag": true,
  "add_time": "2026-11-02 09:00:00",
  "content": "Called to confirm the order.",
  "deal": {
    "title": "New engine order"
  },
  "deal_id": 1,
  "id": 1,
  "lead_id": null,
  "org_id": null,
  "organization": {
    "name": ""
  },
  "person": {
    "name": ""
  },
  "person_id": null,
  "update_time": "2026-11-02 09:00:00",
  "user": {
    "email": "sam@example.com",
    "name": "Sam Ortiz"
  },
  "user_id": 1
}

Update a person

Change a person's name, contact details, owner, labels or organization. Fields left blank keep their current value.

Inputs

Person IDperson_idtextRequired
The person to update. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Namenametext
A new full name for the person.
Emailemailtext
Replaces the person's email addresses. The first becomes their primary address.
Phonephonetext
Replaces the person's phone numbers. The first becomes their primary number.
Organization IDorganization_idtext
Move the person to this organization. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the person. Leave blank to use the user whose API token was used to connect Pipedrive.
Label IDslabel_idslist
The numeric IDs of the labels to put on the person. Pipedrive's labels are per-account, so their IDs come from the label's own settings screen.
Marketing statusmarketing_statustext
The person's marketing consent. Pipedrive allows each change of this only once.One of: no_consent (No consent), subscribed, unsubscribed, archived.

Outputs

add_timetext
birthdaytext
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
emailslist
first_nametext
idnumber
imlist
is_deletedtrue/false
job_titletext
label_idslist
last_nametext
marketing_statustext
nametext
notestext
org_idnumber
owner_idnumber
phoneslist
picture_idnumber
postal_addressobject
update_timetext
visible_tonumber
Example output
{
  "id": 1,
  "name": "Ada Lovelace"
}

Update a product

Change a product in your Pipedrive catalog: its name, code, unit, tax or price. Fields left blank keep their current value.

Inputs

Product IDproduct_idtextRequired
The product to change. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Namenametext
A new name for the product.
Codecodetext
The product's code or SKU, such as AUD-1.
Descriptiondescriptiontext
What the product is.
Unitunittext
The unit it's sold in, such as hours, boxes or licenses.
Taxtaxnumber
Its tax rate in percent, from 0 to 100, such as 20.From 0 to 100.
Pricepricenumber
What one sells for, a plain number such as 250. Needs a currency too. On an update it replaces the product's prices.
Currencycurrencytext
The price's currency, a three-letter code such as USD.
Costcostnumber
What one costs you, a plain number, in the price's currency.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the product. Leave blank for the user whose API token was used to connect Pipedrive, or to keep its owner.

Outputs

add_timetext
When it was added.
categorytext
Its category.
codetext
Its product code, if it has one.
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
descriptiontext
Its description.
idnumber
The product's ID.
is_deletedtrue/false
Whether it has been deleted.
is_linkabletrue/false
Whether it can be added to a deal.
nametext
The product's name.
owner_idnumber
The ID of the user who owns it.
priceslist
Its prices, one per currency.
taxnumber
Its tax rate, in percent.
unittext
The unit it's sold in, such as hours or boxes.
update_timetext
When it was last changed.
Example output
{
  "add_time": "2026-11-02T09:00:00Z",
  "category": null,
  "code": "AUD-1",
  "custom_fields": {},
  "description": "A full review of a website.",
  "id": 1,
  "is_deleted": false,
  "is_linkable": true,
  "name": "Website audit",
  "owner_id": 3,
  "prices": [
    {
      "cost": 100,
      "currency": "USD",
      "direct_cost": null,
      "notes": null,
      "price": 250,
      "product_id": 1
    }
  ],
  "tax": 20,
  "unit": "audit",
  "update_time": "2026-11-02T09:00:00Z"
}

Update a product on a deal

Change a product on a deal, such as its price, quantity or discount. Fields left blank keep their current value.

Inputs

Deal IDdeal_idtextRequired
The deal the product is on. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Product on the dealproduct_attachment_idtextRequired
The product on the deal to change. This is the 'id' that 'Add a product to a deal' or 'List a deal's products' gives for it, not the product's own ID.
Priceitem_pricenumber
The price of one, a plain number such as 250. Leave blank to keep it.
Quantityquantitynumber
How many, more than zero. Leave blank to keep it.
Discountdiscountnumber
A discount on the line: a percentage or an amount, as 'Discount type' says. Leave blank to keep it.
Discount typediscount_typetext
Whether the discount is a percentage or an amount.One of: percentage (Percent off), amount (Amount off).
Taxtaxnumber
The tax rate in percent, from 0 to 100. Leave blank to keep it.From 0 to 100.
Tax methodtax_methodtext
Whether tax is added on top of the price or included in it.One of: exclusive (Added on top of the price), inclusive (Included in the price), none (No tax).
Commentscommentstext
A comment on the line, such as what's included.

Outputs

add_timetext
When it was added to the deal.
commentstext
Comments on the line.
currencytext
The currency, such as USD.
deal_idnumber
The deal's ID.
discountnumber
The discount.
discount_typetext
percentage or amount.
idnumber
The ID of this product on the deal, for 'Update a product on a deal' and 'Remove a product from a deal'. Not the product's own ID.
is_enabledtrue/false
Whether it counts toward the deal's value.
item_pricenumber
The price of one.
nametext
The product's name.
order_nrnumber
Its place in the deal's list of products.
product_idnumber
The product's ID in the catalog.
quantitynumber
How many.
sumnumber
The line's total after discount and tax.
taxnumber
The tax rate, in percent.
tax_methodtext
exclusive, inclusive or none.
update_timetext
When it was last changed.
Example output
{
  "add_time": "2026-11-02T09:00:00Z",
  "comments": null,
  "currency": "USD",
  "deal_id": 1,
  "discount": 0,
  "discount_type": "percentage",
  "id": 3,
  "is_enabled": true,
  "item_price": 250,
  "name": "Website audit",
  "order_nr": 1,
  "product_id": 1,
  "quantity": 2,
  "sum": 500,
  "tax": 0,
  "tax_method": "inclusive",
  "update_time": "2026-11-02T09:00:00Z"
}

Update an activity

Change an activity: mark it done, reschedule it, or edit its subject, type or note. Fields left blank keep their current value.

Inputs

Activity IDactivity_idtextRequired
The activity to update. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Donedonetrue/false
Mark the activity as done, or as not done. Leave blank to keep it as it is.
Subjectsubjecttext
A new name for the activity.
Activity typeactivity_typetext
A new kind of activity, such as a call or meeting.
Due datedue_datedate
A new day the activity is due.
Due timedue_timetime
A new time of day the activity starts.
Durationdurationtime
A new length, as a length of time on the clock (01:30 means an hour and a half).
Notenotetext
A new note on the activity, replacing the old one.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the activity from now on. Leave blank to keep its owner.

Outputs

add_timetext
attendeeslist
busytrue/false
creator_user_idnumber
deal_idnumber
donetrue/false
due_datetext
due_timetext
durationtext
idnumber
is_deletedtrue/false
lead_idtext
locationobject
marked_as_done_timetext
notetext
org_idnumber
owner_idnumber
participantslist
person_idnumber
prioritynumber
project_idnumber
public_descriptiontext
subjecttext
typetext
update_timetext
Example output
{
  "done": true,
  "id": 1,
  "subject": "Intro call"
}

Update an organization

Change an organization's name, address, website, owner or labels. Fields left blank keep their current value.

Inputs

Organization IDorganization_idtextRequired
The organization to update. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Namenametext
A new name for the organization.
Addressaddresstext
A new address, as one line.
Websitewebsitetext
A new website URL.
Owner IDowner_idnumber
The numeric ID of the Pipedrive user who should own the organization. Leave blank to use the user whose API token was used to connect Pipedrive.
Label IDslabel_idslist
The numeric IDs of the labels to put on the organization. Pipedrive's labels are per-account, so their IDs come from the label's own settings screen.

Outputs

add_timetext
addressobject
annual_revenuenumber
custom_fieldsobject
The account's custom fields, keyed by Pipedrive's 40-character field hash rather than by name.
employee_countnumber
idnumber
industrynumber
is_deletedtrue/false
label_idslist
linkedintext
nametext
owner_idnumber
update_timetext
visible_tonumber
websitetext
Example output
{
  "id": 1,
  "name": "Analytical Engines Ltd"
}

Upload a file

Upload a file to Pipedrive and attach it to a deal, person, organization, product, activity or lead, such as a signed quote or a contract.

Inputs

FilefiletextRequired
The file: upload one, pick one an earlier step made, or paste a public link to one.
Deal IDdeal_idtext
The deal to attach it to. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Person IDperson_idtext
The person to attach it to. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Organization IDorganization_idtext
The organization to attach it to. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Product IDproduct_idtext
The product to attach it to. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Activity IDactivity_idtext
The activity to attach it to. The numeric Pipedrive ID. Pasting the record's URL works too; the ID is read out of it.
Lead IDlead_idtext
The lead to attach it to, such as adf21080-0e10-11eb-879b-05d71fb426ec. Fill in at least one of these.

Outputs

active_flagtrue/false
False once it has been deleted.
activity_idnumber
The ID of its activity, if any.
add_timetext
When it was uploaded.
deal_idnumber
The ID of its deal, if any.
deal_nametext
Its deal's title.
descriptiontext
Its description.
file_nametext
The name it was uploaded with.
file_sizenumber
Its size in bytes.
idnumber
The file's ID.
lead_idtext
The ID of its lead, if any.
nametext
The name it shows in Pipedrive.
org_idnumber
The ID of its organization, if any.
org_nametext
Its organization's name.
person_idnumber
The ID of its person, if any.
person_nametext
Its person's name.
product_idnumber
The ID of its product, if any.
update_timetext
When it was last changed.
urltext
Pipedrive's link to download it, which needs a Pipedrive sign-in.
user_idnumber
The ID of the user who uploaded it.
Example output
{
  "active_flag": true,
  "activity_id": null,
  "add_time": "2026-11-02 09:00:00",
  "deal_id": 1,
  "deal_name": "New engine order",
  "description": null,
  "file_name": "signed-quote.pdf",
  "file_size": 48213,
  "id": 1,
  "lead_id": null,
  "name": "Signed quote.pdf",
  "org_id": null,
  "org_name": null,
  "person_id": null,
  "person_name": null,
  "product_id": null,
  "update_time": "2026-11-02 09:00:00",
  "url": "https://acme.pipedrive.com/api/v1/files/1/download",
  "user_id": 3
}

On this page