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 folder in the connected service. It allows users to modify properties of an existing message folder by specifying its unique identifier and providing new values for fields such as the folder name, associated message channel, and sync cursor. This is useful in scenarios where you want to organize or rename message folders dynamically within workflows, for example, updating folder names based on external triggers or syncing folder states.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the message folder to update. This is required to specify which folder will be modified. |
| Depth | Determines how much related nested data to include in the response: - 0: Only the primary message folder object. - 1: The folder plus its directly related objects. - 2: Folder, its related objects, and their related objects. |
| Message Channel Id | The ID of the message channel associated with this folder. |
| Name | The new name to assign to the message folder. |
| Sync Cursor | A string used for synchronization purposes, likely to track the state or version of the folder for syncing changes. |
Output
The node outputs JSON data representing the updated message folder object. Depending on the Depth property, this JSON may include nested related objects up to two levels deep. The output reflects the current state of the folder after the update operation.
There is no indication that the node outputs binary data.
Dependencies
- Requires an API key credential to authenticate requests to the Twenty API.
- The base URL for API requests is configured from the user's credentials.
- The node uses standard HTTP headers for JSON content type and accepts JSON responses.
Troubleshooting
- Missing or invalid Id: If the
Idproperty is not provided or incorrect, the update will fail because the target folder cannot be identified. - Invalid Depth value: Providing a depth outside the allowed range (0, 1, 2) might cause unexpected results or errors.
- API authentication errors: Ensure the API key credential is correctly set up and has permissions to update message folders.
- Network or connectivity issues: Failures in reaching the API endpoint will prevent updates; verify network access and base URL configuration.
- Invalid field values: For example, setting an empty or invalid folder name might cause the API to reject the update.
Links and References
- Twenty API Documentation (Assumed official API docs for reference)
- n8n documentation on creating custom nodes