{"id":34745,"date":"2024-01-08T00:04:16","date_gmt":"2024-01-08T03:04:16","guid":{"rendered":"https:\/\/stract.to\/suporte\/how-to-set-up-webhooks-in-hubspot\/"},"modified":"2024-01-08T00:04:16","modified_gmt":"2024-01-08T03:04:16","slug":"how-to-set-up-webhooks-in-hubspot","status":"publish","type":"suporte","link":"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/","title":{"rendered":"How to set up Webhooks in HubSpot"},"content":{"rendered":"<p>Use webhooks in <a href=\"https:\/\/knowledge.hubspot.com\/pt\/workflows\/create-workflows\" target=\"_blank\" rel=\"noopener\">workflows<\/a> to send or retrieve information between HubSpot and other external tools. There are a variety of uses for webhooks. Examples of popular use cases for them include:  <\/p>\n<ul>\n<li>The publication of HubSpot contact data in another system, such as a CRM, when that contact fills in a specific form on your site.<\/li>\n<li>Sending business data to an external shipment processing system to create a purchase order.<\/li>\n<li>Sending chat alerts from your external system to your company&#8217;s chat flow to notify employees that something important has happened.<\/li>\n<li>Retrieving data from another system to update your HubSpot records.<\/li>\n<\/ul>\n<p>You can send POST and GET requests using workflows. HubSpot regulates webhook traffic separately from other workflow processes. This is done to simplify workflow and webhook performance. When a webhook is slow or expired, the workflow action may take longer than expected to execute.   <\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"configurar-um-webhook-no-seu-fluxo-de-trabalho\">Setting up a webhook in your workflow<\/h2>\n<ul>\n<li>In your HubSpot account, navigate to <strong>Automation<\/strong> &gt; <strong>Workflows<\/strong>.<\/li>\n<li>Click on the <strong>name of<\/strong> the workflow.<\/li>\n<li>Click on the <strong>+ icon<\/strong> to add an action.<\/li>\n<li>In the right panel, select <strong>Send a webhook<\/strong>.<\/li>\n<li>Click on the <strong>Method<\/strong> drop-down menu and select <strong>POST<\/strong> or <strong>GET<\/strong>.<\/li>\n<li>Enter the <strong>webhook URL<\/strong>. Webhook URLs are restricted to a secure protocol and must start with HTTPS. To request specific information, you can add query parameters such as <code class=\"notranslate\" translate=\"no\">?queryparameter=abc<\/code> to the <em>webhook URL<\/em><em>.<\/em> If no query parameter has been added, a generic POST or GET request will be sent.  <\/li>\n<li>Configure your authentication type to authenticate webhook requests:\n<ul>\n<li>To use a request signature in the webhook header:\n<ul>\n<li>Click on the <strong>Authentication type<\/strong> drop-down menu. Select Include request signature in header. <\/li>\n<li>Enter your HubSpot application ID. Learn how to <a href=\"https:\/\/knowledge.hubspot.com\/pt\/workflows\/how-do-i-use-webhooks-with-hubspot-workflows#verificar-assinaturas-de-solicita%C3%A7%C3%A3o-em-webhooks-de-fluxo-de-trabalho\">verify application subscriptions<\/a>. <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li>You can also use an API key or a public application created via a developer account for authentication.<\/li>\n<\/ul>\n<p>When using an API key for authentication, the <em>name of the API key<\/em> and the <em>location of the API key<\/em> used will depend on how the webhook has been configured. For security reasons, the API key will not be displayed in any test requests. To use an API key:  <\/p>\n<ul>\n<li>Click on the <strong>Authentication type<\/strong> drop-down menu. Select the API key. <\/li>\n<li>Enter the name of the API key.<\/li>\n<\/ul>\n<ul>\n<li>Click on the API key location drop-down menu. Then select Query parameters or Request header. Learn more about using <a href=\"https:\/\/knowledge.hubspot.com\/pt\/integrations\/how-do-i-get-my-hubspot-api-key\" rel=\"noopener\">API keys in HubSpot<\/a>.  <\/li>\n<li>When making a request to one of our HubSpot APIs:\n<ul>\n<li>Click on the <strong>API key<\/strong> drop-down menu and select a <strong>secret<\/strong>. The value of the <em>secret<\/em> must be in the format <strong>Holder [YOUR_TOKEN]<\/strong>. <\/li>\n<li>Set the value of the API key name to <strong>Authorization<\/strong>.<\/li>\n<li>Set the <em>API key location <\/em>value to <strong>Request header<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<li>When setting up a POST request, you can choose to include all the properties in the CRM record or send only specific properties:\n<ul>\n<li>To include all properties, in the <em>Customize request body<\/em> section, select <strong>Include all properties<\/strong>.<\/li>\n<li>To include only specific properties:\n<ul>\n<li>In the <em>Customize request body<\/em> section, select <strong>Choose specific properties<\/strong>.<\/li>\n<li>Click on the <strong>Choose property<\/strong> drop-down menu. Then click on <strong>[objeto] in this workflow<\/strong> and select a <strong>property<\/strong>. <\/li>\n<li>To change the name of a property in the webhook, edit the <strong>Property name<\/strong> text field. This will only update the property name in the POST request, it will not update the property name or the internal name in HubSpot. <\/li>\n<li>To add another property, click on <strong>Add property<\/strong>.<\/li>\n<li>To remove a property, click on the <span class=\"ss-icon-font notranslate\" translate=\"no\">delete<\/span> <strong>trash can icon<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/knowledge.hubspot.com\/hubfs\/image-png-May-23-2022-09-47-25-22-AM.png\"><\/p>\n<ul>\n<li>When setting up a GET request, you can use properties as query parameters:\n<ul>\n<li>In the <i>Query parameters <\/i> section, click on the <strong>Choose property<\/strong> drop-down menu. Then click on <strong>[objeto] in this workflow<\/strong> and select a <strong>property<\/strong>. <\/li>\n<li>To change the name of a property in the query parameter, edit the <strong>property name<\/strong> text field. This will only update the property name in the GET request, it will not update the property name or the internal name in HubSpot. <\/li>\n<\/ul>\n<ul>\n<li>To add another property, click on <strong>Add query parameter<\/strong>.<\/li>\n<li>To remove a property, click on the <span class=\"ss-icon-font notranslate\" translate=\"no\">delete<\/span> <strong>trash can icon<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<li>Click on <strong>Save<\/strong>.<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/knowledge.hubspot.com\/hubfs\/image-png-May-23-2022-09-52-04-63-AM.png\"><\/p>\n<p>&nbsp;<\/p>\n<p>See more information at <a href=\"https:\/\/knowledge.hubspot.com\/pt\/workflows\/how-do-i-use-webhooks-with-hubspot-workflows\">HubSpot Support<\/a><\/p>\n<p><a href=\"https:\/\/community.hubspot.com\/t5\/Dica-truques-e-pr%C3%A1ticas\/Como-implementar-Webhooks-na-HubSpot-e-como-eles-diferem-de-uma\/m-p\/576594\">How to implement Webhooks in HubSpot and how do they differ from an API?<\/a><\/p>\n<p>&nbsp;<\/p>\n<h3>See also<\/h3>\n<p><a href=\"https:\/\/stract.to\/blog\/suporte\/como-configurar-webhooks-na-stract\/\">How to set up Webhooks in Stract<\/a><\/p>\n<p><a href=\"https:\/\/stract.to\/blog\/suporte\/como-configurar-webhooks-no-hotmart\/\">How to set up Webhooks in Hotmart<\/a><\/p>\n<p><a href=\"https:\/\/stract.to\/blog\/suporte\/como-configurar-webhooks-no-kiwify\/\">How to set up Webhooks in Kiwify<\/a><\/p>\n<p><a href=\"https:\/\/stract.to\/blog\/suporte\/como-configurar-webhooks-no-perfect-pay\/\">How to set up Webhooks in Perfect Pay<\/a><\/p>\n<p><a href=\"https:\/\/stract.to\/blog\/suporte\/como-configurar-webhooks-no-monetizze\/\">How to set up Webhooks on Monetizze<\/a><\/p>\n<p><a href=\"https:\/\/stract.to\/blog\/suporte\/como-configurar-webhooks-no-eduzz\/\">How to set up Webhooks on Eduzz<\/a><\/p>\n<p><a href=\"https:\/\/stract.to\/blog\/suporte\/como-configurar-webhooks-no-pipedrive\/\">How to set up Webhooks in Pipedrive<\/a><\/p>\n<p><a href=\"https:\/\/stract.to\/blog\/conectores-e-apis\/o-que-sao-webhoooks\/\">What are Webhooks?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use webhooks in workflows to send or retrieve information between HubSpot and other external tools. There are a variety of uses for webhooks. Examples of popular use cases for them include: The publication of HubSpot contact data in another system, such as a CRM, when that contact fills in a specific form on your site. [&hellip;]<\/p>\n","protected":false},"featured_media":0,"template":"","suporte-categoria":[107],"class_list":["post-34745","suporte","type-suporte","status-publish","hentry","suporte-categoria-webhooks-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to set up Webhooks in HubSpot - Stract<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set up Webhooks in HubSpot - Stract\" \/>\n<meta property=\"og:description\" content=\"Use webhooks in workflows to send or retrieve information between HubSpot and other external tools. There are a variety of uses for webhooks. Examples of popular use cases for them include: The publication of HubSpot contact data in another system, such as a CRM, when that contact fills in a specific form on your site. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/\" \/>\n<meta property=\"og:site_name\" content=\"Stract\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/stract.tool\" \/>\n<meta property=\"og:image\" content=\"https:\/\/knowledge.hubspot.com\/hubfs\/image-png-May-23-2022-09-47-25-22-AM.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@stract_to\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/\",\"url\":\"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/\",\"name\":\"How to set up Webhooks in HubSpot - Stract\",\"isPartOf\":{\"@id\":\"https:\/\/stract.to\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/knowledge.hubspot.com\/hubfs\/image-png-May-23-2022-09-47-25-22-AM.png\",\"datePublished\":\"2024-01-08T03:04:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/#primaryimage\",\"url\":\"https:\/\/knowledge.hubspot.com\/hubfs\/image-png-May-23-2022-09-47-25-22-AM.png\",\"contentUrl\":\"https:\/\/knowledge.hubspot.com\/hubfs\/image-png-May-23-2022-09-47-25-22-AM.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/stract.to\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set up Webhooks in HubSpot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/stract.to\/en\/#website\",\"url\":\"https:\/\/stract.to\/en\/\",\"name\":\"Stract\",\"description\":\"Alternativa ao Supermetrics e Adveronix\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/stract.to\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to set up Webhooks in HubSpot - Stract","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/","og_locale":"en_US","og_type":"article","og_title":"How to set up Webhooks in HubSpot - Stract","og_description":"Use webhooks in workflows to send or retrieve information between HubSpot and other external tools. There are a variety of uses for webhooks. Examples of popular use cases for them include: The publication of HubSpot contact data in another system, such as a CRM, when that contact fills in a specific form on your site. [&hellip;]","og_url":"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/","og_site_name":"Stract","article_publisher":"https:\/\/www.facebook.com\/stract.tool","og_image":[{"url":"https:\/\/knowledge.hubspot.com\/hubfs\/image-png-May-23-2022-09-47-25-22-AM.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@stract_to","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/","url":"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/","name":"How to set up Webhooks in HubSpot - Stract","isPartOf":{"@id":"https:\/\/stract.to\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/#primaryimage"},"image":{"@id":"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/#primaryimage"},"thumbnailUrl":"https:\/\/knowledge.hubspot.com\/hubfs\/image-png-May-23-2022-09-47-25-22-AM.png","datePublished":"2024-01-08T03:04:16+00:00","breadcrumb":{"@id":"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/#primaryimage","url":"https:\/\/knowledge.hubspot.com\/hubfs\/image-png-May-23-2022-09-47-25-22-AM.png","contentUrl":"https:\/\/knowledge.hubspot.com\/hubfs\/image-png-May-23-2022-09-47-25-22-AM.png"},{"@type":"BreadcrumbList","@id":"https:\/\/stract.to\/en\/support\/how-to-set-up-webhooks-in-hubspot\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/stract.to\/en\/"},{"@type":"ListItem","position":2,"name":"How to set up Webhooks in HubSpot"}]},{"@type":"WebSite","@id":"https:\/\/stract.to\/en\/#website","url":"https:\/\/stract.to\/en\/","name":"Stract","description":"Alternativa ao Supermetrics e Adveronix","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/stract.to\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/stract.to\/en\/wp-json\/wp\/v2\/suporte\/34745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stract.to\/en\/wp-json\/wp\/v2\/suporte"}],"about":[{"href":"https:\/\/stract.to\/en\/wp-json\/wp\/v2\/types\/suporte"}],"wp:attachment":[{"href":"https:\/\/stract.to\/en\/wp-json\/wp\/v2\/media?parent=34745"}],"wp:term":[{"taxonomy":"suporte-categoria","embeddable":true,"href":"https:\/\/stract.to\/en\/wp-json\/wp\/v2\/suporte-categoria?post=34745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}