I have a Zap which retrieves information about a closed lost deal in HubSpot. We would like to change this closed lost deal back to a lead but I'm struggling to retrieve the associations to the companies.
I have this stage which returns the primary company but won`t return all the companies associated with the deal.
How do I return all the companies associated with the deal rather than just the primary. I have a similar step for contacts and this returns all of them correctly.
Thanks
James
Best answer by Sparsh from Automation Jinn
Hey @JumpingKangaroo,
This is a limitation of Hubspot Zapier integration as Find Associations action only supports one association even though Hubspot can have multiple associations.
There is a workaround by querying the API directly using Webhooks in Zapier action. Here is the API documentation about it here- https://developers.hubspot.com/docs/api-reference/crm-associations-v4/guide. You have to call this particular endpoint- /crm/v4/objects/deals/{dealId}/associations/companies.
This is a limitation of Hubspot Zapier integration as Find Associations action only supports one association even though Hubspot can have multiple associations.
There is a workaround by querying the API directly using Webhooks in Zapier action. Here is the API documentation about it here- https://developers.hubspot.com/docs/api-reference/crm-associations-v4/guide. You have to call this particular endpoint- /crm/v4/objects/deals/{dealId}/associations/companies.