Skip to main content

Flow action extensions now support relative paths for endpoint URLs

You can now use relative paths for endpoint URLs in your Flow action extension configuration. The runtime_url, validation_url, config_page_url, and config_page_preview_url properties accept either an absolute HTTPS URL, such as https://example.com/api/flow/actions/place-bid, or a relative path that starts with a single /, such as /api/flow/actions/place-bid.

When you use a relative path, Shopify CLI resolves it against your development tunnel URL while shopify app dev is running, and against your app’s application_url after you deploy. This means you no longer need to update your runtime_url each time your development tunnel URL changes, making it easier to point Flow actions at routes hosted by your own app.

Use an absolute HTTPS URL when your endpoint is hosted on a different domain or service than your app, or when you want Flow to call the same URL in every environment. Protocol-relative URLs (such as //example.com/api/execute) aren’t supported, and your app configuration must include an HTTPS application_url before you deploy with relative paths.

For more details, see the Flow action configuration reference and Create a Flow action.

Was this section helpful?