Hi All,
I have created a Hubspot app using the Extensions API. The user sees the app on a deal page. When the user clicks a button in the card, our SaaS app is opened via an iframe (IFRAME action). At this point, in our SaaS app, I want to have access to all of the contacts associated with the deal.
I have implemented a solution to this by using the Hubspot contact search api, when the deal card is first loaded.
But, the problem is, by the time the user clicks on the card action, and the iframe is loaded, the user may have added other contacts to the deal.
Does anyone have a solution for this? For example, can I somehow chain actions, so that I trigger an ACTION_HOOK, which fetches all of the current deal contacts, before opening the iframe?