sincecutoff.com
← all changes

shopify app Flow trigger lifecycle callback relative urls

Introduced 2026-10-08 · score 0.92

HOW TO USE IT

When the app hosts the Flow trigger lifecycle callback, set its `url` to a single-slash relative path; Shopify CLI resolves it against the dev tunnel during `app dev` and the HTTPS `application_url` during deploy. Implement the callback route, run `shopify app dev` and create a workflow using the trigger, then run `shopify app deploy`.

[[extensions]] name = "My lifecycle callback" handle = "my-lifecycle-callback" type = "flow_trigger_lifecycle_callback" uid = "<generated-uid>" url = "/flow/lifecycle-callback"
shopify app dev
shopify app deploy

WHY THIS HELPS

Configure a Flow trigger lifecycle callback extension to call a route in the app during development and deployment.

REQUIREMENTS AND LIMITATIONS

  • Version: 4.9.0
  • url (required): Callback endpoint; use an absolute HTTPS URL or a relative path starting with one `/`. Relative paths resolve against the dev tunnel during `app dev` and `application_url` during deploy; the server must respond within five seconds with a `2xx` status.
  • application_url (required): App configuration URL. Must be HTTPS when `url` is relative, so the path resolves to an HTTPS URL during deploy.
  • Prerequisite: For a relative callback path, set an HTTPS `application_url` before deploying.
  • Prerequisite: Configure the web server to receive the callback, verify its `x-shopify-hmac-sha256` header using the app client secret, and respond within five seconds.
  • Prerequisite: Run `shopify app dev` from the app directory and select a dev store if prompted.
  • Applies to Flow trigger lifecycle callback extensions.
  • A corresponding route file must exist in `/app/routes`.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card