<?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: Workflow trigger for whena field is updated twice in last 30 days in Lists, Lead Scoring &amp; Workflows</title>
    <link>https://community.hubspot.com/t5/Lists-Lead-Scoring-Workflows/Workflow-trigger-for-whena-field-is-updated-twice-in-last-30/m-p/462700#M5409</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/213854"&gt;@CKasnett&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nice brain teaser! This is how I'd approach it. Bear with me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need a property that counts (which I creatively named &lt;EM&gt;Counter&lt;/EM&gt;), a property that keeps track of when your date property was last updated (in my case &lt;EM&gt;Last changed date&lt;/EM&gt;) and a result property, here &lt;EM&gt;Updated within last 30 days&lt;/EM&gt;. This last property is the one that you can then use to enroll the record in another workflow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The workflow below &lt;U&gt;&lt;STRONG&gt;(re-)&lt;/STRONG&gt;&lt;/U&gt;enrolls contacts when the &lt;EM&gt;Date property&lt;/EM&gt; is known. HubSpot interprets "is known" also as "has changed".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The workflow then counts up by 1 and checks: Does this contact have a &lt;EM&gt;Last changed date&lt;/EM&gt; within the last 30 days and has it come by here more than once? If not, nothing happens, except for the workflow noting the date. If however this has happened before, the property &lt;EM&gt;Updated twice within 30 days&lt;/EM&gt; is given a positive value (and the date is also stamped).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The workflow then waits for 10 minutes (enough time for any other workflow to enroll a record based on the "Yes" value in &lt;EM&gt;Updated twice within 30 days&lt;/EM&gt;) before it clears the property again. After all, the contact might come around for a third, fourth, fifth time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Disclaimer: I haven't tested this. You should. Testing this is however almost risk-free since you're working with entirely new custom properties.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have any follow-up questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unnamed workflow - Tue Jul 20 2021 16_30_46 GMT+0200 (1).png" style="width: 587px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/46624i08B1A92595E7EE20/image-dimensions/587x1361?v=v2" width="587" height="1361" role="button" title="Unnamed workflow - Tue Jul 20 2021 16_30_46 GMT+0200 (1).png" alt="Unnamed workflow - Tue Jul 20 2021 16_30_46 GMT+0200 (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jul 2021 14:51:59 GMT</pubDate>
    <dc:creator>karstenkoehler</dc:creator>
    <dc:date>2021-07-20T14:51:59Z</dc:date>
    <item>
      <title>Workflow trigger for whena field is updated twice in last 30 days</title>
      <link>https://community.hubspot.com/t5/Lists-Lead-Scoring-Workflows/Workflow-trigger-for-whena-field-is-updated-twice-in-last-30/m-p/462676#M5408</link>
      <description>&lt;P&gt;I am trying to create a trigger for an instance when a spcific date field is updated twice in the last 30 days.&lt;/P&gt;&lt;P&gt;what would be the logic to do this?&lt;/P&gt;&lt;P&gt;The "updated in last" criteria doesnt solve for only triggering if the fied was updated twice.&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:24:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lists-Lead-Scoring-Workflows/Workflow-trigger-for-whena-field-is-updated-twice-in-last-30/m-p/462676#M5408</guid>
      <dc:creator>CKasnett</dc:creator>
      <dc:date>2021-07-20T14:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow trigger for whena field is updated twice in last 30 days</title>
      <link>https://community.hubspot.com/t5/Lists-Lead-Scoring-Workflows/Workflow-trigger-for-whena-field-is-updated-twice-in-last-30/m-p/462700#M5409</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/213854"&gt;@CKasnett&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nice brain teaser! This is how I'd approach it. Bear with me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need a property that counts (which I creatively named &lt;EM&gt;Counter&lt;/EM&gt;), a property that keeps track of when your date property was last updated (in my case &lt;EM&gt;Last changed date&lt;/EM&gt;) and a result property, here &lt;EM&gt;Updated within last 30 days&lt;/EM&gt;. This last property is the one that you can then use to enroll the record in another workflow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The workflow below &lt;U&gt;&lt;STRONG&gt;(re-)&lt;/STRONG&gt;&lt;/U&gt;enrolls contacts when the &lt;EM&gt;Date property&lt;/EM&gt; is known. HubSpot interprets "is known" also as "has changed".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The workflow then counts up by 1 and checks: Does this contact have a &lt;EM&gt;Last changed date&lt;/EM&gt; within the last 30 days and has it come by here more than once? If not, nothing happens, except for the workflow noting the date. If however this has happened before, the property &lt;EM&gt;Updated twice within 30 days&lt;/EM&gt; is given a positive value (and the date is also stamped).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The workflow then waits for 10 minutes (enough time for any other workflow to enroll a record based on the "Yes" value in &lt;EM&gt;Updated twice within 30 days&lt;/EM&gt;) before it clears the property again. After all, the contact might come around for a third, fourth, fifth time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Disclaimer: I haven't tested this. You should. Testing this is however almost risk-free since you're working with entirely new custom properties.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you have any follow-up questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Unnamed workflow - Tue Jul 20 2021 16_30_46 GMT+0200 (1).png" style="width: 587px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/46624i08B1A92595E7EE20/image-dimensions/587x1361?v=v2" width="587" height="1361" role="button" title="Unnamed workflow - Tue Jul 20 2021 16_30_46 GMT+0200 (1).png" alt="Unnamed workflow - Tue Jul 20 2021 16_30_46 GMT+0200 (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 14:51:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lists-Lead-Scoring-Workflows/Workflow-trigger-for-whena-field-is-updated-twice-in-last-30/m-p/462700#M5409</guid>
      <dc:creator>karstenkoehler</dc:creator>
      <dc:date>2021-07-20T14:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow trigger for whena field is updated twice in last 30 days</title>
      <link>https://community.hubspot.com/t5/Lists-Lead-Scoring-Workflows/Workflow-trigger-for-whena-field-is-updated-twice-in-last-30/m-p/465945#M5437</link>
      <description>&lt;P&gt;Karsten,&lt;/P&gt;&lt;P&gt;Thank you! I have implemented your solution and am going to run some tests.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ill keep you posted if it works!&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jul 2021 09:36:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Lists-Lead-Scoring-Workflows/Workflow-trigger-for-whena-field-is-updated-twice-in-last-30/m-p/465945#M5437</guid>
      <dc:creator>CKasnett</dc:creator>
      <dc:date>2021-07-25T09:36:35Z</dc:date>
    </item>
  </channel>
</rss>

