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 operation updates a single message participant in a messaging system. It allows modifying details such as the participant's display name, role (e.g., sender or recipient), and associated identifiers like workspace member ID or person ID. This is useful in scenarios where you need to correct or change participant information after a message has been created, for example updating the display name or changing the participant’s role from "To" to "Cc".
Practical examples:
- Correcting a typo in a participant’s display name.
- Changing the role of a participant from "To" to "Cc" to reflect actual message recipients.
- Associating a participant with a different workspace member or person ID.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the message participant 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, 2 = primary plus related objects and their related objects. |
| Display Name | The display name of the message participant, e.g., the name shown in the message UI. |
| Handle | The handle or username of the participant. |
| Role | The participant’s role in the message. Options are: From (sender), To (primary recipient), Cc (carbon copy recipient), Bcc (blind carbon copy recipient). |
| Workspace Member Id | Identifier linking the participant to a specific workspace member. |
| Person Id | Identifier linking the participant to a specific person entity. |
| Message Id | Identifier of the message to which this participant belongs. |
Output
The output JSON contains the updated message participant object. Depending on the depth parameter, it may include nested related objects up to two levels deep. The structure typically includes fields reflecting the updated properties such as displayName, handle, role, and linked IDs (workspaceMemberId, personId, messageId). No binary data output is indicated.
Dependencies
- Requires an API key credential to authenticate requests to the external Twenty API service.
- The node uses the base URL configured via credentials.
- The operation sends HTTP requests with JSON bodies and expects JSON responses.
Troubleshooting
- Missing or invalid Id: If the
idproperty is not provided or incorrect, the update will fail because the target participant cannot be identified. - Invalid role value: Providing a role outside the allowed options ("from", "to", "cc", "bcc") will cause errors.
- API authentication errors: Ensure that the API key credential is correctly set up and has permissions to update message participants.
- Depth parameter misuse: Setting an unsupported depth value might result in unexpected response structures or errors.
- Network or API errors: Check connectivity and API status if requests fail.
Links and References
- Twenty API Documentation (assumed based on the node name)
- n8n documentation on creating custom nodes