Twenty icon

Twenty

Interact with the Twenty API

Company → Find Duplicates

AI-generated

Overview

This node interacts with the Twenty API to find duplicate company records within a Twenty workspace. It allows users to specify company IDs or provide raw JSON company data to check for duplicates, with options to control the depth of related records included in the response. This is useful for data deduplication and maintaining clean company records in CRM or business management workflows.

Use Case Examples

  1. Find duplicate companies by providing a list of company IDs to ensure no redundant entries exist in the database.
  2. Compare new company data against existing records to identify duplicates before adding new entries.

Properties

Name Meaning
Base URL Base URL for the Twenty workspace REST API, including the /rest suffix.
Depth Controls whether related records are expanded in the response, with options for primary record only or including direct relations.
Company IDs List of company IDs to check for duplicates, allowing multiple values.
Companies (JSON) Optional raw JSON array of company payloads to compare against existing records.
Request Options Settings for batching, SSL certificate validation, proxy usage, and request timeout to customize API request behavior.

Output

JSON

  • duplicates - Array of duplicate company records found by the API.
  • relatedRecords - Optional expanded related records if depth option is set to include relations.

Dependencies

  • Requires an API key credential for authenticating with the Twenty API.

Troubleshooting

  • Ensure the Base URL is correctly set with the /rest suffix to avoid connection errors.
  • Check API key validity and permissions if authentication errors occur.
  • If SSL issues arise, consider enabling the option to ignore SSL certificate validation, but be aware of security risks.
  • Batching settings should be adjusted if rate limits or timeouts occur during large requests.

Links

Discussion