Webhook triggers allow you to react to events happening in your Shopify store. When an event occurs, Shopify sends event-related payload data to your hook, which you can use to perform specific actions. This allows you to perform custom actions based on store activities.
Setting up a webhook trigger
1) On the "Trigger" tab of your hook, select "Shopify" as the trigger type
2) Choose the event you want to trigger your hook
3) Press the “Select trigger” button
Each trigger event comes with a sample payload that you can use as a template for testing. When testing your hook, you can edit the sample payload data to simulate different scenarios and test your implementation.
Available trigger events
When any of the following events occur, Shopify will send event-specific data to your hook's function as its first parameter: