Confirm COD Shopify orders and manage RTO with GPT-4o-mini, WATI, and Shiprocket
Ready for 3.0What this workflow does
This AI workflow has 25 nodes and runs on Shopify events (plus 3 other triggers). Along the way it connects Shopify, Google Sheets, OpenAI and Telegram. It also calls apiv2.shiprocket.in over HTTP.
How it runs
Trigger: On Shopify events (plus 3 other triggers).
- Set Store Config (Edit Fields (Set)): sets 29 fields: store_name, country_code, shopify_shop…
- Get COD Orders Sheet (Google Sheets): uses Google Sheets
- Decide Next Actions per Order (Code): runs custom JavaScript code
- Needs AI Score? (If): checks a condition and branches into true / false
- AI Assess RTO Risk (OpenAI): uses OpenAI
- Split Into Actions (Code): runs custom JavaScript code
- Apply AI Risk Score (Code): runs custom JavaScript code
- Route by Action Type (Switch): routes items into 6 branches
- Add New Order to Sheet (Google Sheets): append
- Prepare Row Update (Code): runs custom JavaScript code
…plus 11 more steps. See the full node list below.
Services it uses
HTTP calls to: apiv2.shiprocket.in
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.
Nodes used (12)
- Shopify Trigger
n8n-nodes-base.shopifyTrigger - Webhook
n8n-nodes-base.webhook - n8n Form Trigger
n8n-nodes-base.formTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - OpenAI
@n8n/n8n-nodes-langchain.openAi - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Telegram
n8n-nodes-base.telegram
From the author
Quick overview This workflow reduces COD RTOs by scoring new Shopify orders (rules + OpenAI), confirming them over WhatsApp via WATI, and dispatching confirmed orders to Shiprocket, while tracking statuses in Google Sheets and notifying ops via Telegram using…