<?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 Re: Detecting deal stage transition vs changes in a stage in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1169927#M82898</link>
    <description>&lt;P&gt;Thank you! I have run into a subsequent issue, which I think is a bug: Editing a deal line item, where only the billing start date is changed does NOT seem to change the last modified date on the deal &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp; &amp;nbsp;I tried changing from "At Payment" to Custom Date, as well as changing the Custom Date value from one&amp;nbsp; date to another, and the modified date property does not change.&amp;nbsp; Not sure if you have an ideas in this regard.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jun 2025 21:41:48 GMT</pubDate>
    <dc:creator>darveesh</dc:creator>
    <dc:date>2025-06-26T21:41:48Z</dc:date>
    <item>
      <title>Detecting deal stage transition vs changes in a stage</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1169343#M82857</link>
      <description>&lt;P&gt;I have a broader objective to detect any changes to a deal's associated line items while in the closed stage.&amp;nbsp; As I understand it, currently there is no way to trigger on this for a workflow....&amp;nbsp; so in looking for workarounds, I came across the idea of monitoring for the Last Modified Date as a proxy for any line items changes.&amp;nbsp; This works on its own, but we already have a workflow that triggers on transiton to the closed stage (which I think implicitly also updates the Last Modified Date).&amp;nbsp; And I need to be able to do different task in the two scenarios.&amp;nbsp; I can't find a branching mechanism in a single flow that reliably distinuishes between the two.&amp;nbsp; And if I use two different workflows - one for transitioning in and the other for updates - I am worried about both firing when a transition occurs.&amp;nbsp; JSo the dilemma is how to accomplish?&amp;nbsp; Is there a way to know the previous stage value or track it myself?&amp;nbsp; Is there an alternate workaround that you can suggest?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ps: We do have the Operations Hub Pro and can do custom code actions.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 22:26:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1169343#M82857</guid>
      <dc:creator>darveesh</dc:creator>
      <dc:date>2025-06-25T22:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting deal stage transition vs changes in a stage</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1169587#M82876</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/945161"&gt;@darveesh&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you have Operations Hub Pro, you could definitely solve this with a custom code action. However, there might be a simpler way to achieve this using two separate workflows with a control property. Here's an idea:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Workflow 1: To Handle the Initial Stage Transition&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Trigger: Set this workflow to trigger when a deal's stage is updated to "Closed."&lt;/LI&gt;
&lt;LI&gt;Actions:
&lt;UL&gt;
&lt;LI&gt;Perform all necessary tasks when the deal initially closes.&lt;/LI&gt;
&lt;LI&gt;As the very last step, create a custom property (let's call it a checkbox property named "Initial Close Actions Complete"), and have this workflow set that property to true.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Workflow 2: To Handle Subsequent Updates in the Closed Stage&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Trigger: Use your idea of triggering the workflow when the "Last Modified Date" is updated.&lt;/LI&gt;
&lt;LI&gt;Enrollment Criteria: Add an &lt;EM&gt;&lt;STRONG&gt;"AND" &lt;/STRONG&gt;&lt;/EM&gt;condition so that this workflow only enrolls deals where the "Initial Close Actions Complete" property is true.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How This Works:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When a deal first moves to the "Closed" stage, only Workflow 1 will run. The "Initial Close Actions Complete" property won't be true yet, so Workflow 2 won't be triggered. The last thing Workflow 1 does is check that box.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, any future change to the deal (like a line item modification) will update the "Last Modified Date." Since the deal is already in the closed stage, Workflow 1 won't re-trigger. However, since the "Initial Close Actions Complete" box is now checked, Workflow 2 will proceed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you find a solution! Let me know if you have any questions.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 10:30:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1169587#M82876</guid>
      <dc:creator>GiantFocal</dc:creator>
      <dc:date>2025-06-26T10:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting deal stage transition vs changes in a stage</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1169927#M82898</link>
      <description>&lt;P&gt;Thank you! I have run into a subsequent issue, which I think is a bug: Editing a deal line item, where only the billing start date is changed does NOT seem to change the last modified date on the deal &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp; &amp;nbsp;I tried changing from "At Payment" to Custom Date, as well as changing the Custom Date value from one&amp;nbsp; date to another, and the modified date property does not change.&amp;nbsp; Not sure if you have an ideas in this regard.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 21:41:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1169927#M82898</guid>
      <dc:creator>darveesh</dc:creator>
      <dc:date>2025-06-26T21:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting deal stage transition vs changes in a stage</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1171718#M82965</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/945161"&gt;@darveesh&lt;/a&gt;&lt;/SPAN&gt;, thanks for your reply!&lt;BR /&gt;&lt;BR /&gt;If you think this is a bug, I would recommend connecting with &lt;A href="https://help.hubspot.com/" target="_blank"&gt;HubSpot Technical Support&lt;/A&gt;, as Support is included in your subscription and they will be able to provide real-time assistance for this matter, including hopping on a screenshare if necessary.&lt;BR /&gt;&lt;BR /&gt;Thank you and have a great day!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 14:47:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1171718#M82965</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-07-01T14:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting deal stage transition vs changes in a stage</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1171731#M82966</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Bérangère. Thank you for the reply.&amp;nbsp; It turns out it's not a "bug" rather a &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Track-Changes-Made-to-Line-Items-on-Deals/idi-p/595993" target="_blank" rel="noopener"&gt;"feature"&lt;/A&gt;.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; You see, only certain line item property changes will result in the deal being updated.&amp;nbsp; Namely, things like Total Contract Value, and # of associated line items are properties on the deal that get updated if the line item changes call for it.&amp;nbsp; If the change is just a line item start date, there isn't a property on the deal that's affected.&amp;nbsp; So Lasts Modified Date fails as an approach - if the intent is to be able to know of ANY line items changes (adds/updates/deletes). For now, the only viable solution that I can see is using a webhook subscription. One can subscribe to line item create/propery change/association change events in an external webhook (AWS lambda for instance) and then using the Hubspot API is the lambda turn around and update a custom datetime property on the deal.&amp;nbsp; The need for relying on deal Last Modified Date is removed - which was clunky as non line item changes would also trigger and needed complex filtering to manage (even the partial) line item changes.&amp;nbsp; The silver lining is that this "event go around the world" approach Hubspot is forcing on us is working for us but it has introduced complexity in the overall solution and its maintenance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 17:47:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1171731#M82966</guid>
      <dc:creator>darveesh</dc:creator>
      <dc:date>2025-07-02T17:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Detecting deal stage transition vs changes in a stage</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1172236#M82996</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/945161"&gt;@darveesh&lt;/a&gt;&lt;/SPAN&gt; and thanks so much for sharing the outcome!&lt;BR /&gt;&lt;BR /&gt;Also, thank you for adding your voice to this Idea: "&lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Track-Changes-Made-to-Line-Items-on-Deals/idi-p/595993" target="_blank"&gt;Track Changes Made to Line Items on Deals&lt;/A&gt;".&lt;BR /&gt;&lt;BR /&gt;Have a lovely day and I look forward to seeing you around the Community!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 17:45:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Detecting-deal-stage-transition-vs-changes-in-a-stage/m-p/1172236#M82996</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-07-02T17:45:42Z</dc:date>
    </item>
  </channel>
</rss>

