Shopify's webhook docs are blunt about it: your app might receive the same webhook more than once. Most of the time the cause is on our side. Shopify allows one second to connect and five seconds for the whole request. If your workflow does its Google Sheets write, a Slack message and a CRM call before it answers, you blow past five seconds, Shopify marks the delivery as failed and sends it again. It retries up to 8 times over 4 hours. Each retry runs your whole workflow again.
Here's the setup I use now on every Shopify to n8n build. Four nodes, and it takes about fifteen minutes.
1. Answer Shopify straight away
In the Webhook node, set Respond to Immediately. n8n returns the response code the moment the request arrives and keeps working in the background. That alone removes most duplicates, because Shopify gets its 200 well inside the timeout.
The trade-off: you can't send back an error from a later node any more. That's fine here. Shopify doesn't care what you do with
Discussion
Be the first to comment
Add your perspective to get the discussion started.