Send Automatic Thank-You Emails When Zendrop Marks Orders as Shipped
Automatically send a warm thank-you email to customers the moment Zendrop updates an order to 'Shipped' status. Keep customers informed and delighted without lifting a finger.
- 1
Step 1 – Catch the Zendrop Shipped Webhook
Add a
Webhooknode and set the HTTP Method toPOST. Copy the generated webhook URL. In your Zendrop dashboard go to Settings > Webhooks, paste the URL, and select theorder.shippedevent. This node will receive order data the moment Zendrop ships an order. - 2
Step 2 – Extract Key Order Fields
Add a
Setnode connected to the Webhook node. Create three fields:customerEmailmapped to the incoming field your webhook sends (e.g.{{$json.customer_email}}),customerNamemapped to{{$json.customer_name}}, andorderNumbermapped to{{$json.order_number}}. Adjust field names to match what Zendrop actually sends in your test payload. - 3
Step 3 – Filter for Shipped Status Only
Add an
IFnode to confirm the order status is trulyshipped. Set Condition to:{{$json.status}}equals (string)shipped. Connect theTRUEbranch to the Gmail node. This prevents accidental emails if other event types are sent to the same webhook. - 4
Step 4 – Send the Thank-You Email via Gmail
Add a
Gmailnode on the TRUE branch. SetResourcetoMessageandOperationtoSend. In theTofield enter{{$node["Set"].json["customerEmail"]}}. SetSubjecttoYour Order #{{$node["Set"].json["orderNumber"]}} is on its way! 🎉. In theMessagebody write a friendly thank-you note referencing{{$node["Set"].json["customerName"]}}and{{$node["Set"].json["orderNumber"]}}. Connect your Gmail OAuth2 credential in the node credentials panel.
Frequently asked questions
Where do I find the webhook settings inside Zendrop?
Log into your Zendrop account, navigate to Settings in the left sidebar, then select Webhooks. Click Add Webhook, paste your n8n Webhook node URL, choose the order.shipped event, and save. Zendrop will now POST order data to n8n every time a shipment is confirmed.
What if the customer field names in Zendrop's payload are different from the ones in the recipe?
After activating the Webhook node in n8n (click 'Listen for Test Event'), place a test order in Zendrop and trigger a shipped status. n8n will display the exact JSON payload it received. Use those real field names inside the Set node expressions instead of the placeholder names shown in this recipe.
Can I customize the email to include a tracking number?
Yes. If Zendrop includes a tracking number in its webhook payload (commonly as tracking_number or tracking_code), add it as an extra field in the Set node and reference it in the Gmail message body. You can also add a tracking link by combining the carrier URL with the tracking number in the email body text.