Automatically Fulfill WooCommerce Orders via Zendrop Without Lifting a Finger
When a new order is placed in WooCommerce, this workflow instantly pushes the order details to Zendrop for automated fulfillment. Dropshippers save hours of manual copy-paste work and reduce fulfillment errors.
- 1
Trigger on New WooCommerce Order
Add the
WooCommerce Triggernode and set theEventtoorder.created. In your WooCommerce admin under Settings > Advanced > REST API, create an API key and paste the Consumer Key and Consumer Secret into the node credentials. Set your store URL in the credential as well. This node fires every time a customer places an order. - 2
Filter for Paid Orders Only
Add an
IFnode connected to the trigger. Set the condition to check{{$json["status"]}}equalsprocessing. This ensures only paid orders (WooCommerce sets status to processing after successful payment) are forwarded to Zendrop, skipping pending or cancelled orders. - 3
Map Order Fields to Zendrop Format
Add a
Setnode on the TRUE branch of the IF node. Create fields that Zendrop expects: setshipping_nameto{{$json["shipping"]["first_name"]}} {{$json["shipping"]["last_name"]}},shipping_addressto{{$json["shipping"]["address_1"]}},shipping_cityto{{$json["shipping"]["city"]}},shipping_zipto{{$json["shipping"]["postcode"]}},shipping_countryto{{$json["shipping"]["country"]}}, andorder_idto{{$json["id"]}}. This prepares a clean payload for Zendrop. - 4
Send Order to Zendrop API
Add an
HTTP Requestnode connected to the Set node. SetMethodto POST andURLtohttps://app.zendrop.com/api/v1/orders. UnderAuthenticationchooseHeader Authand add a header namedAuthorizationwith valueBearer YOUR_ZENDROP_API_KEY(replace with your actual key from Zendrop dashboard under Settings > API). SetBody Content TypetoJSONand inBody Parameterspass the mapped fields from the previous node using{{$json}}. In the node notes, paste your Zendrop API key location for reference.
Frequently asked questions
Where do I find my Zendrop API key?
Log in to your Zendrop account, go to Settings in the left sidebar, then click API. Generate a new API key there and copy it into the HTTP Request node's Authorization header as shown in Step 4.
What if my WooCommerce store is on localhost and n8n can't reach it?
Your WooCommerce store must be publicly accessible for the webhook trigger to work. If you are developing locally, use a tool like ngrok to expose your local server, or deploy your store to a live hosting environment before setting up this workflow.
Will this workflow handle orders with multiple products?
The current workflow passes the full order payload to Zendrop including the line_items array. As long as each product SKU in your WooCommerce store is linked to a Zendrop product, Zendrop will fulfill all items in the order. Make sure your product mappings are configured inside your Zendrop account first.