E-commerce · n8n

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.

difficulty Beginnersetup 30 minresult Every time Zendrop marks an order as shipped, the customer automatically receives a personalized thank-you email with their order details.
  1. 1

    Step 1 – Catch the Zendrop Shipped Webhook

    Add a Webhook node and set the HTTP Method to POST. Copy the generated webhook URL. In your Zendrop dashboard go to Settings > Webhooks, paste the URL, and select the order.shipped event. This node will receive order data the moment Zendrop ships an order.

  2. 2

    Step 2 – Extract Key Order Fields

    Add a Set node connected to the Webhook node. Create three fields: customerEmail mapped to the incoming field your webhook sends (e.g. {{$json.customer_email}}), customerName mapped to {{$json.customer_name}}, and orderNumber mapped to {{$json.order_number}}. Adjust field names to match what Zendrop actually sends in your test payload.

  3. 3

    Step 3 – Filter for Shipped Status Only

    Add an IF node to confirm the order status is truly shipped. Set Condition to: {{$json.status}} equals (string) shipped. Connect the TRUE branch to the Gmail node. This prevents accidental emails if other event types are sent to the same webhook.

  4. 4

    Step 4 – Send the Thank-You Email via Gmail

    Add a Gmail node on the TRUE branch. Set Resource to Message and Operation to Send. In the To field enter {{$node["Set"].json["customerEmail"]}}. Set Subject to Your Order #{{$node["Set"].json["orderNumber"]}} is on its way! 🎉. In the Message body 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.

About this recipe. Recipes on FlowRecipesHub are written for business owners, not developers, and are tested before publishing — how recipes get made. Some ingredient links are affiliate links that cost you nothing — full disclosure.