Email Automation
Process Shopify returns with GPT-4o, Shiprocket, WhatsApp and Gmail
When a form is submitted, it handles email with OpenAI / ChatGPT using Gmail, Google Sheets, Slack, WhatsApp.
What it does
## 📦 ReturnsOS – Returns & Exchanges with AI Photo Check For Shopify D2C brands in India whose support team handles every return over email and WhatsApp. They eyeball photos, argue about windows, issue refunds that could have been exchanges, and book reverse pickups by hand. ### How it works A customer fills in a return form with photos. The order is verified in Shopify and checked against your policy: return window, damage window, non-returnable items and repeat-return abuse. GPT-4o inspects the photos against the claimed reason. The workflow then offers exchange first, store credit with a bonus next, and refund (with a fee) last, so you keep more revenue. High-value or unclear cases go to an agent in Slack with Approve and Reject links. When the customer taps their choice, a Shiprocket reverse pickup is booked, store credit is issued as a Shopify gift card, and everyone is told what happens next. ### Setup steps 1. Create a Shopify custom app with read_orders and write_gift_cards, and add its token as Header Auth (X-Shopify-Access-Token). 2. Add Shiprocket as a Custom Auth credential with {"body":{"email":"…","password":"…"}}. 3. Connect OpenAI, Google Sheets (a Returns Log tab), Gmail, Slack and WhatsApp Business Cloud. 4. Edit Set Return Policy & Config and the warehouse in Build Reverse Pickup, and set your store domain in Issue Store Credit Gift Card. 5. Submit a test return with photos.
The steps
- Return Request Form
- Set Return Policy & Config
- Look Up Order in Shopify
- Read Returns Log
- Verify Order & Eligibility
- Is Eligible?
- Prepare Vision Request
- AI Inspect Return Photos
- Decide Outcome (Exchange-First)
- Log Return Request
- Route by Decision
- Send Options on WhatsApp
- Post Review Card to Slack
- Email Decline with Reason
38 steps in total.
Similar automations
E-commerce & PaymentsScore Shopify COD order risk using GPT-4o-mini, Shiprocket, and Google Sheets42 stepsChatbots & Messaging BotsAnswer Shopify order status questions on WhatsApp with OpenAI and Shiprocket29 stepsEmail AutomationSend Shopify back-in-stock waitlist waves with WhatsApp, Gmail, Sheets and Slack34 stepsEmail AutomationTrack creator commissions and PDF payouts with Shopify, Google Sheets, Gmail and Slack64 steps