COD Order Verification Bot
Automated COD confirm/cancel flow triggered on Shopify order — YES holds dispatch, CANCEL triggers cancellation workflow and optional retention offer.
Fires on COD order webhook within 5 minutes. Sends Utility template with order summary. Customer replies YES, CANCEL, or "change address".
YES tags order ready-to-ship in Shopify. CANCEL offers one-time prepaid discount before final cancel. No reply in 30 min → second reminder, then ops alert for high-AOV orders.
How It Works
-
1
Webhook triggerShopify order.created where payment_gateway = COD.
-
2
Send confirmation templateOrder ID, items, amount, YES/CANCEL buttons.
-
3
Process YES replyTag order confirmed; notify warehouse via Slack webhook.
-
4
Process CANCEL replyOffer 5% prepaid discount once; if declined, cancel order.
-
5
No-response escalationT+30min reminder → T+2h ops task for orders >₹2,500.