<?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: How to know when a record has successfully synced to Salesforce in Marketing Integrations</title>
    <link>https://community.hubspot.com/t5/Marketing-Integrations/How-to-know-when-a-record-has-successfully-synced-to-Salesforce/m-p/876951#M5661</link>
    <description>&lt;P&gt;Typically for workflows like this, I include in the enrollment criteria one (or a combination) of the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;'Last Salesforce sync time' is known&lt;/LI&gt;
&lt;LI&gt;'Salesforce Lead ID' is known&lt;/LI&gt;
&lt;LI&gt;'Salesforce contact ID' is known&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also worth noting, if the delay seems unusally long, you may want to see if a &lt;A href="https://knowledge.hubspot.com/salesforce/resolve-salesforce-integration-sync-errors" target="_blank" rel="noopener"&gt;sync error&lt;/A&gt; is preventing the specific record from syncing.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 22:15:28 GMT</pubDate>
    <dc:creator>CHawkins</dc:creator>
    <dc:date>2023-11-08T22:15:28Z</dc:date>
    <item>
      <title>How to know when a record has successfully synced to Salesforce</title>
      <link>https://community.hubspot.com/t5/Marketing-Integrations/How-to-know-when-a-record-has-successfully-synced-to-Salesforce/m-p/876908#M5660</link>
      <description>&lt;P&gt;Does anyone have a best practice for how to know when a record has synced to salesforce?&lt;BR /&gt;&lt;BR /&gt;My problem is we use salesforce campaigns for attribution but if the record hasn't synced initially the workflow throws an error saying "I can't add to the salesforce campaigns because there's no corresponding salesforce record."&lt;BR /&gt;&lt;BR /&gt;I've tried a variety of different wait steps but that's a race condition and depends on the sync happening within a time threshold. That has proven to be unreliable.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 21:05:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Marketing-Integrations/How-to-know-when-a-record-has-successfully-synced-to-Salesforce/m-p/876908#M5660</guid>
      <dc:creator>THeile</dc:creator>
      <dc:date>2023-11-08T21:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a record has successfully synced to Salesforce</title>
      <link>https://community.hubspot.com/t5/Marketing-Integrations/How-to-know-when-a-record-has-successfully-synced-to-Salesforce/m-p/876951#M5661</link>
      <description>&lt;P&gt;Typically for workflows like this, I include in the enrollment criteria one (or a combination) of the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;'Last Salesforce sync time' is known&lt;/LI&gt;
&lt;LI&gt;'Salesforce Lead ID' is known&lt;/LI&gt;
&lt;LI&gt;'Salesforce contact ID' is known&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also worth noting, if the delay seems unusally long, you may want to see if a &lt;A href="https://knowledge.hubspot.com/salesforce/resolve-salesforce-integration-sync-errors" target="_blank" rel="noopener"&gt;sync error&lt;/A&gt; is preventing the specific record from syncing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 22:15:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Marketing-Integrations/How-to-know-when-a-record-has-successfully-synced-to-Salesforce/m-p/876951#M5661</guid>
      <dc:creator>CHawkins</dc:creator>
      <dc:date>2023-11-08T22:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a record has successfully synced to Salesforce</title>
      <link>https://community.hubspot.com/t5/Marketing-Integrations/How-to-know-when-a-record-has-successfully-synced-to-Salesforce/m-p/876994#M5662</link>
      <description>&lt;P&gt;That's helpful but my current workflow design sets sync to SFDC = True then waits, then proceeds with the campaign attribution.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If I adopted this I'd need to break that into two workflows so the second one waits for the sync time to be populated via it's enrollment criteria.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there a way to wait until one of those sync values is populated within a workflow?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 00:04:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Marketing-Integrations/How-to-know-when-a-record-has-successfully-synced-to-Salesforce/m-p/876994#M5662</guid>
      <dc:creator>THeile</dc:creator>
      <dc:date>2023-11-09T00:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a record has successfully synced to Salesforce</title>
      <link>https://community.hubspot.com/t5/Marketing-Integrations/How-to-know-when-a-record-has-successfully-synced-to-Salesforce/m-p/877287#M5663</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/660828"&gt;@THeile&lt;/a&gt;&amp;nbsp;- I would add a Delay and choose the &lt;A href="https://knowledge.hubspot.com/workflows/use-delays#delay-until-event-occurrence" target="_blank" rel="noopener"&gt;Delay Type of 'Event Occurrence'&lt;/A&gt; and wait until Sync Time is Known. (Below)&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2023-11-09 at 8.00.45 AM.png" style="width: 596px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/102954i1AA12B7A839DA48C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-11-09 at 8.00.45 AM.png" alt="Screenshot 2023-11-09 at 8.00.45 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;When I do these types of delays, I usually add a branch that if the value is still unknown after a reasonable delay (I think 24 hours would be more than enough for your use case), to send an internal notification to you so that you can manually update/review if the contact hasn't synced.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-11-09 at 8.10.01 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/102956i3C43CC685D24EA45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-11-09 at 8.10.01 AM.png" alt="Screenshot 2023-11-09 at 8.10.01 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 16:24:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Marketing-Integrations/How-to-know-when-a-record-has-successfully-synced-to-Salesforce/m-p/877287#M5663</guid>
      <dc:creator>CHawkins</dc:creator>
      <dc:date>2023-11-09T16:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a record has successfully synced to Salesforce</title>
      <link>https://community.hubspot.com/t5/Marketing-Integrations/How-to-know-when-a-record-has-successfully-synced-to-Salesforce/m-p/877643#M5665</link>
      <description>&lt;P&gt;Hi Casey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing your solution!&amp;nbsp;I have one caveat to add which applies for situations where a Contact already has a value in the "Last Salesforce sync time" field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "Delay Until Event Occurrence" action is actually checking two factors: the obvious one is just whether or not there's a value set for Last Sync Time by the time the delay period ends, but the other piece that it checks is that the Last Sync Time field was&amp;nbsp;&lt;EM&gt;updated&lt;/EM&gt; during that delay period. So basically, if the Contact reaches that Delay action and Last Sync Time is already known, it would wait out the full delay period and the&amp;nbsp; be routed down the failure track.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To avoid any issues with that, you'll just want to add an additional logic branch before the Delay Until Event Occurrence action that essentially says "If Last Sync Time is Known, use the Go To Action to skip to the Criteria Met branch of the Delay".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully that all made sense and helps!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 22:18:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Marketing-Integrations/How-to-know-when-a-record-has-successfully-synced-to-Salesforce/m-p/877643#M5665</guid>
      <dc:creator>ChrisOgletee</dc:creator>
      <dc:date>2023-11-09T22:18:25Z</dc:date>
    </item>
  </channel>
</rss>

