Webhooks are functions that can be triggered by certain events. At Nacelle webhooks are triggered by updates in Shopify, Contentful, or Sanity. Once Nacelle hears one of these webhooks, that's our cue that new data is available. This ensure that we automatically have the most up-to-date information on your products, collections, and marketing content.
A Specific Example
Let's say you have a product in Shopify named "Brown Sweater." However, recently you've discovered that a more apt name is "Chestnut Sweater." Once you've made an update to the title in Shopify, you'd ordinarily have to come into Nacelle, and re-index the product so that the most recent data is pulled.
However, with webhooks this is no longer the case. Once you've updated the title, and saved, Shopify fires a webhook. Nacelle then hears this webhook fire, and knows that new data is available, so it pulls this new data, and saves it on our end. Thus saving you a trip.
Using Webhooks
Webhooks are not available out-of-the-box, instead they require the user to take a few (simple) steps to get them configured. For more info on setting up webhooks see Nacelle's documentation:
Comments
0 comments
Please sign in to leave a comment.