Shopify to Square: Retail Inventory Mirror Template
A scheduled workflow that reads stock levels from Shopify and pushes them into Square so a second point-of-sale system mirrors your store inventory.
What It Builds
A Schedule trigger runs the workflow on a cron you choose. A Shopify Connector node reads current inventory levels by SKU, a Loop node walks each item, and a Connector node calls Square's REST API to update the matching quantity. Square has no native tile, so Spojit's http connector talks to its API: the result is one source of truth (Shopify) kept in sync with a second register (Square).
The Prompt
Paste this into Miraxa and it builds the workflow, connecting the tools for you:
Build a workflow that runs every hour. Read the current inventory level for every product variant in Shopify by SKU, then for each one update the matching item quantity in Square through its REST API so Square mirrors the Shopify stock count. Log any SKU that exists in Shopify but not in Square.
Connectors Used
- Schedule trigger - runs the mirror on a cron you set (for example hourly).
- Shopify - reads inventory levels and SKUs from your store.
- Square - Spojit connects to Square's REST API via the http connector to write quantities.
Customize It
Edit the prompt to change the cron cadence (every 15 minutes, nightly, weekday mornings), match items by barcode instead of SKU, mirror only a single location, or reverse the direction so Square becomes the source. You can also tell Miraxa to send a summary email instead of logging missing SKUs.
Tips
- Use a Square access token with inventory read and write scope so quantity updates are accepted.
- Keep the Shopify read in Direct mode for a clean, low-cost fetch; reserve Agent mode for steps that need reasoning.
- Pick a cadence below the gap your store can tolerate between registers: hourly suits most retail, busier counters may want every few minutes.