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 Channel Message Association" object in the connected service. It allows you to modify details about the association between messages and message channels, such as changing message identifiers, direction, or related thread information.
Common scenarios for this node include:
- Correcting or updating message metadata after initial creation.
- Synchronizing message associations when external messaging provider data changes.
- Adjusting message direction or linking messages to different channels or threads.
For example, if a message was initially linked to the wrong channel or has an incorrect external ID, this node can update those fields to maintain accurate records.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the message channel message association object to update. This is required to specify which record to modify. |
| Depth | Determines how much nested related object data to return in the response: - 0: Only the primary object's info. - 1: Primary object plus directly related objects. - 2: Includes related objects of related objects. |
| Message External Id | The message ID as provided by the external messaging provider. Useful for syncing or referencing the original message source. |
| Message Channel Id | Identifier of the message channel associated with the message. |
| Message Id | Internal or system-specific message identifier. |
| Direction | The direction of the message relative to the system: either INCOMING or OUTGOING. |
| Message Thread External Id | The thread ID from the external messaging provider, indicating the conversation thread the message belongs to. |
Output
The node outputs the updated "Message Channel Message Association" object in JSON format. The output includes the updated fields and, depending on the Depth property, may also include nested related objects up to two levels deep.
No binary data output is involved in this operation.
Dependencies
- Requires an API key or authentication token configured in the node credentials to access the Twenty API.
- The base URL and headers are set according to the credential domain and standard JSON content types.
- The node depends on the external Twenty API service to perform the update operation.
Troubleshooting
- Missing or invalid Id: Since the
Idproperty is required, omitting it or providing an incorrect value will cause the update to fail. Ensure the correct object ID is supplied. - Invalid field values: Providing invalid values for properties like
Direction(anything other thanINCOMINGorOUTGOING) may result in errors. - API authentication errors: If the API key or credentials are missing or invalid, the request will be rejected. Verify that credentials are correctly configured.
- Network or service errors: Temporary network issues or downtime of the external API can cause failures. Retrying later or checking service status may help.
- Depth parameter misuse: Setting an unsupported depth level might lead to unexpected responses or errors; use only 0, 1, or 2.
Links and References
- Twenty API Documentation (general reference for the API endpoints and data models)
- n8n documentation on Creating Custom Nodes