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
The node operation "Find Message Folder Duplicates" is designed to identify duplicate message folders based on specified criteria. It allows users to specify the depth of related objects to include in the response and provide data or IDs to search for duplicates. This operation is useful in scenarios where managing message folders efficiently is critical, such as cleaning up redundant folders in messaging systems or organizing folder structures by detecting duplicates.
Practical examples:
- A user wants to find all message folders that have the same name or attributes to merge or delete duplicates.
- An administrator needs to audit message folders and ensure no redundant folders exist within a system.
Properties
| Name | Meaning |
|---|---|
| Depth | Determines the level of nested related objects to include in the response: - 0: Returns only the primary object's information. - 1: Returns the primary object along with its directly related objects. - 2: Returns the primary object, its directly related objects, and their related objects. |
| Data | JSON array specifying the criteria for finding duplicates. Typically includes fields like "name" to match message folder names. Example: [{"name": "Message Folder name"}]. |
| Ids | JSON array of IDs to limit the search for duplicates to specific message folders. Example: [null] by default, which means no specific IDs are targeted unless provided. |
Output
The output contains a JSON structure representing the found duplicate message folders according to the specified criteria and depth. The JSON will include the primary message folder objects and, depending on the depth setting, their related objects up to two levels deep.
If binary data were involved (not indicated here), it would typically represent attachments or media associated with message folders, but this operation focuses on JSON data about folders.
Dependencies
- Requires an API key credential to authenticate requests to the external Twenty API service.
- The node uses the Twenty API base URL configured via credentials.
- No additional environment variables are explicitly required beyond standard API authentication setup.
Troubleshooting
Common issues:
- Invalid JSON format in the "Data" or "Ids" properties can cause request failures. Ensure valid JSON syntax.
- Incorrect or missing API credentials will result in authentication errors.
- Setting an unsupported depth value outside 0, 1, or 2 may lead to unexpected responses or errors.
Error messages:
- Authentication errors indicate invalid or missing API keys; verify credentials configuration.
- JSON parsing errors suggest malformed input in "Data" or "Ids"; validate JSON before execution.
- API response errors might occur if the specified IDs do not exist or if the API rate limits are exceeded.
Links and References
- Twenty API Documentation (general reference for the underlying API)
- n8n documentation on working with JSON parameters