Update person
BetaChanges data
Changes a person in Pipedrive — their name, owner, contact details or labels.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Pipedrive connection the step signs in with. |
| Person idRequired | text |
| Name | text |
| Owner id | The List users node gives you the id. Leave at 0 for the token's own user. |
| Organization id | number |
| E-mail addresses | One row per address. These rows are typed in, not taken from an earlier node — use the advanced E-mail addresses (whole list) field for that. |
| Phone numbers | One row per number. |
| E-mail addresses (whole list) | A list of { value, label, primary } objects from an earlier node. When it is filled, the rows above are ignored. |
| Phone numbers (whole list) | Same shape as the e-mail list. When it is filled, the rows above are ignored. |
| Visible to | Pipedrive's own visibility number. Leave empty for the company's default. |
| Label ids | Comma-separated. Labels are ids in v2, not words. |
| Custom fields | Keys are the 40-character field code from the List field definitions node. A postal address, birthday or job title needs contact sync switched on for the company, and Pipedrive refuses them otherwise — reach those with an HTTP Request node. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `pipedrive`) |
personId | textits `{{ }}` must give a string |
name | textits `{{ }}` must give a string |
ownerId | number, by default 0 |
orgId | number, by default 0 |
emails | list of {value?: text, label?: "work" or "home" or "mobile" or "other", primary?: "true" or "false"}, by default [] |
phones | list of {value?: text, label?: "work" or "home" or "mobile" or "other", primary?: "true" or "false"}, by default [] |
emailsJson | any JSONits `{{ }}` must give an array |
phonesJson | any JSONits `{{ }}` must give an array |
visibleTo | text |
labelIds | text |
customFields | object (any keys), by default {} |
Output
| Field | Type |
|---|---|
personId | string |
person | object |
Sample output, and the expression for each field
- person
- id1
- personId"1"
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>",
"customFields": {},
"emails": [],
"emailsJson": "<e-mail addresses (whole list)>",
"labelIds": "",
"name": "",
"orgId": 0,
"ownerId": 0,
"personId": "<person id>",
"phones": [],
"visibleTo": ""
},
"label": "Update person",
"type": "pipedrive.updatePerson",
"version": 1
}