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 Note Target Duplicates" operation for the "Note Targets" resource is designed to identify duplicate note targets based on provided criteria. This node is useful in scenarios where you need to clean up or manage data by detecting repeated entries of note targets, which can help maintain data integrity and avoid redundancy.
For example, if you have a list of note targets and want to find duplicates before importing or processing them further, this operation will return those duplicates according to the specified parameters.
Properties
| Name | Meaning |
|---|---|
| Depth | Determines how much related nested information to include in the response: - 0: Only the primary note target object. - 1: The primary object plus its directly related objects (no further nesting). - 2: The primary object, its related objects, and their related objects as well. |
| Data | JSON array representing the data used to find duplicates. This typically contains the note target objects or criteria against which duplicates are searched. |
| Ids | JSON array of IDs to be considered when finding duplicates. This can limit the search scope to specific note target IDs. |
Output
The output json field contains the results of the duplicate search. It includes the note target objects identified as duplicates along with their related data depending on the selected depth level. The structure reflects the original note target data enriched with nested related objects as per the depth setting.
If binary data were involved, it would represent associated files or attachments linked to the note targets, 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 uses the Twenty API's endpoint configured via credentials, including a domain URL and authentication headers.
- No additional environment variables are explicitly required beyond standard API credential configuration.
Troubleshooting
- Invalid JSON in Data or Ids: Since the
dataandidsproperties expect JSON input, malformed JSON will cause errors. Ensure that these inputs are valid JSON arrays. - Authentication Errors: If the API key or domain is incorrect or missing, the node will fail to connect. Verify that the API credentials are correctly set up.
- Depth Parameter Misuse: Setting an unsupported depth value outside 0, 1, or 2 may lead to unexpected responses or errors. Use only the provided options.
- Empty Results: If no duplicates are found, the output will be empty. Confirm that the input data actually contains potential duplicates.
Links and References
- Twenty API Documentation — Official API docs for more details on endpoints and data structures.
- n8n Documentation — For general guidance on using n8n nodes and handling JSON inputs.