<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic deal stage probability lags behind deal stage in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/deal-stage-probability-lags-behind-deal-stage/m-p/1131886#M81402</link>
    <description>&lt;P&gt;After manually updating the a deal's stage in the HubSpot UI, the `dealstage` property is immediately updated when fetching the deal via the API (v3 objects by id).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the `hs_deal_stage_probability` probability still shows the probability value of the previous deal stage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is causing confusion in our integration, since our UI shows the deal being in the correct stage, however, some internal logic uses the deal's probability which is out of sync.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we mitigate this (preferrably without having to sync all pipeline stages and join their probabilities on the dealstage property of the deal rather than using the `hs_deal_stage_probability` on deal level)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would love to hear your thoughts on how you handle this.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2025 08:59:55 GMT</pubDate>
    <dc:creator>SimonVanHende</dc:creator>
    <dc:date>2025-04-04T08:59:55Z</dc:date>
    <item>
      <title>deal stage probability lags behind deal stage</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/deal-stage-probability-lags-behind-deal-stage/m-p/1131886#M81402</link>
      <description>&lt;P&gt;After manually updating the a deal's stage in the HubSpot UI, the `dealstage` property is immediately updated when fetching the deal via the API (v3 objects by id).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the `hs_deal_stage_probability` probability still shows the probability value of the previous deal stage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is causing confusion in our integration, since our UI shows the deal being in the correct stage, however, some internal logic uses the deal's probability which is out of sync.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we mitigate this (preferrably without having to sync all pipeline stages and join their probabilities on the dealstage property of the deal rather than using the `hs_deal_stage_probability` on deal level)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would love to hear your thoughts on how you handle this.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 08:59:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/deal-stage-probability-lags-behind-deal-stage/m-p/1131886#M81402</guid>
      <dc:creator>SimonVanHende</dc:creator>
      <dc:date>2025-04-04T08:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: deal stage probability lags behind deal stage</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/deal-stage-probability-lags-behind-deal-stage/m-p/1133022#M81450</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/887019"&gt;@SimonVanHende&lt;/a&gt;&amp;nbsp;I know &lt;A href="https://knowledge.hubspot.com/reports/how-often-do-analytics-in-hubspot-update#:~:text=In%20addition%2C%20reports%20built%20with,minutes%20to%20retrieve%20new%20data." target="_blank" rel="noopener"&gt;HubSpot analytics update every 40 mins&lt;/A&gt;. My guess is that he HubSpot calculations within properties also have an update cycle so will have some time in between. I'd recomend delaying your sync for about an hour before it pushes data to your other system, or have it trigger the data. to be sent only on update.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 15:34:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/deal-stage-probability-lags-behind-deal-stage/m-p/1133022#M81450</guid>
      <dc:creator>TomM2</dc:creator>
      <dc:date>2025-04-07T15:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: deal stage probability lags behind deal stage</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/deal-stage-probability-lags-behind-deal-stage/m-p/1133386#M81467</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply! I know waiting for the update to eventually come in is an option. However, the delay in this flow is too big. I solved it by syncing the deal pipelines and their stages for all our customers on cron job to be able to join the given deal's stage rather than relying on the `&lt;SPAN&gt;hs_deal_stage_probability&lt;/SPAN&gt;` property given from the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means we can instantly provide functionality related to the update in our platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fun fact: by the end of this implementation, the&amp;nbsp;&lt;SPAN&gt;hs_deal_stage_probability property value still had not been updated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 08:55:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/deal-stage-probability-lags-behind-deal-stage/m-p/1133386#M81467</guid>
      <dc:creator>SimonVanHende</dc:creator>
      <dc:date>2025-04-08T08:55:11Z</dc:date>
    </item>
  </channel>
</rss>

