Templates / Handle idempotent Shopify order webhooks with fast 200 OK responses

Handle idempotent Shopify order webhooks with fast 200 OK responses

Ready for 3.0

by Ibrahim Emre POLAT ✓ · 0 views · created 2026-11-03 · CRM

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Calculate Signature (Crypto): hashes or encrypts values
  2. Signature Valid? (If): checks a condition and branches into true / false
  3. Respond 200 OK (Respond to Webhook): sends the response back to the webhook caller
  4. Reject (401) (Respond to Webhook): sends the response back to the webhook caller
  5. Drop Already Seen Events (Remove Duplicates): removes duplicate items
  6. Settings (Edit Fields (Set)): sets 4 fields: spreadsheetUrl, slackChannel, highValueThreshold…
  7. Enrich & Flag Order (Code): runs custom JavaScript code
  8. Log Order to Sheet (Google Sheets): append
  9. Needs Review? (If): checks a condition and branches into true / false
  10. Alert on Slack (Slack): uses Slack

Services it uses

Google SheetsSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

Quick overview Shopify retries a webhook when it doesn't get a fast response, so the same order can arrive twice. This workflow answers 200 OK right away, drops repeated events using the X-Shopify-Webhook-Id header, and passes only new orders on. How it works…

Excerpt from Ibrahim Emre POLAT's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.