My instance is enabled to "Automatically create and associate companies", which we like 99% of the time. But, when our API integrations are creating companies and associating those companies programatically, we do not want Hubspot to help by creating new companies for these new contacts because it introduces duplicate companies.
Is there a way to suppress this behavior when creating a new contact via the API? I have tried providing the companyId on the Contact record when creating the Contact, but the API does not honor that information and I end up with extra companies.
I cannot rely upon these contacts having an email address that matches the company domain, otherwise we would just let the automatic creation do this work.
My process first checks to see if the company exists, if not then create it. Next, I check if contacts exist and create them if needed. Lastly, I am connecting these contacts to the company I created (or located), but between the Contact creation and the Company association, Hubspot has already created a new Company because of this global setting.
We would like to leave this global setting enabled, but I need to disable it in this process. Thanks for the help.