If you run a Shopify order workflow in n8n (alerts, invoices, CRM/ERP sync), it only runs when Shopify’s webhook arrives. When n8n restarts for an update, an execution times out, or Shopify removes a webhook after repeated failures, the order is simply never processed. No error anywhere, and the log just looks like a quiet day.
I built a small daily check for this:
- Schedule (7:00) → Settings
- Shopify Admin GraphQL
ordersfor the last N full days, 250 per page, with an explicit cursor loop (Code + IF). n8n’s built-in HTTP pagination failed for me with the Shopify OAuth2 credential (“refreshToken is required”), so the loop is manual. - Google Sheets: read the order log your main workflow writes to
- Code: match on the order column.
#1001,1001, the numeric ID and the GID all count, because different workflows log orders differently. - Switch: email a report of missed orders (with admin links), and append them to the sheet so each is reported once
- Error outputs on every Shopify / Sheets / Code / email node → one alert email, so the check itself can’t fail silently
It only checks full days (yesterday and earlier), so a webhook that’s merely slow isn’t reported. Needs only the read_orders scope. One execution a day.
Tested on a Shopify dev store: 14 orders over 10 days, 5 missing from a log that only records wholesale orders → report + 5 rows appended; the next run reported nothing.
Walkthrough and free download (link in the video description): https://youtu.be/9G5w1tWDmUk
Curious how others handle this. Do you reconcile against Shopify, or rely on webhook retries?