<?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: Creating a Salesforce Task Based on Custom Object Creation in Tips, Tricks &amp; Best Practices</title>
    <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Creating-a-Salesforce-Task-Based-on-Custom-Object-Creation/m-p/1221586#M14083</link>
    <description>&lt;P data-start="0" data-end="15"&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/436724"&gt;@SKarmali&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="17" data-end="578"&gt;That’s a smart workflow design and yes, the re-enrollment lag you’re hitting is a known limitation when mixing object-based and contact-based triggers.&lt;/P&gt;
&lt;P data-start="17" data-end="578"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="17" data-end="578"&gt;Since object workflows can’t directly create Salesforce tasks, the cleanest workaround is to use a custom-coded workflow action or Webhook in your object workflow to call the Salesforce API and create the task externally (&lt;A href="https://developers.hubspot.com/docs/api-reference/automation-actions-v4-v4/custom-code-actions" target="_blank"&gt;https://developers.hubspot.com/docs/api-reference/automation-actions-v4-v4/custom-code-actions&lt;/A&gt; )&lt;/P&gt;
&lt;P data-start="17" data-end="578"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="17" data-end="578"&gt;This keeps everything tied to the “Référrąӏ” record and avoids timing issues with contact enrollment.&lt;/P&gt;
&lt;P data-start="580" data-end="821"&gt;If you prefer to stay native, you can push a temporary flag field on the contact that expires after a short delay via a second workflow using a 1-minute delay before clearing it.&lt;/P&gt;
&lt;P data-start="580" data-end="821"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="580" data-end="821"&gt;That small buffer often lets the re-enrollment window reset. When HubSpot and Salesforce need to exchange task or object data instantly, a two-way sync platform like Stacksync maps those actions across systems in real time so you never rely on workflow timing again.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Nov 2025 21:06:48 GMT</pubDate>
    <dc:creator>RubenBurdin</dc:creator>
    <dc:date>2025-11-07T21:06:48Z</dc:date>
    <item>
      <title>Creating a Salesforce Task Based on Custom Object Creation</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Creating-a-Salesforce-Task-Based-on-Custom-Object-Creation/m-p/1221475#M14081</link>
      <description>&lt;P&gt;I'm looking for some help with a set of workflows I'm building to support a partner référrąӏ* process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a form that collects a referring partner's email address and various other fields related to the client they're referring, which are captured in a "Référrąӏ" custom object. Once the partner submits the form,&amp;nbsp;a Référrąӏ object is created and triggers a workflow that updates the association label between the referring partner and Référrąӏ object, renames the Référrąӏ object, sends some notifications, and creates a new contact (if the form submission included information about the referred contact).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The Référrąӏ object workflow is working perfectly and doing almost everything I need, except creating a Salesforce task (since the object-based workflow cannot use this action). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a simple secondary contact-based workflow that branches based on a fields from the most recently created associated référrąӏ, then creates the Salesforce task. It works for the most part, but I am running into trouble when the form is submitted multiple times in quick succession, because the contact can't clear the workflow fast enough to re-enroll.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tested various ways to trigger the contact workflow (see below) but since the contact simply can't clear it in time to re-enroll, the ideal state would be for the object-based workflow to create the Salesforce task, as it is already running once per object vs. the contact workflow running multiple times for the same contact - can anyone suggest a solution/workaround for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enrollment criteria I've tried for the contact-based workflow:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Trigger the contact-based workflow based on a new référrąӏ object being associated to the contact (cannot be used as re-enrollment criteria)&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Use the object-based workflow to populate a field on the contact which triggers the contact-based workflow (can be used for re-enrollment, but gets cleared and repopulated too fast if a partner submits multiple forms in a row - they cannot be re-enrolled because they're still in the workflow)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Populate a field on the partner contact using a hidden form field&amp;nbsp;&lt;SPAN&gt;(can be used for re-enrollment, but gets cleared and repopulated too fast if a partner submits multiple forms in a row - they cannot be re-enrolled because they're still in the workflow)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;*weird characters because the actual word is not permitted in community posts &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 16:17:30 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Creating-a-Salesforce-Task-Based-on-Custom-Object-Creation/m-p/1221475#M14081</guid>
      <dc:creator>SKarmali</dc:creator>
      <dc:date>2025-11-07T16:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Salesforce Task Based on Custom Object Creation</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Creating-a-Salesforce-Task-Based-on-Custom-Object-Creation/m-p/1221481#M14082</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/436724"&gt;@SKarmali&lt;/a&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for posting to the Community!&lt;BR /&gt;&lt;BR /&gt;I understand that you’re having trouble creating a Salesforce task directly from an object-based workflow in HubSpot, as form submissions prevent the contact-based workflow from re-enrolling fast enough to trigger the needed task.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I'd like to tag in some of our Subject Experts to see if they have any advice on this -- Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/177260"&gt;@LaurenRyan&lt;/a&gt; &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/138613"&gt;@MandyDROS&lt;/a&gt; and &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/2878"&gt;@Aakar&lt;/a&gt; Do you have any tips for &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/436724"&gt;@SKarmali&lt;/a&gt;&lt;/SPAN&gt;?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;BR /&gt;&lt;BR /&gt;Cassie, Community Manager&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 16:25:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Creating-a-Salesforce-Task-Based-on-Custom-Object-Creation/m-p/1221481#M14082</guid>
      <dc:creator>chighsmith</dc:creator>
      <dc:date>2025-11-07T16:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Salesforce Task Based on Custom Object Creation</title>
      <link>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Creating-a-Salesforce-Task-Based-on-Custom-Object-Creation/m-p/1221586#M14083</link>
      <description>&lt;P data-start="0" data-end="15"&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/436724"&gt;@SKarmali&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="17" data-end="578"&gt;That’s a smart workflow design and yes, the re-enrollment lag you’re hitting is a known limitation when mixing object-based and contact-based triggers.&lt;/P&gt;
&lt;P data-start="17" data-end="578"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="17" data-end="578"&gt;Since object workflows can’t directly create Salesforce tasks, the cleanest workaround is to use a custom-coded workflow action or Webhook in your object workflow to call the Salesforce API and create the task externally (&lt;A href="https://developers.hubspot.com/docs/api-reference/automation-actions-v4-v4/custom-code-actions" target="_blank"&gt;https://developers.hubspot.com/docs/api-reference/automation-actions-v4-v4/custom-code-actions&lt;/A&gt; )&lt;/P&gt;
&lt;P data-start="17" data-end="578"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="17" data-end="578"&gt;This keeps everything tied to the “Référrąӏ” record and avoids timing issues with contact enrollment.&lt;/P&gt;
&lt;P data-start="580" data-end="821"&gt;If you prefer to stay native, you can push a temporary flag field on the contact that expires after a short delay via a second workflow using a 1-minute delay before clearing it.&lt;/P&gt;
&lt;P data-start="580" data-end="821"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="580" data-end="821"&gt;That small buffer often lets the re-enrollment window reset. When HubSpot and Salesforce need to exchange task or object data instantly, a two-way sync platform like Stacksync maps those actions across systems in real time so you never rely on workflow timing again.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 21:06:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Tips-Tricks-Best-Practices/Creating-a-Salesforce-Task-Based-on-Custom-Object-Creation/m-p/1221586#M14083</guid>
      <dc:creator>RubenBurdin</dc:creator>
      <dc:date>2025-11-07T21:06:48Z</dc:date>
    </item>
  </channel>
</rss>

