<?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: Get Hubspot warnings from workflows webhooks errors in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/717368#M58634</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/257487"&gt;@LMeert&lt;/a&gt;&amp;nbsp; Great solution. Not sure How you got the error property in the dropdown? May you provide some details? Thx&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2022 10:52:59 GMT</pubDate>
    <dc:creator>TZiesing</dc:creator>
    <dc:date>2022-11-11T10:52:59Z</dc:date>
    <item>
      <title>Get Hubspot warnings from webhooks errors</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/707858#M58026</link>
      <description>&lt;P&gt;I'd like to know if there's a way to set up webhook failure notifications. Or if there's some way to retrieve webhook log data through the HubSpot API.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 13:45:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/707858#M58026</guid>
      <dc:creator>ZSpl</dc:creator>
      <dc:date>2022-10-21T13:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Get Hubspot warnings from workflows webhooks errors</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/708356#M58027</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/464494"&gt;@ZSpl&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for reaching out!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to invite our subject matter experts to see if they have any advice.&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/257487"&gt;@LMeert&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/241684"&gt;@ChrisoKlepke&lt;/a&gt;,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;&amp;nbsp;- Do you have any insight for&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/464494"&gt;@ZSpl&lt;/a&gt;?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Kristen&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 14:34:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/708356#M58027</guid>
      <dc:creator>kvlschaefer</dc:creator>
      <dc:date>2022-10-20T14:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get Hubspot warnings from workflows webhooks errors</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/708744#M58047</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/464494"&gt;@ZSpl&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So there's a way to do it but it depends how technical you want to get to accomplish that within HubSpot.&lt;BR /&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Can-webhooks-return-a-value-to-be-used-in-a-workflow/td-p/428873" target="_blank" rel="noopener"&gt;This 2021 post&lt;/A&gt; seems to indicate that webhooks in HubSpot are not meant to be bi-directionnal, meaning you won't be able to use the response from a webhook further in your scenario.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is true UNLESS you're ready to use custom coded actions (which should be avaialable to you if you have acess to webhooks already.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LMeert_0-1666338322783.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/77636iAF10D02ABDCF6A06/image-size/large?v=v2&amp;amp;px=999" role="button" title="LMeert_0-1666338322783.png" alt="LMeert_0-1666338322783.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you can see in the screenshot above :&lt;/P&gt;
&lt;P&gt;- I've set up a webhook response with an "error" equal to true (not really necessary since by defaut the output contains three fields :&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;-&amp;nbsp;hs_execution_state &lt;BR /&gt;-&amp;nbsp;hs_status_code&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;- hs_server_response&lt;/P&gt;
&lt;P&gt;- I've run a test webhook and could select the fields from the body of the response to be used later in the workflow&lt;/P&gt;
&lt;P&gt;- I've then added a custom code module and as you can see, I can select either one of the three default outputs or the custom selected "error".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then it's just a matter of using the custom code to send youself a notification of failure and maybe even include the details that lead to that =&amp;gt; you could use the HubSpot tasks API for example and assign yourselft a task so you receive a notification.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't want to use custom coding in the workflows, there's also one other solution but I like it less as it will prove to be less consistent + you won't really know what went wrong.&lt;/P&gt;
&lt;P&gt;I still include it in case you don't want to rely on custom coding and you're using a third party automation software like make or Zapier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- create a helper field on the object that will be at the start of the workflow&lt;/P&gt;
&lt;P&gt;- at the start of your workflow set a specific value on that field (that you choose arbitrarily)&lt;/P&gt;
&lt;P&gt;- run your webhook&lt;/P&gt;
&lt;P&gt;- your webhook will start whatever process you choose to host externally, add a step in that process to remove the value you set at the beginning&lt;/P&gt;
&lt;P&gt;- at the end of your workflow, divide it into two branches :&lt;/P&gt;
&lt;P&gt;1. the helper field is empty =&amp;gt; this means your webhook worked&lt;/P&gt;
&lt;P&gt;2. the helper field still contains the arbitrary value you set up at the beginning =&amp;gt; this means your webhook failed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps !&lt;BR /&gt;If it does, please consider marking this answer as a solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Ludwig&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 08:17:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/708744#M58047</guid>
      <dc:creator>LMeert</dc:creator>
      <dc:date>2022-10-21T08:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get Hubspot warnings from workflows webhooks errors</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/708842#M58051</link>
      <description>&lt;P&gt;Thank you, this is really informative.&lt;/P&gt;&lt;P&gt;This addresses the question when it involves using webhooks in workflows, but I was looking for a way to get notifications from subscription-based webhooks. Sorry for the confusion. I was responding to a post about webhooks in workflows, and I should have made my own post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you happen to know if there is any way to do something similar for webhooks set up to run when Contact properties are changed?&lt;/P&gt;&lt;P&gt;Based on your information, I could set up a workflow to trigger when a property is changed, send a webhook, and have the custom code check for an error, but I'd rather not do that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 13:45:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/708842#M58051</guid>
      <dc:creator>ZSpl</dc:creator>
      <dc:date>2022-10-21T13:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get Hubspot warnings from workflows webhooks errors</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/717368#M58634</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/257487"&gt;@LMeert&lt;/a&gt;&amp;nbsp; Great solution. Not sure How you got the error property in the dropdown? May you provide some details? Thx&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 10:52:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/717368#M58634</guid>
      <dc:creator>TZiesing</dc:creator>
      <dc:date>2022-11-11T10:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get Hubspot warnings from workflows webhooks errors</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/719154#M58750</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/464494"&gt;@ZSpl&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I don't think HubSpot provides a way to get notified in case of notification failure for subscription-based webhooks.&lt;BR /&gt;However, HubSpot does part of the error handling and retries for up to 10 times within a 24h period as mentionned in the documentation.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LMeert_0-1668605446841.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/79272iAC098961DCC72EB1/image-size/large?v=v2&amp;amp;px=999" role="button" title="LMeert_0-1668605446841.png" alt="LMeert_0-1668605446841.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/326928"&gt;@TZiesing&lt;/a&gt;, to get additionnal properties to reuse after executing your webhook you'll have to test it out :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LMeert_1-1668605875793.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/79274iD5AAE610CAA85386/image-size/large?v=v2&amp;amp;px=999" role="button" title="LMeert_1-1668605875793.png" alt="LMeert_1-1668605875793.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you test it, and you have set up your server to respond with additionnal fields, you'll be able to select them as the output of the webhook action.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps !&lt;BR /&gt;If it does, please consider marking this answer as a solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Ludwig&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 13:39:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Hubspot-warnings-from-webhooks-errors/m-p/719154#M58750</guid>
      <dc:creator>LMeert</dc:creator>
      <dc:date>2022-11-16T13:39:06Z</dc:date>
    </item>
  </channel>
</rss>

