Shopify

Paste an API key

Turn incoming orders into invoices and packing slips automatically.

What you can do

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

  1. 1Trigger: When a webhook arrives. Shopify sends orders/create to the flow's URL.
  2. 2Look up a Shopify order, with Order ID {{trigger.body.id}}.
  3. 3Turn HTML into a PDF: a packing slip laid out in HTML, with the order name and shipping details from the lookup.
  4. 4Send a Telegram message to your fulfilment group's chat ID, with the order name in the text.
  5. 5Result: For each new order, the fulfilment chat gets a message with a link to its packing slip.

Get your Shopify credentials

  1. 1In Shopify admin go to Settings → Apps and sales channels → Develop apps → Create an app.
  2. 2Under Configuration → Admin API integration, grant the read_orders scope.
  3. 3Install the app, then copy the Admin API access token (shown once).

Add the connection in ASHDOCS

  1. 1Open the Connections page in the flows console.
  2. 2Click “Connect with a key” and pick Shopify.
  3. 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

401/403 on lookups
The token is missing read_orders, or the store domain is wrong — use yourstore.myshopify.com, not your custom domain.
Which order ID?
The numeric admin ID — from an orders/create webhook it's {{trigger.body.id}}.

FAQ

How do I run a flow on every new order?

Shopify admin → Settings → Notifications → Webhooks → add orders/create pointing at your flow's webhook URL.

Does ASHDOCS change my store?

No — the Shopify step is read-only.

Is there a ready-made Shopify flow?

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.

What does the order lookup return?

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.

Connect Shopify →All 28 integrations