I am trying to add a Person in PipeDrive - so far am able to add the following:
First Name ising first_name as the Propery Name
Last Name ising lastt_name as the Propery Name
I have a custom field called Note but I get the following error if I try to use it:
ERROR: Pipedrive error response [400]: undefined - Please check developers.pipedrive.com for more information about Pipedrive API.
Error: Pipedrive error response [400]: undefined - Please check developers.pipedrive.com for more information about Pipedrive API.
at Object.pipedriveApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Pipedrive/GenericFunctions.js:64:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Pipedrive/Pipedrive.node.js:2607:32)
at async /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/src/WorkflowExecute.js:416:47
Data from the Person is:
{
"company_id": 7931484,
"related_open_deals_count": 0,
"related_closed_deals_count": 0,
"participant_open_deals_count": 0,
"participant_closed_deals_count": 0,
"files_count": 0,
"notes_count": 0,
"followers_count": 1,
"related_won_deals_count": 0,
"related_lost_deals_count": 0,
"active_flag": true,
"first_char": "w",
"next_activity_time": null,
"next_activity_id": null,
"last_activity_id": null,
"org_name": null,
"owner_name": "Sean Kennedy",
"cc_email": "[email protected]",
"ID": 6,
"Owner": {
"id": 12185721,
"name": "Sean Kennedy",
"email": "[email protected]",
"has_pic": 0,
"pic_hash": null,
"active_flag": true,
"value": 12185721
},
"Organization": null,
"Name": "wegrewgk JLKJLKJLK",
"First name": "wegrewgk",
"Last name": "JLKJLKJLK",
"Open deals": 0,
"Closed deals": 0,
"Email messages count": 0,
"Total activities": 0,
"Done activities": 0,
"Activities to do": 0,
"Won deals": 0,
"Lost deals": 0,
"Phone": [
{
"value": "",
"primary": true
}
],
"Email": [
{
"label": "",
"value": "[email protected]",
"primary": true
}
],
"Update time": "2021-05-11 08:17:49",
"Person created": "2021-05-10 15:22:17",
"Visible to": "entire company",
"Profile picture": null,
"Next activity date": null,
"Last activity date": null,
"Last email received": null,
"Last email sent": null,
"Label": "Warm lead",
"Note": "This is a note"
}
I’m trying to add the last field: “Note”: “This is a note”
Many thanks!