# Possible to refresh deal state, before an Extensions API iframe action?

**URL:** <https://community.hubspot.com/t/possible-to-refresh-deal-state-before-an-extensions-api-iframe-action/65871>\
**Category:** APIs & Integrations\
**Tags:** object, timeline-and-extensions-apis\
**Created:** [September 26, 2022, 2:27pm UTC](https://community.hubspot.com/t/possible-to-refresh-deal-state-before-an-extensions-api-iframe-action/65871 "2022-09-26T14:27:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KKauper](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kkauper/32/104913_2.png) [@KKauper](https://community.hubspot.com/u/KKauper)\
**Post date:** [September 26, 2022, 2:27pm UTC](https://community.hubspot.com/t/possible-to-refresh-deal-state-before-an-extensions-api-iframe-action/65871/1 "2022-09-26T14:27:59Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![LeeBartelme](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/leebartelme/32/95647_2.png) [@LeeBartelme](https://community.hubspot.com/u/LeeBartelme)\
**Post date:** [September 27, 2022, 1:14pm UTC](https://community.hubspot.com/t/possible-to-refresh-deal-state-before-an-extensions-api-iframe-action/65871/2 "2022-09-27T13:14:29Z")

</div>

I don’t think so. I think in this case, you’d need to either train users to refresh the page if they modify data or pass in the deal id (or whatever data you need) to your external system and call HubSpot’s API from the external system to fetch the data you need.

---

<div class="post-metadata">

**Author:** ![KKauper](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kkauper/32/104913_2.png) [@KKauper](https://community.hubspot.com/u/KKauper)\
**Post date:** [September 27, 2022, 1:51pm UTC](https://community.hubspot.com/t/possible-to-refresh-deal-state-before-an-extensions-api-iframe-action/65871/3 "2022-09-27T13:51:29Z")

</div>

\*\*bleep\*\*, that’s a shame. I think this should be considered as a product enhancment.

---

<div class="post-metadata">

**Author:** ![KKauper](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kkauper/32/104913_2.png) [@KKauper](https://community.hubspot.com/u/KKauper)\
**Post date:** [September 27, 2022, 1:52pm UTC](https://community.hubspot.com/t/possible-to-refresh-deal-state-before-an-extensions-api-iframe-action/65871/4 "2022-09-27T13:52:15Z")

</div>

Hahaha… The word “d-a-m-n” was bleeped. Lol.

---

<div class="post-metadata">

**Author:** ![LeeBartelme](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/leebartelme/32/95647_2.png) [@LeeBartelme](https://community.hubspot.com/u/LeeBartelme)\
**Post date:** [September 27, 2022, 1:53pm UTC](https://community.hubspot.com/t/possible-to-refresh-deal-state-before-an-extensions-api-iframe-action/65871/5 "2022-09-27T13:53:58Z")

</div>

Post it to the ideas forum (product teams look at that one) and contact your customer service rep if you have one to tag it as a roadblock on your account. All these things help product know of potential needs.
