TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

The "Find Note Duplicates" operation in the Notes resource is designed to identify duplicate notes based on provided data or note IDs. This node is useful when you want to detect and handle duplicate content within a collection of notes, such as cleaning up redundant entries or merging duplicates. For example, it can be used in workflows that manage knowledge bases, customer support tickets, or any system where notes are frequently created and duplicates need to be identified automatically.

Properties

Name Meaning
Depth Determines how much related information is included in the response:
- 0: Only the primary note's information.
- 1: The primary note plus its directly related objects.
- 2: The primary note, its related objects, and their related objects.
Data JSON array representing the note data to check for duplicates. This should contain the note objects or relevant fields to be analyzed.
Ids JSON array of note IDs to check for duplicates. This allows specifying existing notes by their identifiers to find duplicates among them.

Output

The output will be a JSON object containing the results of the duplicate search. It typically includes information about which notes are considered duplicates, possibly grouped or linked together. The exact structure depends on the API response but generally provides details sufficient to identify and process duplicate notes.

No binary data output is expected from this operation.

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.
  • The node sends HTTP requests with JSON payloads and expects JSON responses.

Troubleshooting

  • Invalid JSON in Data or Ids properties: Since these inputs expect JSON arrays, malformed JSON will cause errors. Ensure the JSON syntax is correct.
  • Authentication errors: If the API key or domain is not set correctly in credentials, the node will fail to connect.
  • Empty or missing input data: Providing empty arrays or null values may result in no duplicates found or errors. Make sure to supply valid note data or IDs.
  • Depth parameter misuse: Setting depth too high might increase response size and processing time unnecessarily.

Links and References

Discussion