<?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: Assistance Needed with Webhook trigger in workflow in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Assistance-Needed-with-Webhook-trigger-in-workflow/m-p/990751#M74248</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help so far. I believe there may have been a misunderstanding regarding my request.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I need assistance with setting up a workflow that triggers on company creation/updation on ABC platform via a webhook. The objective is to receive a unique ID through the webhook, trigger the workflow, and then check HubSpot to see if a company which contains that unique ID already exists. If it does not, I will create a new company; otherwise, I will update the existing one. I've implemented this logic using custom code.&lt;/P&gt;&lt;P&gt;The issue I'm facing is that the workflow is not triggering because workflows triggered by webhooks require the company record to already exist in HubSpot.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please guide me on how to set up a workflow that triggers even when that unique ID doesn't exist in HubSpot ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Ali&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2024 04:45:20 GMT</pubDate>
    <dc:creator>AliFawadHassan</dc:creator>
    <dc:date>2024-06-12T04:45:20Z</dc:date>
    <item>
      <title>Assistance Needed with Webhook trigger in workflow</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Assistance-Needed-with-Webhook-trigger-in-workflow/m-p/990609#M74243</link>
      <description>&lt;P&gt;Dear HubSpot Support Team,&lt;/P&gt;&lt;P&gt;I hope this message finds you well. I am currently working on setting up a workflow to create and update company and leads via webhooks integration within HubSpot. The main objective is to centralize company created on other platforms into our HubSpot account.&lt;/P&gt;&lt;P&gt;I have already set up custom code to create and update the records. However, I've encountered an issue with workflows triggered by webhooks. It seems that these workflows require the company to already exist within HubSpot to be triggered. In our integration's business logic, the company is not expected to exist in HubSpot and should be created at that moment.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please advise if there's a workaround for this issue? We need a solution that allows us to trigger workflows via webhooks even when the company is not yet known within HubSpot, ensuring the workflow runs every time new data is received through the webhook, whether for creation or updating.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your assistance. I look forward to your response.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Ali&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 21:10:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Assistance-Needed-with-Webhook-trigger-in-workflow/m-p/990609#M74243</guid>
      <dc:creator>AliFawadHassan</dc:creator>
      <dc:date>2024-06-11T21:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance Needed with Webhook trigger in workflow</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Assistance-Needed-with-Webhook-trigger-in-workflow/m-p/990632#M74244</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/490980"&gt;@AliFawadHassan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HubSpot workflows triggered by webhooks require the company record to already exist in HubSpot. To overcome this limitation, consider the below given method&lt;/P&gt;
&lt;P&gt;Dual Workflows&amp;nbsp; by trying this you can create a separate workflow that triggers when a new company is created, handling the initial record creation based on webhook data. Then, update your existing workflow to trigger on a subsequent action, such as "Company property is updated", which occurs after the company record is created.&lt;/P&gt;
&lt;P&gt;Make use of the below knowledge base to lear more:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://knowledge.hubspot.com/workflows/how-do-i-use-webhooks-with-hubspot-workflows" target="_blank"&gt;Use webhooks with HubSpot workflows&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Hope this helps - Happy to help further!!&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Thank you very much and have a great one!&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Warm regards&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 22:18:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Assistance-Needed-with-Webhook-trigger-in-workflow/m-p/990632#M74244</guid>
      <dc:creator>Humashankar</dc:creator>
      <dc:date>2024-06-11T22:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance Needed with Webhook trigger in workflow</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Assistance-Needed-with-Webhook-trigger-in-workflow/m-p/990751#M74248</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help so far. I believe there may have been a misunderstanding regarding my request.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I need assistance with setting up a workflow that triggers on company creation/updation on ABC platform via a webhook. The objective is to receive a unique ID through the webhook, trigger the workflow, and then check HubSpot to see if a company which contains that unique ID already exists. If it does not, I will create a new company; otherwise, I will update the existing one. I've implemented this logic using custom code.&lt;/P&gt;&lt;P&gt;The issue I'm facing is that the workflow is not triggering because workflows triggered by webhooks require the company record to already exist in HubSpot.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please guide me on how to set up a workflow that triggers even when that unique ID doesn't exist in HubSpot ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you for your assistance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Ali&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 04:45:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Assistance-Needed-with-Webhook-trigger-in-workflow/m-p/990751#M74248</guid>
      <dc:creator>AliFawadHassan</dc:creator>
      <dc:date>2024-06-12T04:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance Needed with Webhook trigger in workflow</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Assistance-Needed-with-Webhook-trigger-in-workflow/m-p/990939#M74257</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/490980"&gt;@AliFawadHassan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for adding insight,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get your objective which is to design a workflow that is activated by a webhook from the ABC platform, containing a distinct ID.&lt;/P&gt;
&lt;P&gt;The workflow should then search for a matching company in HubSpot based on this ID, and either create a new company record if none exists, or update the existing record if a match is found&lt;/P&gt;
&lt;P&gt;To overcome the limitation of requiring a pre-existing company, integrate your custom code within the workflow and this approach enables the workflow to dynamically create or update companies based on the webhook event, leveraging your custom code and the&amp;nbsp;HubSpot&amp;nbsp;API&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Trigger the workflow via webhook event&lt;/LI&gt;
&lt;LI&gt;Extract the unique ID from the webhook data using custom code&lt;/LI&gt;
&lt;LI&gt;Utilize the HubSpot API to search for a company with the extracted ID&lt;/LI&gt;
&lt;LI&gt;If no company is found, create a new record using the API and webhook data&lt;/LI&gt;
&lt;LI&gt;If a company is found, update the existing record using the API and new webhook data.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 11:47:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Assistance-Needed-with-Webhook-trigger-in-workflow/m-p/990939#M74257</guid>
      <dc:creator>Humashankar</dc:creator>
      <dc:date>2024-06-12T11:47:22Z</dc:date>
    </item>
  </channel>
</rss>

