{"componentChunkName":"component---src-templates-blog-post-js","path":"/blog/automate-with-webhooks/","result":{"data":{"site":{"siteMetadata":{"title":"Gatsby Contentful starter"}},"contentfulBlogPost":{"title":"Automate with webhooks UPDATED","publishDate":"May 11th, 2017","heroImage":{"fluid":{"tracedSVG":"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='400'%20height='267'%3e%3cpath%20d='M0%2010c0%208%200%2011%202%2012v4c-2%203-2%205%200%205v4c-2%200-3%2023-1%2023l4-4%202-1%202-1-1-1-2-1-1-2v-5h4l2-1c-1-1%200-4%202-4l3-2%203-1c2%200%202%202%201%203v5l3%203c2%204%206%206%209%204s8%201%207%204c0%202%201%203%203%203%202-1%207%204%2010%209%201%203%203%204%202%201%200-3%202-5%205-4%202%201%204-2%203-4l-4-4c-2-2-3-8-1-10h10l-1-3c0-2-1-3-3-3l-4-3-4-2-3-2-3-1c-4%201-10-3-8-4%203-2%201-5-4-6-4%200-5%200-3-1l2-3c1-1%205%200%207%202l3%201c2%200%200-4-2-6l-2-3c2-2%205-1%209%203l6%204%202%202%203%202h3c1%201%201%200%201-2%200-3-1-4-3-4l-3-2-4-4-5-4-2-1-2-2-1-3H0v10m193-9l-1%203-2%205-3%203-1%201c-2-1-3%203-1%205l1-1%201-1v1l-1%203c0%202%200%202%201%201l1-2c2%200%201%203-1%206l-3%206-2%209v7l1%204%201%203c1%200%202-3%202-8s0-6%204-4l3%203-1%204c-1%204-8%2016-13%2021l-2%203v1l-1%204-1%203c-2%200-5%209-6%2018a723%20723%200%2000-4%2064l-1%207-3%208c-3%209-3%2011-2%2011%202-1%202%200%202%202%200%201%200%202-1%201v2l-2%2011c-1%208-3%209-7%205-2-2-2-2-3-1l-3%202-1%205v5l2-4c0-2%201-3%202-3%201%201%200%207-1%208l-1%206v4c1-1%201-1%201%201l2%204c1%202%201%204-1%204v-1l-2-1c-2%200-4%204-6%2011l-1%207v-7l-1-6-1-2v-3l1-2%201-6c1-2%201-3-1-4v-1c2%200%203-6%202-8v-2l-1-1c-1-1-2-2-1-3l-1-2c-1%201-2-2-2-6v-4c-1%200-3%2012-4%2026l-1%205-1%204v2h-1c-1%201-1-3-1-8%200-6%200-9%201-8l1-2v-5l1-1%201-4%201-7%201-3%201-3-1-2-3%202c-2%200-3%203-1%203l1%203c0%203%200%203-1%202-1-3-2-1-1%202l-1%203-1-2-1-3c-1-1-1-1-1%202l-1%207v10l2%2020v22l-1%202h26l27-1v-2l1%202%2041%201c39%200%2040%200%2040-2-1-1%200-2%201-2l1%202c-1%202-1%202%2021%202l23-1h2l47%201h47v-78l-2%202c-3%203-4%203-3-1%200-2%201-3%203-2%202%200%202%200%202-3%200-4-1-7-2-7v2l1%205c0%202%200%202-1%201-1-2-2-2-2-1h-1c0-2-2-1-2%201s0%202-1%201-1-1-1%201l1%208v4l-2%202v-5l-2-7v-7c0-4-1-5-2-5l-1%203-1%206c-1%202-1%202-1%200s0-2-1-1c-2%202-3%208-1%2011%201%203%201%204-1%202h-1l-1%202v-7c1-8%200-12-2-6v10l-2-2-2-1-1%201-1-2-1-1-2-2v8c1%201%200%203-2%205-3%203-4%204-4%201%201-2%200-2-2-1-2%200-2%200-1-1l3-3c2%200%204-6%203-7l-2%201c-2%201-2%201-2-1l2-3%201-4c1-5%200-6-1-2%200%203-1%205-2%205-2%200-2%200-1-4%200-3%200-4-2-4l-2%202-2%202c-2%200-4%203-3%205v3c-1%201-1%201-1-1v-3l-1%203-2%202%201-4c1-2%200-5-1-4l-1%204c0%203%200%204-1%202%200-3-2-5-4-3-2%201-2%207-1%206l1%203-1%207c0%203%200%203-1%202-2-2-2-2-2%200-1%203%200%206%202%205%203-2%203-1%200%202-2%202-3%203-2%204%202%201%201%202-1%201-2%200-2%200-2%203l-1%206v-6c1-17%201-22-2-19l-3%201c-1-1-1%201-1%204l-1%207-1-5c0-3%200-4-1-3l-1%205c0%205-2%2010-3%208h-5l-1-2c-1-1%201-7%204-8l1-6v-4l-2%202-3%204c-1%203-1%203-2%201-1-4-3-2-3%204-1%206%201%2011%202%209v9l-1%204-1%203-1%203-2%202-1%201v-2l-1-2-6%2011-1%204v-6c1-4%201-5%203-7l2-3c-1-1-1-1-2%201v-6l1-1%201%202c0%204%201%201%201-3v-3l-1-3v-3l-1-3v-10l1-11%201-6h-4l-15-1-32-2-20-1-1%203c-1%208-2%209-7%209-4%200-4%200-5%2012%200%2011-1%2014-2%209l-1-4v-2l-1-7-1-8-15-4v4c-1%204-1%204%201%205%203%201%203%201%203%208l-2%208v3c0%201%200%203-4%209v5c0%202-2%207-3%205-2-1-2-10%200-10l1-2h-2c-3%201-3%201-2-1s2-3%203-2l1-4c0-6-1-6-3-1l-2%205v-6l1-5-2%203-2%205v9l-2%203-1%201-1%203-1%206v5l1%202c0%202%200%202%202%201h1l-1%201-1%202c1%202%200%207-1%206l-1-6-1-5-1%203c0%204-1%208-3%208-1%200-2-4-1-5l1-4a2533%202533%200%2001-2-15l-1-3c1-4%200-13-1-11l-1%207-1%207-1-6-1-5c-2%201-3-1-2-5l-1-3%201-2c1-2%202-3%201-6%200-4%200-4%202-4l2-2v-2c-3%201-6-4-6-7l1-2%202%202c1%202%203%202%203-1%200-2%200-2%201%200l1%203%202-3%202-7a1272%201272%200%20011-8c0-3%200-3-3-3-2%201-2%201-2-1%201-4-7-4-8-1l-1%203-1%202-2%204v-4c1-8%202-8%207-8%206%200%2011-3%209-7l1-5v-6c-1-2-1-2%201-2l2-2%201-2%202-4%203-9%206-21a711%20711%200%200112-52l1-2v5l3-3c4-4%206-8%2012-26s8-23%209-32l1-5h-12v4a29%2029%200%20001%208c0%202%200%202-1%201-1-2-1-2-2%200-2%203-2%202-1-2l1-3-1%201c-1%201-1%200-1-2-1-2-2-3-3-2l-3-2-2-2h-1l-1-1-1%2012%201%2013-2-3-1-5V2c1-2%201-2-4-2l-6%201m120%2037a278249%20278249%200%2000-3%2038c-1%206-1%2019%202%2040l1%206%203-10c3-9%203-10%203-23l-2-14V60c-1-1-1-1%200%200l2-1v-6c1-7%200-13-2-14h-3l-1-1M196%2051l-1%202c-2%201-3%204-1%204v2c0%202%200%202-2%200h-2v5l1-1v3c5%200%208-4%209-9l1-3v-3c2-2%202-2-1-2s-4%200-4%202M11%2062l-2%204c-1%202-2%202-4%202-4-1-5%200-5%207%200%204%200%204%202%203l2-3%202-3c1%200%202%200%201%201l6%201c5%200%206%201%209%204l4%206c0%205%201%201%201-5%201-6%201-7-1-6l-4-2-4-4-3-3c0-3-3-4-4-2m118%2020c-4%203-8%204-10%201-2-1-2-1-4%201l-2%201%201-1c2-2%201-4-1-4-2-1-3%200-5%202l-3%202-1%202%201%201c1-1%203%200%203%201%201%201%202%202%203%201l1%201c-1%203%200%204%204%203%203-1%204-2%202-3l-1-2%204%202c5%205%208%205%207%200l1-2c1%200%204%204%204%206h2c2%200%202-2%201-6-2-4-2-8%200-9%201-1%200-1-1-1-2%200-4%201-6%204m201%2021c-4%205-2%2015%201%2011l2-2%202%202c2%201%203%202%206%201l3%201h1c2-1%201-10-2-12-4-4-11-4-13-1m39%208l-3%201c-4%201-5%202-3%206%202%205%203%205%208%201l6-3%202-1-3-1-2-1c-1-2-4-3-5-2M0%20167l1%2065v35h50a224%20224%200%200049-3h-2c-1-1-1-1-2%201h-2l-1-2-1-1-2-2c-1%201-1%200-1-1%200-2-2-6-4-7l-2-4c0-2%200-2%202-1%201%201%201%201%201-2v-3l2-4c0-5%201-5%201%200%200%204%201%205%203%203%201-1%201-1%202%201%201%201%202%202%203%201s1%200%201%203c0%204%200%205%202%205l1-1%201-1c2%201%202%209%201%2011-1%201-1%202%201%203%202%202%202%202%200%202-1-1-2%200-2%201l4%201c4%200%205%200%203-5v-3c0-1%202%202%202%205s0%203%203%203h4l-1-9v-14c1%200%201-6-1-8-1-2-2%201-2%204%200%204-2%204-2%201%200-8-3-13-3-5%200%207-1%206-1-1%200-5-1-6-4-8-4-2-8-6-6-6l2-2v-3l1-7v-5h-2v5l1%204-5-11-1%203c-1%203-1%204-3%203l-1%203%201%203c2-2%203%201%202%203l-1%203v-3c0-5-3-1-3%206l-2%208-2%202-1%202v6l-1%203c0%202%200%202-1%200l-2-2-1-5a122%20122%200%2000-3-27l-2-8c-2-3-7%2020-7%2029%201%204%200%205-1%205v-24l-3%202-2%202h-1v-2c4-5%205-5%206-5l2-3-1-3-1-2-3%206c0%202%200%202-1%200-2-3-2-6%200-5l1-2c0-3-2-5-3-4l-1-2-2%201c-1%201-1%201-1-1v-3c-1-2-2%202-1%207l-1%202-2%204c0%204%200%204-1%203-1-2-1-2-1%200%200%203-2%202-2-1%200-2%200-3-1-2%200%203-3%202-2-2l-1-3-1-2c0-1-1-1-1%202-1%203-1%203-1-3l-1-10c-3-4-2-5%200-2l2%201c2-1%201-4%200-6l-2-5-1-3c-1-1-1%201-1%203%200%204%200%204-2%203-2-3-3-2-3%203%200%203%200%204-1%203h-1v2l-1%204c0%203-2%203-2-1l-2-5c-1-2-2-2-2-1%200%204%200%206-1%205-1%200-2-2-2-5%200-5-2-10-2-5l-1%204-2%205v5h-2l-1%201-1%202c-2%202-1-2%201-5s2-3%201-6l-2-7-1-5-1-5-1-7c-1-2-1-2-1%201v5l-1-2-1-3c-1%200-2%204-2%209l-1%207c-2%202-2%202-2-7l1-9%201-5%201-5%201%205c0%205%201%205%202-2%201-5%200-7-1-6l-1-3c0-2%200-2-2-1-1%202-1%202-2%201v-6c-1-2-1%2011-1%2029m28-22l1%207-1%205c-1%202-2%2012%200%2013l-1%201v9c1%202%202%201%202-5l2-8%201-11c1-7%201-8-1-8l-1-3c0-4-1-4-2%200m78%2050l-2%205v14c1%204%201%207-1%204-1-3-2-1-2%202l2%204c2%201%202%201%201-2%200-2%200-2%201-1l1%203%202%203%201-2v-3l1%201%201-1c1-4%200-5-1-3-1%201-1-1-1-5%201-10%200-20-2-20l-1%201m8%201l-1%203c-1%201%200%2018%201%2022v6c0%205%201%201%203-5v-11l-2%202c-1%200-1-5%201-6%201-1%201-12-1-13l-1%202m136%2014l-1%2012c-3%2011-3%2015-2%2017l2%2010c0%204%200%206%201%205l1-8c-1-6-1-8%201-9l1-3%201-8%201%209v-2a198%20198%200%2000-1-22c0-4%200-5-2-5-1%200-2%201-2%204M27%20241v3l-1%201c-1%200-1%2011%201%2014l2%201%201%201h1v-3c0-3%200-4%202-6%203-3%203-5%200-8l-3-3h-3'%20fill='%23d3d3d3'%20fill-rule='evenodd'/%3e%3c/svg%3e","aspectRatio":1.4997000599880024,"src":"//images.ctfassets.net/wufmjqyi3ps3/4shwYI3POEGkw0Eg6kcyaQ/65756129baa42532c3da53da1eab366a/felix-russell-saw-112140.jpg?w=1180&q=50&bg=rgb%3A000000","srcSet":"//images.ctfassets.net/wufmjqyi3ps3/4shwYI3POEGkw0Eg6kcyaQ/65756129baa42532c3da53da1eab366a/felix-russell-saw-112140.jpg?w=295&h=197&q=50&bg=rgb%3A000000 295w,\n//images.ctfassets.net/wufmjqyi3ps3/4shwYI3POEGkw0Eg6kcyaQ/65756129baa42532c3da53da1eab366a/felix-russell-saw-112140.jpg?w=590&h=393&q=50&bg=rgb%3A000000 590w,\n//images.ctfassets.net/wufmjqyi3ps3/4shwYI3POEGkw0Eg6kcyaQ/65756129baa42532c3da53da1eab366a/felix-russell-saw-112140.jpg?w=1180&h=787&q=50&bg=rgb%3A000000 1180w,\n//images.ctfassets.net/wufmjqyi3ps3/4shwYI3POEGkw0Eg6kcyaQ/65756129baa42532c3da53da1eab366a/felix-russell-saw-112140.jpg?w=1770&h=1180&q=50&bg=rgb%3A000000 1770w,\n//images.ctfassets.net/wufmjqyi3ps3/4shwYI3POEGkw0Eg6kcyaQ/65756129baa42532c3da53da1eab366a/felix-russell-saw-112140.jpg?w=2360&h=1574&q=50&bg=rgb%3A000000 2360w,\n//images.ctfassets.net/wufmjqyi3ps3/4shwYI3POEGkw0Eg6kcyaQ/65756129baa42532c3da53da1eab366a/felix-russell-saw-112140.jpg?w=2500&h=1667&q=50&bg=rgb%3A000000 2500w","sizes":"(max-width: 1180px) 100vw, 1180px"}},"body":{"childMarkdownRemark":{"html":"<h2>What are webhooks?</h2>\n<p>The webhooks are used to notify you when content has been changed. Specify a URL, configure your webhook, and we will send an HTTP POST request whenever something happens to your content.</p>\n<h2>How do I configure a webhook?</h2>\n<p>Go to Settings → Webhooks from the navigation bar at the top. From there, hit Add webhook, and you will be directed to your new webhook. Then choose a name, put in the information of your HTTP endpoint (URL and authentication), specify any custom headers and select the types of events that should trigger the webhook.</p>\n<h2>Why do I get an old version in the CDA?</h2>\n<p>As the delivery API is powered by a CDN network consisting of hundreds of servers distributed across continents, it takes some time (up to a few minutes) to reflect the changes to the published content. This must be taken into consideration when reacting to webhooks. In normal conditions, there could be a reasonable delay of 2 to 5 minutes.</p>\n<p>Extracted from the <a href=\"https://www.contentful.com/faq/webhooks/\" title=\"Webhooks FAQ\">Webhooks FAQ</a>.</p>"}}}},"pageContext":{"isCreatedByStatefulCreatePages":false,"slug":"automate-with-webhooks"}}}