Workflow - Create Company From Contact + Avoid Duplicates
SOLVE
Most of our forms create contacts. I have created a WF that creates a related Company when the association does not exist. How could I modify the workflow so if a company exists by domain, that the company is associated with the contact rather than a new Company being created?
The short answer is that this is not possible. Workflows don't have any out-of-the-box actions that would let you customize associations, e.g. "if company already exists, associate contact to existing company". This can be achieved but it requires custom code actions in Operations Hub Professional and the help of a developer – or third-party automation solutions to integrate with HubSpot.
The short answer is that this is not possible. Workflows don't have any out-of-the-box actions that would let you customize associations, e.g. "if company already exists, associate contact to existing company". This can be achieved but it requires custom code actions in Operations Hub Professional and the help of a developer – or third-party automation solutions to integrate with HubSpot.
I think this can be addressed within your workflow triggers. Since you have set the triggers to only create a company for a contact whose "associated company" is unknown, there is no way a new company will be created for a contact who has an "associated company" already known.
Or is it possible that a contact has more than one company? If yes, that would be a different scenario.
To make this work better, you can add "a 2-hour delay" after the trigger to avoid any complications.
However, to address your question "How could I modify the workflow so if a company exists by domain, that the company is associated with the contact rather than a new Company being created?",
You can use the "if/then branch". Choose "company property" -> search for "company domain name" -> "choose is known" and perform any other action you'll like.