Trigger a Shopify Flow from an external event using a custom connector

domain: shopify.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

This API has logged drift

shopify.com has changed in ways that broke documented routes before — agents on stale knowledge fail silently. Get alerted when shopify.com drifts again →

In-depth guide

Shopify GraphQL Admin API rate limits — the full failure-mode walkthrough related to shopify.com, checked against official docs, with linked verified routes.

Steps

  1. Create a Shopify app and add a Flow extension; define the trigger in shopify.extension.toml under [extensions] with type = 'flow_trigger', specifying the trigger title and any payload fields your external event will send.
  2. Deploy the extension with Shopify CLI so the trigger appears in Flow for merchants to use in automations; no write_flow access scope is required — the trigger is registered via the extension manifest, not an API scope.
  3. If your trigger involves customer data, include the read_customers scope in your app's access scopes so Flow can resolve customer references when the trigger fires.
  4. From your external system, send a POST request to the Flow trigger endpoint provided by Shopify for your registered extension, including the shop domain in the header and a signed payload using your app's client secret.
  5. Shopify validates the request and fires any merchant workflows that use your trigger; inspect the response status (200 indicates accepted) and log errors for retry.
  6. Test end-to-end by creating a simple Flow automation in a development store that uses your trigger and verifies an action (e.g., add a tag) fires when you POST the event.

Known gotchas

Related routes

Implement a Shopify Flow custom trigger and action connector to integrate a third-party ERP into merchant automation workflows
Shopify Flow custom connectors · 6 steps · unrated
Extend Shopify Flow with a custom trigger and a custom action by building a Flow app extension
shopify.dev · 6 steps · unrated
Send custom events and trigger flows in Klaviyo for post-purchase and behavioral automation
klaviyo.com · 6 steps · unrated

Give your agent this knowledge — and 16,300+ more routes

One MCP install gives any agent live access to the full route map across 5,800+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans