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 "Find Favorite Duplicates" operation in the Favorites resource is designed to identify duplicate favorite entries based on provided data or IDs. This node is useful when you want to clean up or analyze your favorites by detecting repeated items, which can help maintain data integrity or optimize storage.
Typical use cases include:
- Detecting duplicate bookmarks or saved items in a user's favorites list.
- Cleaning up redundant entries before syncing or exporting favorites.
- Analyzing patterns of duplication for user behavior insights.
Properties
| Name | Meaning |
|---|---|
| Depth | Determines how deeply nested related objects are included in the response: - 0: Only the primary favorite object. - 1: Primary object plus directly related objects. - 2: Primary object, its related objects, and their related objects. |
| Data | JSON array representing the favorite data objects to check for duplicates. The input should be a valid JSON string that parses into an array of objects. |
| Ids | JSON array of favorite IDs to check for duplicates. The input should be a valid JSON string that parses into an array of IDs (or null values). |
Output
The output json field contains the results of the duplicate search. It includes information about the favorite entries identified as duplicates according to the input criteria. The structure will reflect the depth level specified, including nested related objects if requested.
If binary data were involved, it would typically represent attachments or media related to favorites, but this operation focuses on JSON data only.
Dependencies
- Requires an API key credential to authenticate requests to the external Twenty API service.
- The node sends HTTP requests with JSON payloads and expects JSON responses.
- No additional environment variables are explicitly required beyond standard API authentication setup.
Troubleshooting
- Invalid JSON Input: If the
DataorIdsproperties contain malformed JSON, the node will fail to parse them. Ensure the JSON strings are correctly formatted. - Authentication Errors: Missing or incorrect API credentials will cause authentication failures. Verify that the API key or token is correctly configured.
- Depth Parameter Misuse: Setting an unsupported depth value may result in incomplete or unexpected data. Use only 0, 1, or 2 as allowed.
- Empty or Null Inputs: Providing empty arrays or null values might return no results or errors. Make sure to provide meaningful data or IDs for duplicate detection.
Links and References
- Twenty API Documentation — Official API docs for understanding the data structures and endpoints.
- n8n HTTP Request Node — For general info on how n8n handles HTTP requests and JSON data.