Flow Helper Docs
Install Flow Helper
  • Overview
  • Webhook Trigger
  • GraphQL Admin API Action
  • Customer Unsubscribed Trigger
  • Templates
    • Get unfulfilled orders for a customer when they place a new order
    • Sort product collections by publish date
    • Merge repeat customer orders into one order
    • Tag customers who have tipped to build a customer segment
    • Automatically enable and disable online fulfillment for locations
  • How-Tos
    • Disable Order Confirmation Emails In Shopify Plus
Powered by GitBook
On this page

Webhook Trigger

Trigger flows with webhooks!

PreviousOverviewNextGraphQL Admin API Action

Last updated 10 months ago

Here's an example of a flow that is triggerd via a webhook to tag a product:

Here's how you can do this on your store

1- Install Flow Helper

2- Copy your Webhook URL from the main page of the app:

You can find the Webhook URL here on the main page of the Flow Helper app:

3- Download this flow template and import it

This will give you a good starting point - you can see how the Run Code step parses the payload. Because Flow input fields need to be defined individually, in order to support generic webhooks, we're passing them into Flow as stringified JSON and then parsing them into an object within the flow.

4- POST to the webhook URL

To start a flow with a webhook trigger, send a POST that looks like this:

```shellscript
curl -X POST -H "Content-Type: application/json" -d '{
  "payload": {
    "productId": "10308866408641",
    "tag": "test from webhook"
  }
}' https://flow-helper.gadget.app/actions/webhook-trigger/{YOUR_WEBHOOK_KEY}
```

https://apps.shopify.com/flow-helper
3KB
Tag A Product Via Webhook.flow