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 favorite folder in the TwentyDEV service. It allows users to modify properties such as the folder's name, position, and the depth of related objects included in the response. This is useful for organizing or reordering favorite folders programmatically within workflows, for example, updating folder names based on external input or adjusting their order dynamically.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the favorite folder to update. |
| Depth | Determines how much nested related object information to include in the response: 0 (only primary), 1 (primary + directly related), or 2 (primary + directly related + their related). |
| Position | Numeric value representing the position/order of the favorite folder. |
| Name | The new name to assign to the favorite folder. |
Output
The output JSON contains the updated favorite folder object with its properties reflecting the changes made. Depending on the Depth parameter, the response may include nested related objects up to two levels deep. There is no indication that binary data is returned by this operation.
Dependencies
- Requires an API key credential for authenticating with the TwentyDEV API.
- The base URL for API requests is configured via credentials.
- The node uses standard HTTP headers for JSON content type.
Troubleshooting
- Invalid Id: If the provided folder Id does not exist, the API will likely return an error indicating the resource was not found. Verify the Id before running the node.
- Permission Errors: Insufficient permissions or invalid API credentials can cause authorization errors. Ensure the API key has rights to update favorite folders.
- Invalid Property Values: Providing invalid values for
Position(e.g., negative numbers) orDepthoutside the allowed range (0,1,2) may cause request failures. - Empty Required Fields: The
Idproperty is required; omitting it will prevent the node from executing properly.
Links and References
- TwentyDEV API Documentation (for detailed API behavior and schema)
- n8n documentation on HTTP Request Node for understanding API interaction patterns