FlowmageDocs

Search

BetaReads data

Finds Pipedrive records by a search term across one or all item types.

Settings

SettingWhat it is
ConnectionRequiredThe Pipedrive connection the step signs in with.
Search in"all" or "deals" or "persons" or "organizations" or "leads" or "products"
Search termRequiredAt least two characters, or one when Exact match is on. Search costs twenty to forty tokens of the daily budget and is capped at ten calls every two seconds on every plan.
Fields to searchComma-separated. People take custom_fields, email, name, notes, phone; deals take custom_fields, notes, title; organizations take address, custom_fields, name, notes. Leave empty for Pipedrive's own default.
Exact matchOnly whole-value matches, and then one character is enough.
Only for person idtext
Only for organization idtext
Only deals that are"" or "open" or "won" or "lost"
Include related recordsAdds the deals and organizations a matching person is attached to.
Extra fieldsComma-separated. Fields Pipedrive leaves out of a result unless you ask.
Results per call1 to 500.
Start afterA cursor from an earlier run of this node.
Fetch every pageFollows Pipedrive's cursor, and refuses past 5,000 results rather than answering a short list.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `pipedrive`)
scope"all" or "deals" or "persons" or "organizations" or "leads" or "products", by default "persons"
termtextits `{{ }}` must give a string
fieldstext
exactMatchtrue/false, by default false
personIdtextits `{{ }}` must give a string; used when `scope` is "deals"
organizationIdtextits `{{ }}` must give a string; used when `scope` is one of "deals", "persons"
status"" or "open" or "won" or "lost"used when `scope` is "deals"
searchForRelatedItemstrue/false, by default falseused when `scope` is "all"
includeFieldstext
limitnumber, by default 100
cursortext
returnAlltrue/false, by default false

Output

FieldType
itemsMatchesarray
itemCountMatches in this answernumber
hasMoreMore matches are waiting behind this pageboolean
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • hasMorefalse
  • itemCount0
  • items[]
  • nextCursor""

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "cursor": "",
    "exactMatch": false,
    "fields": "",
    "includeFields": "",
    "limit": 100,
    "organizationId": "",
    "personId": "",
    "returnAll": false,
    "scope": "persons",
    "searchForRelatedItems": false,
    "status": "",
    "term": "<search term>"
  },
  "label": "Search",
  "type": "pipedrive.search",
  "version": 1
}