<?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 Enroll a contact into a workflow | Workflows API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Enroll-a-contact-into-a-workflow-Workflows-API/m-p/848906#M67404</link>
    <description>&lt;P&gt;POST/automation/v2/workflows/:workflowId/enrollments/contacts/:email - Add a contact to a workflow.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Can anyone make this api work? I keep getting a 404 resource not found.. even in the test call in the link above.&lt;/P&gt;&lt;P&gt;Help!&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2023-09-13 18-26-23.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/98904iF03707F07A36B973/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2023-09-13 18-26-23.png" alt="Screenshot from 2023-09-13 18-26-23.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2023 13:30:16 GMT</pubDate>
    <dc:creator>AAslam4</dc:creator>
    <dc:date>2023-09-13T13:30:16Z</dc:date>
    <item>
      <title>Enroll a contact into a workflow | Workflows API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Enroll-a-contact-into-a-workflow-Workflows-API/m-p/848906#M67404</link>
      <description>&lt;P&gt;POST/automation/v2/workflows/:workflowId/enrollments/contacts/:email - Add a contact to a workflow.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Can anyone make this api work? I keep getting a 404 resource not found.. even in the test call in the link above.&lt;/P&gt;&lt;P&gt;Help!&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2023-09-13 18-26-23.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/98904iF03707F07A36B973/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2023-09-13 18-26-23.png" alt="Screenshot from 2023-09-13 18-26-23.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 13:30:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Enroll-a-contact-into-a-workflow-Workflows-API/m-p/848906#M67404</guid>
      <dc:creator>AAslam4</dc:creator>
      <dc:date>2023-09-13T13:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Enroll a contact into a workflow | Workflows API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Enroll-a-contact-into-a-workflow-Workflows-API/m-p/848954#M67407</link>
      <description>&lt;P&gt;It seems like you're encountering a "404 resource not found" error when trying to add a contact to a workflow using the API. Double-check the correctness of the :workflowId and :email parameters in your API request URL, as well as the endpoint structure, to ensure they match the system's requirements. If the issue persists, you might want to consult the API documentation or reach out to the API provider's support for further assistance in resolving this specific error.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 14:34:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Enroll-a-contact-into-a-workflow-Workflows-API/m-p/848954#M67407</guid>
      <dc:creator>SophieHull</dc:creator>
      <dc:date>2023-09-13T14:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Enroll a contact into a workflow | Workflows API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Enroll-a-contact-into-a-workflow-Workflows-API/m-p/878852#M69031</link>
      <description>&lt;P&gt;Did you ever figure this out? Having the same problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 21:26:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Enroll-a-contact-into-a-workflow-Workflows-API/m-p/878852#M69031</guid>
      <dc:creator>nychd</dc:creator>
      <dc:date>2023-11-13T21:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Enroll a contact into a workflow | Workflows API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Enroll-a-contact-into-a-workflow-Workflows-API/m-p/1131590#M81391</link>
      <description>&lt;P&gt;I have the same problem. I have not found a solution and HubSpot is clueless and helpless.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue for me is that new workflows do not have the id that works with V2 of the endpoint to enroll contacts into a workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My new workflow has this definition:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"id": "1639575837",&lt;BR /&gt;"isEnabled": true,&lt;BR /&gt;"objectTypeId": "0-1",&lt;BR /&gt;"flowType": "WORKFLOW",&lt;BR /&gt;"revisionId": "21",&lt;BR /&gt;"name": "Phase 1: Activation (Opt-In) Emails Workflow",&lt;BR /&gt;"createdAt": "2025-03-20T14:48:13.293Z",&lt;BR /&gt;"updatedAt": "2025-03-25T00:17:00.843Z"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the id does not work with the enroll endpoint. I get this response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{"status":"error","message":"resource not found","correlationId":"d984d458-cfee-69bc-f5b5-311b2006fdba"}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;When you look at an 'old' workflow, then you have a UUID parameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"id": "58649142",&lt;BR /&gt;"isEnabled": true,&lt;BR /&gt;"objectTypeId": "0-1",&lt;BR /&gt;"flowType": "WORKFLOW",&lt;BR /&gt;"revisionId": "115",&lt;BR /&gt;"name": "1.0 Free trial: Day 1 Welcome - Account Created",&lt;BR /&gt;"uuid": "hybrid-execution-wf-23109586",&lt;BR /&gt;"createdAt": "2021-03-09T21:34:25.799Z",&lt;BR /&gt;"updatedAt": "2025-02-07T07:13:12.538Z"&lt;BR /&gt;},&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you use the last part of the UUID as defined in the previous documentation by HubSpot, then it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is that we do not have other ids in the new workflow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All help is appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 17:53:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Enroll-a-contact-into-a-workflow-Workflows-API/m-p/1131590#M81391</guid>
      <dc:creator>CBN</dc:creator>
      <dc:date>2025-04-03T17:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Enroll a contact into a workflow | Workflows API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Enroll-a-contact-into-a-workflow-Workflows-API/m-p/1139588#M81718</link>
      <description>&lt;P&gt;i found a solution, i hope (or not...) this is still relevant to you:&lt;BR /&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/enroll-existing-contacts-via-API/m-p/1139587/highlight/true#M81717" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/enroll-existing-contacts-via-API/m-p/1139587/highlight/true#M81717&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 11:50:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Enroll-a-contact-into-a-workflow-Workflows-API/m-p/1139588#M81718</guid>
      <dc:creator>GR73</dc:creator>
      <dc:date>2025-04-23T11:50:23Z</dc:date>
    </item>
  </channel>
</rss>

