highlevel.findDuplicateContact finds an existing contact by email or phone before creation.
automations/highlevel-find-duplicate-contact.automation.ts
Input
Automate.ax supplies the connected sub-account’s location ID. Optional second argument
{ account } selects a named HighLevel binding.
Output
Returns HighLevel’s duplicate-contact result, including the matching contact when one exists. This action callsGET /contacts/search/duplicate with HighLevel API version 2021-07-28 and requires contacts.readonly. HighLevel validation and permission errors fail the action. Rate limits honor the provider’s retry timing.