Connect your webhook to Shopify Flow
In this article we want to show you how to connect your webhooks to Shopify Flow.
When you have created your first webhook, you need to write down (or copy with the helping button) the webhook id.
Now open the Shopify Flow App (or install it via https://apps.shopify.com/flow)
Create a workflow and select the "Flow Webhooks" Trigger
When you selected the trigger it should look like this:
Now you need to click on "Then" and add a condition:
Check IF WebhookId "Equal to" your webhook id that you just copied from your created webhook.
The condition ensures that the flow only runs for your webhook you just created.
For now we want to add an action on "Then" - "Action" - "Flow" - "Log output" to debug print our variables we use in the body of the webbook.
Now click on "Turn on workflow" and click "Turn on"
For information how to test this webhook, read our article "Test your webhook"