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, Find Favorite Folder Duplicates, is designed to identify duplicate favorite folders based on specified criteria. It allows users to submit data representing favorite folders and returns information about duplicates found according to the input parameters.
Common scenarios where this node would be beneficial include:
- Cleaning up a user's favorite folders by detecting and managing duplicates.
- Synchronizing or merging folder structures where duplicates might cause conflicts.
- Auditing folder collections to maintain organization and avoid redundancy.
For example, a user could provide a list of favorite folder names and request the node to find any duplicates among them, optionally including related nested objects up to a certain depth.
Properties
| Name | Meaning |
|---|---|
| Depth | Determines how much related nested information to include in the response: - 0: Only the primary favorite folder object.- 1: The primary object plus its directly related objects (no further nesting).- 2: The primary object, its directly related objects, and their related objects. |
| Data | JSON array describing the favorite folder data to check for duplicates. Typically includes folder attributes such as the folder name. Example: [{"name": "Favorite Folder name"}]. |
| Ids | JSON array of folder IDs to consider when finding duplicates. Can be used to limit the search scope to specific folders. Example: [null] if no specific IDs are provided. |
Output
The output is a JSON object containing information about the detected duplicate favorite folders. The structure reflects the requested depth level, including nested related objects if applicable.
- The
jsonfield contains the duplicate folder data matching the input criteria. - If the node supports binary data output (not indicated here), it would typically represent associated files or media linked to the folders, but this node focuses on JSON data only.
Dependencies
- Requires an API key credential to authenticate requests to the external Twenty API service.
- The node uses the Twenty API's endpoint configured via credentials, with base URL and headers preset for JSON communication.
- No additional environment variables are explicitly required beyond the API authentication setup.
Troubleshooting
- Invalid JSON Input: Since
DataandIdsproperties expect JSON strings, malformed JSON will cause errors. Ensure valid JSON formatting. - Authentication Errors: Missing or incorrect API credentials will result in authorization failures. Verify that the API key credential is correctly configured.
- Empty or Null Inputs: Providing empty arrays or null values may lead to no results or unexpected behavior. Confirm that meaningful data is supplied.
- Depth Misconfiguration: Setting an unsupported depth value outside 0, 1, or 2 may cause the API to reject the request or return incomplete data.
Links and References
- Twenty API Documentation — Official API docs for understanding endpoints and data models.
- n8n Documentation — General guidance on creating and using custom nodes and credentials.