Shopify
Paste an API keyTurn incoming orders into invoices and packing slips automatically.
What you can do
- Look up a Shopify order — full order JSON lands in {{sX.data.*}} for invoice/packing-slip templates
What can you do with Shopify and ASHDOCS?
A Shopify order has everything a packing slip or invoice needs. Send an orders/create webhook to your flow, and the Look up a Shopify order step fetches the full order by its numeric ID so later steps can use the customer, the line items and the totals. It only needs the read_orders scope and never writes to your store.
Example flow
- 1Trigger: When a webhook arrives. Shopify sends orders/create to the flow's URL.
- 2Look up a Shopify order, with Order ID {{trigger.body.id}}.
- 3Turn HTML into a PDF: a packing slip laid out in HTML, with the order name and shipping details from the lookup.
- 4Send a Telegram message to your fulfilment group's chat ID, with the order name in the text.
- 5Result: For each new order, the fulfilment chat gets a message with a link to its packing slip.
Get your Shopify credentials
- 1In Shopify admin go to Settings → Apps and sales channels → Develop apps → Create an app.
- 2Under Configuration → Admin API integration, grant the read_orders scope.
- 3Install the app, then copy the Admin API access token (shown once).
Add the connection in ASHDOCS
- 1Open the Connections page in the flows console.
- 2Click “Connect with a key” and pick Shopify.
- 3Paste: Store domain, Admin API access token. ASHDOCS validates the credentials against Shopify before saving — a bad key is rejected with a plain-English reason, never stored.
Use it in a flow
In the flow builder, add the Shopify step, pick your connection, and fill the fields — values from earlier steps drop in as {{s1.field}} placeholders. Then hit Test this step in the step's panel to run it on its own before switching the flow on.
Troubleshooting
FAQ
Shopify admin → Settings → Notifications → Webhooks → add orders/create pointing at your flow's webhook URL.
No — the Shopify step is read-only.
Yes. The “Shopify order → invoice PDF → email” template fetches the order from a webhook, builds an invoice PDF and emails it from Gmail. You connect Shopify and Google, then adjust it.
The whole order as Shopify sends it, under data, for example {{s1.data.total_price}} or {{s1.data.email}}. Run the flow once to see every field.