SAThinkwithClaude
Daily Problems · 21 November 2026

Why do small online sellers in India lose money on cash-on-delivery orders that come back undelivered?

More than a third of cash-on-delivery orders for small online brands come back unopened, and the seller pays shipping both ways. Here's "DoorCheck", a WhatsApp order-confirmation and risk-scoring assistant buildable with Claude in a weekend.

Written by Shantanu Anand, AI Trainer & Consultant · 21 November 2026

E-commerce & D2CItch Score 78Build time: a weekend

The problem

Who feels it: Small direct-to-consumer brands, Instagram and WhatsApp sellers, and small Shopify stores, especially those selling into Tier 2 and Tier 3 towns. They pay forward and return shipping, lose packaging and stock time, and often find out only days later that the buyer refused the parcel, gave a wrong address or never meant to buy.

Who's already working on it

GoKwik offers return-risk prediction to larger brands and says it saved brands Rs 130 crore in such losses in 2023 (CXOToday). Shiprocket, ClickPost and Shipway bundle return-reduction tools into shipping and tracking software, and Amazon offers cash-on-delivery suppression to its own sellers. These mostly serve brands with checkout integrations and volume; we didn't find a simple, low-cost tool built for the small seller who takes orders over Instagram and WhatsApp.

The solution idea

"DoorCheck" confirms every cash-on-delivery order over WhatsApp, fixes the address, scores the return risk, and nudges risky buyers to prepay before the parcel ships.

WhatsApp confirmationSends each new cash-on-delivery order a short confirmation message with order details; unconfirmed orders are held, not shipped.
Address repairReads the free-text address, checks pincode and landmark, and asks the buyer one clear question when something is missing.
Risk scoreScores each order from past outcomes by pincode, order value, repeat buyer and response behaviour, with a plain-language reason.
Prepay nudgeOffers high-risk buyers a small discount or a partial advance by UPI link to convert to prepaid.
Weekly loss reportShows returns avoided, shipping saved and which pincodes or products cause the most failures.

How Claude builds it

Which Claude capabilities do the work

Claude CodeBuilds the web app, Shopify and WhatsApp Business API integrations, the scoring service, tests and deployment.
Claude API in the productParses messy addresses, writes confirmation and nudge messages in English or Hindi, and explains each risk score in one line.
SkillsA "cod-confirmation" skill holds message templates, tone rules and escalation steps so every message stays consistent.
ArtifactsA clickable prototype of the seller dashboard to show five sellers before building.
Connectors / MCPReads orders from Shopify or a Google Sheet and logs outcomes back, so sellers keep their existing tools.
Scheduled tasksA daily job pulls courier delivery outcomes and retrains the risk weights; a weekly job sends the loss report.

Weekend build plan

  1. Saturday morning — collect data: Get 3 to 6 months of order exports with delivery outcomes from two or three small sellers you know.
  2. Saturday midday — baseline score: Ask Claude Code to compute return rates by pincode, order value and repeat buyer, and build a simple weighted score.
  3. Saturday afternoon — address parser: Use the Claude API to clean 200 real addresses and measure how many need a follow-up question.
  4. Saturday evening — prototype: Generate an artifact of the dashboard and confirmation flow and show it to two sellers.
  5. Sunday morning — WhatsApp flow: Wire a WhatsApp Business API sandbox for confirmation, address question and UPI prepay link.
  6. Sunday midday — order intake: Connect Shopify webhooks or a Google Sheet so new orders flow in automatically.
  7. Sunday afternoon — report: Add the daily outcome sync and weekly loss report as scheduled jobs.
  8. Sunday evening — pilot: Turn it on for one seller's live orders with manual approval before any message goes out.

Starter prompt for Claude Code

Build a Next.js + TypeScript + Postgres web app called "DoorCheck" for small Indian online sellers.

Flow: new cash-on-delivery order arrives (Shopify webhook or Google Sheet row)
-> Claude API cleans the address into JSON (name, line1, landmark, city, pincode, missing_fields)
-> risk score from historical outcomes (pincode return rate, order value band, repeat buyer, reply time)
-> send WhatsApp confirmation via the WhatsApp Business API sandbox; if high risk, offer a UPI prepay link with a small discount
-> hold unconfirmed orders; release confirmed ones to the shipping queue.

Include: seller dashboard (orders, risk reason, status), CSV import of past orders with outcomes, a nightly job that recomputes pincode return rates, a weekly loss report, seed data, and tests for the address parser and scorer. Keep all messages short, polite and available in English and Hindi.

Monetisation

Suggested pricing, not yet validated.

Riskiest assumption, and how to test it

Assumption: Buyers may ignore or distrust confirmation messages from small sellers, so confirmation rates could be too low to cut returns meaningfully.

Test first: Before building integrations, run the flow manually for one seller for two weeks: send confirmation and address messages by hand from a template, and compare the return rate of confirmed orders against the seller's last three months. A reasonable bar: at least 60% of buyers reply, and returns on confirmed orders fall by a quarter or more.

Use only official WhatsApp Business API templates with buyer consent, and follow the Digital Personal Data Protection Act when storing buyer phone numbers and addresses.

FAQ

Who faces the cod order returns problem?

Small direct-to-consumer brands, Instagram and WhatsApp sellers, and small Shopify stores, especially those selling into Tier 2 and Tier 3 towns. They pay forward and return shipping, lose packaging and stock time, and often find out only days later that the buyer refused the parcel, gave a wrong address or never meant to buy.

How can Claude help solve cod order returns?

"DoorCheck" confirms every cash-on-delivery order over WhatsApp, fixes the address, scores the return risk, and nudges risky buyers to prepay before the parcel ships.

How long does it take to build a first version?

About a weekend: Saturday morning — collect data: Get 3 to 6 months of order exports with delivery outcomes from two or three small sellers you know. Saturday midday — baseline score: Ask Claude Code to compute return rates by pincode, order value and repeat buyer, and build a simple weighted score. ...

How could this make money?

Free: up to 100 orders a month. Rs 1 to 2 per confirmed order, or Rs 999 a month up to 1,500 orders (not validated). Channel: Shopify app listing, seller WhatsApp groups and shipping aggregator partnerships.

What should you test before building?

Before building integrations, run the flow manually for one seller for two weeks: send confirmation and address messages by hand from a template, and compare the return rate of confirmed orders against the seller's last three months. A reasonable bar: at least 60% of buyers reply, and returns on confirmed orders fall by a quarter or more.

Sources

More daily problems

← All daily problems

Want to build things like this with Claude?

Hands-on Claude training for founders, professionals and teams, online or in person anywhere in India. Get the training details, or book a free 20-minute call.

Get training detailsBook a free call
© 2026 ThinkwithClaude · Shantanu Anand, AI Trainer & Consultant