Workflow Functions 2.0 turns your functions into an integration layer: your ERP or warehouse system can call them directly, functions can remember data between runs, and a much larger template library covers the common jobs.
Connect your ERP or warehouse system
Call a function from your ERP with one HTTPS request and get the result back in the response - no second app needed. 28 verified templates work by SKU: set, adjust, read and transfer stock, unit cost and customs data, locations, product create or update, prices, discontinued items, orders as sales-order documents, marking orders exported or paid, cancelling, and shipments (complete, partial by SKU, tracking, holds, shipping from another location). Every template that writes has a dry-run mode. See Connect your ERP or warehouse system.
New permissions
Inventory, locations and fulfillment are now their own permissions, granted per resource on the Permissions page, plus Shopify Files for publishing reports. See Permissions and store data access.
85 templates in a new gallery
Search, and filter by category and by how a template runs - from your ERP, from Shopify Flow or on a schedule. Each template shows the permissions and secrets it needs before you use it. See Using templates.
Storage for your functions
ctx.storage keeps data between runs: the position of the last sync, events that were already handled, snapshots to compare against. A new Storage page shows what is stored, and every plan includes storage. See Storage for your functions.
A new editor
Code and a test bench side by side: run your code against your variables without saving first and read the output and logs right next to it. Completion for ctx, secrets and input, ready-made snippets, and a Run it tab with the function's API endpoint and a ready curl call. See How to create a function.
Version history for every function
The last 25 versions of each function are kept - no GitHub needed - and any of them can be loaded back into the editor.
More ways to work
- Duplicate a function, and see runs, success rate and last run per function in the list.
- The dashboard shows your top functions and recent failures for the selected period.
- Test with this input on a run's detail page opens the editor with that run's input.
- Google Gemini and OpenRouter join Anthropic and OpenAI for writing functions with AI. See Generate functions with AI.
- The Developer API and MCP server gain templates, create from a template, duplicate, versions and restore. See Developer API and MCP.