Actions252
- Api Keys Actions
- Attachments Actions
- Blocklists Actions
- Calendar Channel Event Associations Actions
- Find Many Calendar Channel Event Associations
- Create One Calendar Channel Event Association
- Create Many Calendar Channel Event Associations
- Find One Calendar Channel Event Association
- Delete One Calendar Channel Event Association
- Update One Calendar Channel Event Association
- Find Calendar Channel Event Association Duplicates
- Companies Actions
- Calendar Channels Actions
- Calendar Event Participants Actions
- Calendar Events Actions
- Connected Accounts Actions
- Favorite Folders Actions
- Favorites Actions
- Message Channel Message Associations Actions
- Find Many Message Channel Message Associations
- Create One Message Channel Message Association
- Create Many Message Channel Message Associations
- Find One Message Channel Message Association
- Delete One Message Channel Message Association
- Update One Message Channel Message Association
- Find Message Channel Message Association Duplicates
- Message Channels Actions
- Message Folders Actions
- View Fields Actions
- Message Participants Actions
- Messages Actions
- Message Threads Actions
- Notes Actions
- Note Targets Actions
- Opportunities Actions
- People Actions
- Tasks Actions
- Task Targets Actions
- Timeline Activities Actions
- View Filter Groups Actions
- View Filters Actions
- View Groups Actions
- Views Actions
- View Sorts Actions
- Webhooks Actions
- Workflow Automated Triggers Actions
- Workflow Runs Actions
- Workflows Actions
- Workflow Versions Actions
- Workspace Members Actions
Overview
This node updates a single person record in the "People" resource of the connected service. It allows you to modify various attributes of a contact, such as their name, company association, position, contact details, and social media links. This operation is useful for keeping your contact database up-to-date with the latest information.
Practical examples:
- Updating a person's job title after a promotion.
- Changing the avatar URL when a new profile picture is available.
- Adding or modifying phone numbers or email addresses.
- Linking updated social media accounts like Twitter (X) or LinkedIn.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the person object to update. |
| Depth | Determines how much related nested data to include in the response: 0 (only primary object), 1 (primary plus directly related objects), or 2 (primary, directly related, and their related objects). |
| Name | JSON object representing the contact’s name details. |
| Company Id | Identifier of the company associated with the person. |
| Created By | JSON object describing the creator of the record. |
| Position | Numeric value indicating the person's position record order. |
| Avatar Url | URL string pointing to the contact’s avatar image. |
| City | The city where the contact is located. |
| Phones | JSON object containing the contact’s phone numbers, including additional phones. |
| Job Title | The contact’s job title as a string. |
| X Link | JSON object representing the contact’s Twitter (X) account details. |
| Linkedin Link | JSON object representing the contact’s LinkedIn account details. |
| Emails | JSON object containing the contact’s email addresses, including additional emails. |
Output
The node outputs a JSON object representing the updated person record. The structure includes all fields of the person, potentially enriched with nested related objects depending on the Depth parameter. This output reflects the current state of the person after the update operation.
No binary data output is involved.
Dependencies
- Requires an API key credential to authenticate requests to the external Twenty API service.
- The base URL for the API is configured via credentials.
- The node uses standard HTTP headers for JSON content type.
Troubleshooting
- Invalid Id error: If the provided Id does not correspond to any existing person, the API will likely return an error. Verify that the Id is correct.
- Malformed JSON input: Properties like
Name,Phones,Emails,Created By,X Link, andLinkedin Linkexpect valid JSON strings. Invalid JSON will cause parsing errors. - Permission issues: Ensure the API key has sufficient permissions to update person records.
- Network or authentication failures: Check API credentials and network connectivity if requests fail.
Links and References
- Twenty API Documentation (example placeholder link; replace with actual documentation)
- n8n documentation on Creating Custom Nodes