Shopify Flow Extensions
Run custom functions
inside Shopify Flow
Run your own JavaScript as a step in Shopify Flow: transform data, calculate values, read and update your store, call external APIs. Start from 85 templates, connect your ERP, run on a schedule - without hosting any code yourself.
How it works
From install to first function in minutes
Install the app
One-click install from the Shopify App Store. The free tier includes every function capability.
Write your function
Write a function in JavaScript, store any secrets it needs, and test it right inside the app.
Add it to Flow
Drop the function step into any Shopify Flow workflow and use its output in the next steps.
Features
Custom logic, right inside Shopify Flow
Write a function, run it as a Shopify Flow step, use its output downstream. No server to host, no external service to maintain.
Your own JavaScript in Shopify Flow
Write a function and run it as a step inside Shopify Flow. For the logic Flow's own conditions cannot express: custom pricing maths, string parsing, multi-step decisions.
Custom outputs for the next step
Return structured outputs from your function and use them directly in the following Flow actions. Process lists, reshape payloads, and pass computed values downstream.
Editor with instant test
Code and a test bench side by side: run the function against sample input, saved or not, and read output and logs next to it. Completion and ready-made snippets included.
85 verified templates
Start from a finished function instead of an empty editor. Templates are searchable by category and by how they run, and using one creates an editable function with working sample data.
Connect your ERP or warehouse
Your ERP calls one HTTPS endpoint per function and gets the result back in the response. Templates cover stock, prices, products, locations and orders by SKU - without a second app.
Read and update store data
Functions can query and change store data through a mediated Admin GraphQL proxy, with short-lived per-run tokens - your access token never enters the sandbox.
Secrets and external APIs
Store API keys once, encrypted and never readable back, and call any external API from your function through a guarded network path.
Storage between runs
A key-value store that survives between runs: sync cursors, handled-event markers, small lookup tables. Browse keys and values on the Storage page.
Scheduled runs
Run a function on a cron schedule, without a Shopify Flow trigger, for recurring clean-ups, reports and syncs.
Version history and GitHub sync
Every code change is kept as a version you can restore. Connect a GitHub repository and each save commits, while a push updates the function.
Generate functions with AI
Describe what the function should do and get a first version to edit, or change existing code with a request. Uses your own Anthropic, OpenAI, Gemini or OpenRouter key.
Developer API and MCP
Create, test and run functions from your own tools through a REST API and an MCP server, including the template library and version restore.
Guides and tutorials
Step-by-step guides from the documentation, from the first function to an ERP integration.
- How to create a function - write, test and save your first function
- Set up the Run Function action in Shopify Flow - use a function as a workflow step
- Using templates - start from one of 85 verified templates
- Example functions - real functions to copy
- Connect your ERP or warehouse system - stock, prices and orders over one endpoint
- Permissions and store data access - read and update store data from code
- Storage for your functions - remember values between runs
- Run a function on a schedule - cron jobs without a workflow
- Generate functions with AI - from a description to working code
- Sync your functions to GitHub - version and review your code
Everything else is in the documentation, and the changelog shows what is new.
Pricing
Simple, usage-based pricing
Start free. Pay annually and save 8%.
Starter
Small stores
- ✓5000 Function Runs per month
- ✓Support via E-Mail, WhatsApp or Slack
Grow
Active stores
- ✓15000 Function Runs per month
- ✓Support via E-Mail, WhatsApp or Slack
Unlimited
Enterprise + agencies
- ✓Unlimited Function Runs
- ✓Support via E-Mail, WhatsApp or Slack
FAQs
Do I need to host my own code?+
What can a function do?+
Can my function use secrets like API keys?+
Where does my code run and where is data stored?+
Is the app GDPR-compliant?+
Can I run a function on a schedule?+
Can my function read or update store data?+
Can my ERP or warehouse system call a function directly?+
Are there templates to start from?+
Can a function remember data between runs?+
What happens when I use more runs than my plan includes?+
Custom logic, right inside Flow
Install free and run your first function in minutes.