<?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 Workflow output not present with Go To Workflow call in Data Hub</title>
    <link>https://community.hubspot.com/t5/Data-Hub/Workflow-output-not-present-with-Go-To-Workflow-call/m-p/1242917#M3354</link>
    <description>&lt;P&gt;I need to know the current date time in my current custom workflow. HubSpot does not offer any step for this, so I decided to create a custom code workflow whose sole purpose is to supply an ISO8601 current date time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've setup a custom workflow with some code that does this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;exports.main = async (event, callback) =&amp;gt; {
  callback({
    outputFields: {
      currentDateTime: new Date().toISOString()
    }
  });
}&lt;/LI-CODE&gt;&lt;P&gt;I've defined the output in the re-usable workflow, and this all works and returns a datetime (a String containing the ISO8601 formatted datetime).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Output set" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/166236i68828B6AADD05E5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-01-19 at 12.04.20.png" alt="Output set" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Output set&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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-center" image-alt="Workflow working, output working" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/166237i201343C4370604EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-01-19 at 12.04.30.png" alt="Workflow working, output working" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Workflow working, output working&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, when I want to use this from my main workflow, I can call it, but the "currentDateTime" output is not shown! Only the success state?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2026-01-19 at 12.08.35.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/166232i4B8D17E59F502CDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-01-19 at 12.08.35.png" alt="Screenshot 2026-01-19 at 12.08.35.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;How do I get my output to show up? I've looked through all the settings, but can't find anything else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jan 2026 11:39:21 GMT</pubDate>
    <dc:creator>scspijker</dc:creator>
    <dc:date>2026-01-19T11:39:21Z</dc:date>
    <item>
      <title>Workflow output not present with Go To Workflow call</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Workflow-output-not-present-with-Go-To-Workflow-call/m-p/1242917#M3354</link>
      <description>&lt;P&gt;I need to know the current date time in my current custom workflow. HubSpot does not offer any step for this, so I decided to create a custom code workflow whose sole purpose is to supply an ISO8601 current date time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've setup a custom workflow with some code that does this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;exports.main = async (event, callback) =&amp;gt; {
  callback({
    outputFields: {
      currentDateTime: new Date().toISOString()
    }
  });
}&lt;/LI-CODE&gt;&lt;P&gt;I've defined the output in the re-usable workflow, and this all works and returns a datetime (a String containing the ISO8601 formatted datetime).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Output set" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/166236i68828B6AADD05E5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-01-19 at 12.04.20.png" alt="Output set" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Output set&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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-center" image-alt="Workflow working, output working" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/166237i201343C4370604EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2026-01-19 at 12.04.30.png" alt="Workflow working, output working" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Workflow working, output working&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now, when I want to use this from my main workflow, I can call it, but the "currentDateTime" output is not shown! Only the success state?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2026-01-19 at 12.08.35.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/166232i4B8D17E59F502CDD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2026-01-19 at 12.08.35.png" alt="Screenshot 2026-01-19 at 12.08.35.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;How do I get my output to show up? I've looked through all the settings, but can't find anything else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 11:39:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Workflow-output-not-present-with-Go-To-Workflow-call/m-p/1242917#M3354</guid>
      <dc:creator>scspijker</dc:creator>
      <dc:date>2026-01-19T11:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow output not present with Go To Workflow call</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Workflow-output-not-present-with-Go-To-Workflow-call/m-p/1242921#M3355</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/941904"&gt;@scspijker&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I know, you can't reference the output of an action from another workflow - even if you sent a record there from your current workflow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In other words, if you send a record from workflow1 to workflow2 and workflow2 is the one with the custom code action, you can't access the output of the action in workflow2 within workflow1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would have to include the custom code action in workflow1 so that you can reference it's output. (Unless you're planning on regularly changing the code - which doesn't seem to be the case - I don't think there's any issue with that.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2026 11:15:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Workflow-output-not-present-with-Go-To-Workflow-call/m-p/1242921#M3355</guid>
      <dc:creator>karstenkoehler</dc:creator>
      <dc:date>2026-01-19T11:15:56Z</dc:date>
    </item>
  </channel>
</rss>

