<?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: Custom Workflow Action: Get Form Name or Form Id in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Workflow-Action-Get-Form-Name-or-Form-Id/m-p/699289#M57333</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hey &lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/379041" target="_blank"&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/266185" target="_blank"&gt;&lt;SPAN&gt;Faslo&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Either use this code on within modul's JavaScript column or show me the URL of the page so that I can guide you properly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If we were able to answer your query, kindly help the community by marking it as a solution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks and Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Sep 2022 09:02:27 GMT</pubDate>
    <dc:creator>ChehakWadhdwa</dc:creator>
    <dc:date>2022-09-28T09:02:27Z</dc:date>
    <item>
      <title>Custom Workflow Action: Get Form Name or Form Id</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Workflow-Action-Get-Form-Name-or-Form-Id/m-p/697321#M57183</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a Custom Workflow Action (&lt;A href="https://developers.hubspot.com/docs/api/automation/custom-workflow-actions" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api/automation/custom-workflow-actions&lt;/A&gt;) and I have some questions about it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll start with our problem: we have a set of Forms (both Hubspot Lead Forms and Advertising Lead Forms) which bring deals in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Every form has 1-to-1 relationship with a unique Custom Object we created. When a Contact is enrolled after filling a form in, a deal should be created and based on the form it should be associated with one of the Custom Objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already saw there is no workflow action that allows to create an association with a Custom Object. And that's where the Custom Workflow Action comes in.&lt;/P&gt;&lt;P&gt;I've set the custom action up in a way that grabs and sends to our external service Contact Id plus some other information, so to create a deal via the external service and do all the associations we need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nonetheless, I cannot find a way to grab either Form Id or Form Name. I know I can set a Static Input Field and create as many workflows as unique Forms, and map all the values, but that's really not ideal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, since some Forms are hosted on advertising platform, hidden fields are not really an option (as far as I know though).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've seen there's the property called hs_calculated_form_submission, but it does not seem to be particularly robust to me (string concat of all form id submissions + epoch) and all docs I've found about it are legacy docs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question then would be: is there any way (custom function, input, whatever) I can grab form id/form name in a workflow whose trigger is "contact filled {form} on any page"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bonus question: where can I see the Hubspot Form ID of a Lead Form created on Facebook/Linkedin and synced with Hubspot?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 13:11:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Workflow-Action-Get-Form-Name-or-Form-Id/m-p/697321#M57183</guid>
      <dc:creator>Faslo</dc:creator>
      <dc:date>2022-09-23T13:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflow Action: Get Form Name or Form Id</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Workflow-Action-Get-Form-Name-or-Form-Id/m-p/698320#M57246</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/266185"&gt;@Faslo&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for including all those details. It is an interesting, and challenging to answer, question for sure. Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/193060"&gt;@JBeatty&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/158"&gt;@jpsanchez&lt;/a&gt;, do&amp;nbsp;you have any thoughts on how&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/266185"&gt;@Faslo&lt;/a&gt;&amp;nbsp;might approach this project? Thank you for taking a look! — Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 16:29:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Workflow-Action-Get-Form-Name-or-Form-Id/m-p/698320#M57246</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-09-26T16:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflow Action: Get Form Name or Form Id</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Workflow-Action-Get-Form-Name-or-Form-Id/m-p/699250#M57328</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hey &lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/379041" target="_blank"&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/266185" target="_blank"&gt;&lt;SPAN&gt;Faslo&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can use jquery to get form's data-form-id e.g. $('.Parent--container form').attr('data-form-id');&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If we were able to answer your query, kindly help the community by marking it as a solution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks and Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 07:36:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Workflow-Action-Get-Form-Name-or-Form-Id/m-p/699250#M57328</guid>
      <dc:creator>ChehakWadhdwa</dc:creator>
      <dc:date>2022-09-28T07:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflow Action: Get Form Name or Form Id</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Workflow-Action-Get-Form-Name-or-Form-Id/m-p/699252#M57329</link>
      <description>&lt;P&gt;Hi&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ChehakWadhdwa,&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks for your reply. Where do I need to add the Jquery string? As a function? As a Input field? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Also, is there a list of form attributes somewhere?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 Sep 2022 07:41:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Workflow-Action-Get-Form-Name-or-Form-Id/m-p/699252#M57329</guid>
      <dc:creator>Faslo</dc:creator>
      <dc:date>2022-09-28T07:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflow Action: Get Form Name or Form Id</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Workflow-Action-Get-Form-Name-or-Form-Id/m-p/699289#M57333</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hey &lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/379041" target="_blank"&gt;&lt;SPAN&gt;@&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/266185" target="_blank"&gt;&lt;SPAN&gt;Faslo&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Either use this code on within modul's JavaScript column or show me the URL of the page so that I can guide you properly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If we were able to answer your query, kindly help the community by marking it as a solution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks and Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 09:02:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Workflow-Action-Get-Form-Name-or-Form-Id/m-p/699289#M57333</guid>
      <dc:creator>ChehakWadhdwa</dc:creator>
      <dc:date>2022-09-28T09:02:27Z</dc:date>
    </item>
  </channel>
</rss>

