Forms & Surveys
Confirm COD Shopify orders and manage RTO with GPT-4o-mini, WATI, and Shiprocket
When something happens in a connected app, it processes form answers with OpenAI / ChatGPT using Google Sheets, Shopify, Telegram.
What it does
## 📦 COD Order Confirmation & RTO Reducer (Shopify + WATI + Shiprocket) For Indian D2C brands where a big share of COD orders come back as RTO, costing two-way shipping on parcels nobody wanted. Most of that is avoidable if you confirm the order and check the address before it ships. ### How it works When a COD order lands in Shopify it's scored for RTO risk, using rules plus an AI check on the address and pincode, and the customer gets a WhatsApp asking them to confirm or cancel. Confirmed low-risk orders go straight to Shiprocket. Risky ones are held for a quick ops call and released or cancelled from a form. Unanswered orders get reminders and are auto-cancelled after 24 hours. After dispatch, courier updates trigger an out-for-delivery message, and failed deliveries (NDR) ask the customer what to do before re-attempting or escalating. Everything is tracked in one Google Sheet. ### Setup steps 1. Create a Google Sheet with a COD Orders tab. 2. Connect Shopify, Google Sheets, OpenAI and Telegram credentials. 3. Add WATI as Header Auth and Shiprocket API user login as Custom Auth (see the security note). 4. Get the four WATI templates approved and fill in Set Store Config: shop domain, WATI endpoint, sheet ID, thresholds and webhook token. 5. Point WATI and Shiprocket webhooks to Receive WATI & Shiprocket Events, place a test COD order, then activate.
The steps
- New Shopify Order
- Receive WATI & Shiprocket Events
- Ops Review Form (Held Orders)
- Check Every 15 Minutes
- Set Store Config
- Get COD Orders Sheet
- Decide Next Actions per Order
- Needs AI Score?
- AI Assess RTO Risk
- Apply AI Risk Score
- Split Into Actions
- Route by Action Type
- Add New Order to Sheet
- Prepare Row Update
25 steps in total.
Similar automations
E-commerce & PaymentsScore Shopify COD order risk using GPT-4o-mini, Shiprocket, and Google Sheets42 stepsCustomer Support & HelpdeskResolve failed Shiprocket and Delhivery deliveries on WhatsApp with OpenAI37 stepsEmail AutomationProcess Shopify returns with GPT-4o, Shiprocket, WhatsApp and Gmail38 stepsE-commerce & PaymentsSend Shopify Orders to Business Central Sales Orders31 steps