Fulfil WooCommerce orders with CJ Dropshipping and 17TRACK tracking
Ready for 3.0What this workflow does
This workflow has 60 nodes and runs on WooCommerce events (order.updated) (plus 3 other triggers). Along the way it connects WooCommerce. It also calls developers.cjdropshipping.com and api.17track.net over HTTP.
How it runs
Trigger: On WooCommerce events (order.updated) (plus 3 other triggers).
- Config (Edit Fields (Set)): sets 17 fields: shopName, wooStoreUrl, ownerEmail…
- Alert: workflow error (Send Email): sends an email over SMTP
- Route by trigger (Switch): routes items into 2 branches
- Only paid orders (Filter): keeps only the items that match a condition
- Parse 17TRACK event (Code): runs custom JavaScript code
- CJ: Get access token (poll) (HTTP Request): calls developers.cjdropshipping.com (POST)
- Skip already synced orders (Data table): row not exists
- Valid tracking update? (Filter): keeps only the items that match a condition
- Load orders awaiting shipment (Data table): get
- Build CJ order (Code): runs custom JavaScript code
…plus 46 more steps. See the full node list below.
Services it uses
HTTP calls to: developers.cjdropshipping.com, api.17track.net
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (14)
- WooCommerce Trigger
n8n-nodes-base.wooCommerceTrigger - Edit Fields (Set)
n8n-nodes-base.set - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Webhook
n8n-nodes-base.webhook - Switch
n8n-nodes-base.switch - Filter
n8n-nodes-base.filter - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Send Email
n8n-nodes-base.emailSend - WooCommerce
n8n-nodes-base.wooCommerce - Aggregate
n8n-nodes-base.aggregate - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview Creates and tracks CJ Dropshipping orders from WooCommerce, using configured margin and cost thresholds to choose automatic payment or owner approval. It is for store owners who want a reviewed fulfilment process with shipment updates and…