Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Pipedrive connection the step signs in with. |
| Owner id | The List users node gives you the id. |
| Person id | text |
| Organization id | text |
| Saved filter id | A filter you saved in Pipedrive. |
| Archived | "" or "archived" or "not_archived" or "all" |
| Sort by | A field name, with a leading minus for newest first. |
| Leads per call | 1 to 500. A lead list costs twenty tokens of the daily budget per call. |
| Skip | How many leads to skip. This is offset paging, not a cursor. |
| Fetch every page | Walks Pipedrive's offset paging, and refuses past 5,000 leads rather than answering a short list. |
| Cursor | Paste a previous run's Next cursor to read the page after it. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `pipedrive`) |
ownerId | textits `{{ }}` must give a string |
personId | textits `{{ }}` must give a string |
organizationId | textits `{{ }}` must give a string |
filterId | textits `{{ }}` must give a string |
archivedStatus | "" or "archived" or "not_archived" or "all" |
sort | text |
limit | number, by default 100 |
start | number, by default 0 |
returnAll | true/false, by default false |
cursor | text |
Output
| Field | Type |
|---|---|
leads | array |
leadCountLeads in this answer | number |
hasMoreMore leads are waiting behind this page | boolean |
nextStartWhere the next page starts | number |
nextCursorCursor for the next page | string |
Sample output, and the expression for each field
- hasMorefalse
- leadCount0
- leads[]
- nextStart0
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": {
"archivedStatus": "",
"connection": "<connection id>",
"cursor": "",
"filterId": "",
"limit": 100,
"organizationId": "",
"ownerId": "",
"personId": "",
"returnAll": false,
"sort": "",
"start": 0
},
"label": "List leads",
"type": "pipedrive.listLeads",
"version": 2
}Older versions
A flow that already has this version keeps running it. A new step always gets the newest.
Version 1
| Setting | What it is |
|---|---|
| ConnectionRequired | The Pipedrive connection the step signs in with. |
| Owner id | The List users node gives you the id. |
| Person id | text |
| Organization id | text |
| Saved filter id | A filter you saved in Pipedrive. |
| Archived | "" or "archived" or "not_archived" or "all" |
| Sort by | A field name, with a leading minus for newest first. |
| Leads per call | 1 to 500. A lead list costs twenty tokens of the daily budget per call. |
| Skip | How many leads to skip. This is offset paging, not a cursor. |
| Fetch every page | Walks Pipedrive's offset paging, and refuses past 5,000 leads rather than answering a short list. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `pipedrive`) |
ownerId | textits `{{ }}` must give a string |
personId | textits `{{ }}` must give a string |
organizationId | textits `{{ }}` must give a string |
filterId | textits `{{ }}` must give a string |
archivedStatus | "" or "archived" or "not_archived" or "all" |
sort | text |
limit | number, by default 100 |
start | number, by default 0 |
returnAll | true/false, by default false |