# COD Order Confirmation Call

> Confirm every cash-on-delivery order with an automatic call in Hindi or English before you ship. Native setup for Shopify and WooCommerce in Edesy Order Calls, any store through the Orders API or CSV, what is written back to the order, pricing at ₹3 per order, and limits.

Source: https://edesy.in/docs/voice-agent/recipes/cod-order-confirmation-call

Two minutes after a cash-on-delivery order, Edesy Order Calls phones the customer in Hindi or English and asks them to press 1 to confirm or 2 to cancel. Shopify orders are tagged `COD-Confirmed` or cancelled. You pay ₹3 per order where the customer picked up, after 25 free. It is a keypad call, not an AI conversation.

**Works with:** Shopify and WooCommerce **Native** (Order Calls store connection) · any store, Zapier, Make or n8n **via API** (`POST /v1/orders`, or a signed store webhook) · any spreadsheet **Native** (CSV upload) · Edesy Commerce **via API** or CSV today, native preset **planned**

> **Note:** A native Edesy Commerce store preset in Order Calls is planned. [Request early access](https://edesy.in/integrations/request?app=edesy-commerce).

## How it works

```text
COD order placed ──> orders/create webhook ──> call rule (COD and not confirmed?)
 (Shopify, Woo,                                     │ wait 2 min, inside 09:00–21:00 IST
  API, CSV)                                         ▼
                                     Call in hi-IN or en-IN: "press 1 to confirm, 2 to cancel"
                                          │                 │                │
                                       press 1           press 2        no answer x3
                                          ▼                 ▼                ▼
                                Tag COD-Confirmed   Cancel + restock   Tag COD-Unreachable
```

## Before you start

- Sign in at [orders.edesy.in](https://orders.edesy.in) with your Edesy login.
- Business verification (KYC). Indian telecom rules require it before outbound calls; review usually takes about a day.
- A number to call from: **Numbers → Buy a number** (a mobile number is ₹499 a month) or **Use a number I have**. Growth and Scale plans include one.
- Shopify: admin access, or a custom app with `read_orders` and `write_orders`. WooCommerce: a REST API key with Read/Write.

## Set it up: Shopify

1. In Order Calls, open **Stores**, pick **Shopify** and press **Connect**.
2. If the card shows the **One-click** badge, enter your `*.myshopify.com` address and press **Continue to Shopify**, then approve the install. The token and webhooks are set up for you.
3. If one-click isn't available, create a custom app in Shopify admin (**Settings → Apps → Develop apps**) with `read_orders` and `write_orders`, then fill in **Shop domain**, **Store name (spoken in the call)**, **Admin API access token** (`shpat_...`), **Webhook signing secret** (the app's API secret key) and, optionally, **Extra tag on confirmation**.
4. Press **Register webhooks automatically**. Order Calls subscribes to `orders/create`, `orders/cancelled`, `orders/paid` and `app/uninstalled`.
5. Press **Test connection**. It replies with your shop's name.

Full details: [Connect Shopify](https://edesy.in/docs/order-calls/connect-your-store/connect-shopify).

## Set it up: WooCommerce

1. In WordPress, open **WooCommerce → Settings → Advanced → REST API**, press **Add key** with **Read/Write**, and copy the **Consumer key** (`ck_...`) and **Consumer secret** (`cs_...`).
2. In Order Calls **Stores**, pick **WooCommerce** (badge **Auto webhooks**) and fill in **Store URL**, **Store name (spoken in the call)**, **Consumer key**, **Consumer secret** and, optionally, **Order status after confirmation** (for example `processing`).
3. Press **Register webhooks automatically**, then **Test connection**. If you use Cloudflare or a security plugin, allow requests to `/wp-json/wc/v3`.

Full details: [Connect WooCommerce](https://edesy.in/docs/order-calls/connect-your-store/connect-woocommerce).

## Set it up: any other store, including Edesy Commerce

Send each COD order to the Orders API from your backend, an Edesy Commerce webhook handler, or a Zapier, Make or n8n step:

```bash
curl -X POST https://voice-api.edesy.in/v1/orders \
  -H "Authorization: Bearer vp_your_api_key" \
  -H "Idempotency-Key: order-10482" \
  -H "Content-Type: application/json" \
  -d '{
    "external_id": "10482",
    "number": "#10482",
    "phone": "+919876543210",
    "customer_name": "Asha Verma",
    "amount": 1299,
    "cod_amount": 1299,
    "payment_method": "cod",
    "items": [{ "title": "Cotton kurta", "quantity": 2 }]
  }'
```

A `202` response returns `{"data": {"external_id": "10482", "status": "processed", ...}}`. A `409 no_call_rule` means you haven't created a call rule yet. Check an order later with `GET /v1/orders/10482`. Create the API key under **API keys** in the Order Calls portal.

**Edesy Commerce today:** its `order.placed` webhook carries the order number, amounts and `payment_mode` but not the customer's phone, so your handler has to read the phone from the order before calling `POST /v1/orders`. Without code, export your COD orders and use **Upload orders** with the columns `external_id,phone,customer_name,amount,items,number` (up to 5,000 rows per file). See [Upload orders by CSV](https://edesy.in/docs/order-calls/connect-your-store/csv-upload).

## Create the call rule

1. Open **Call rules** and press **Create a call rule**. The defaults: trigger `order.created`, call when payment method is COD and the COD order is not already confirmed.
2. Pick the language: **COD confirmation (Hindi)** or **COD confirmation (English)**. Edit the lines under **Script** if you like: Greeting, The question, Confirmed, Cancelled, No answer.
3. Keep or change the timing: 2-minute delay, 3 attempts with gaps of 30 and 120 minutes, give up after 48 hours, calling window 09:00 to 21:00 IST.
4. Set **outcome actions** for `no_input` and `unreachable` (the defaults tag the order `COD-No-Answer` and `COD-Unreachable` on Shopify). See [Outcome actions](https://edesy.in/docs/order-calls/call-rules/outcome-actions).

## Data map

| Direction | Field | Meaning |
|---|---|---|
| Into the call | `{{var.customer_name}}` | From the shipping address, then billing, then customer |
| Into the call | `{{var.store_name}}` | **Store name (spoken in the call)** |
| Into the call | `{{var.order_name}}` | The order number customers see |
| Into the call | `{{var.cod_amount}}` / `{{var.cod_amount_hindi}}` | Amount, spoken in words in Hindi |
| Outcome | `confirmed`, `cancelled` | Customer pressed 1 or 2 and the store accepted it |
| Outcome | `no_input`, `unreachable`, `expired` | Answered but no key; no answer on every attempt; give-up time passed |
| Outcome | `confirmed_elsewhere`, `cancelled_elsewhere`, `action_failed` | Already handled on the store; store update failed and is retried |
| Shopify write-back | Tags `COD-Confirmed` (plus your extra tag), `COD-No-Answer`, `COD-Unreachable`; cancel with restock, no refund, no customer email | |
| WooCommerce write-back | Status from **Order status after confirmation**, order notes such as "COD confirmed by call", meta `_edesy_cod_confirmation` | |
| API / custom store | `POST` to your **Action URL** with `{ action: "confirm" or "cancel" or "tag" or "note", order_id, order_name, call_sid, at }`, signed `X-Edesy-Signature` | |

## Sample script (English)

Order Calls uses a fixed script whose lines you edit, not a free-form prompt. Example wording:

```text
Greeting:   Hello {{var.customer_name}}, this is a call from {{var.store_name}} about your
            order {{var.order_name}} of {{var.cod_amount}} rupees, cash on delivery.
Question:   To confirm your order, press 1. To cancel it, press 2.
Confirmed:  Thank you. Your order is confirmed and will be shipped soon.
Cancelled:  Your order has been cancelled. Thank you.
No answer:  We did not get your answer. We will call again later.
```

The Hindi template speaks the amount in words. See [Hindi and English scripts](https://edesy.in/docs/order-calls/scripts/hindi-and-english-scripts).

Want the call to also confirm the address or offer a prepaid discount? That needs a conversation: use an AI voice agent through the [Calls API](https://edesy.in/docs/voice-agent/api/calls) with `order_number`, `cod_amount` and `address` as variables, billed per minute instead of per order.

## Test it

1. In **Get started**, use **Make a test call to your phone**.
2. Place a COD test order on your store with your own number. Your phone rings after the delay (2 minutes by default).
3. Press 1 and check the order in Shopify: it now has the `COD-Confirmed` tag. Place another and press 2: it is cancelled and restocked.
4. Open **Orders** in Order Calls to see the order's state, outcome and timeline.

## Consent, DND and calling hours

- The customer placed the order, and the call is about that order only. This is a transactional call; keep the script to confirmation, with no promotions.
- Edesy does not scrub numbers against the NCPR (DND) registry.
- Calls are only placed inside the rule's calling window, 09:00 to 21:00 IST by default. Orders placed at night are called when the window opens.
- Sending `order.cancelled` or `order.paid` stops a pending call, so customers who cancel or pay online are not called.

## What it can't do yet

- It is a keypad (DTMF) call, not an AI conversation. Customers can't ask questions or change the address on the call.
- No SMS or WhatsApp fallback for unreachable customers; the order settles as `unreachable` and your outcome actions run.
- No Shopify App Store listing; the connection is a direct one (one-click where offered, or a custom app).
- No native Edesy Commerce preset yet; use the Orders API or CSV.
- For API and custom stores, nothing is sent to your Action URL for `no_input` or `unreachable` unless the rule adds a tag or note action.

## FAQ

**How much does it cost?**
The first 25 orders are free. Then ₹3 for each order where at least one call connected, however many attempts it took, or a plan from ₹999 a month for 400 orders. Orders where nobody picked up are free. Prices exclude 18% GST. See [pricing](https://edesy.in/docs/order-calls/getting-started/pricing).

**Does it reduce RTO?**
It stops unconfirmed COD orders from shipping: cancelled orders are cancelled and restocked, and unreachable ones are tagged so you can hold or cancel them. Your RTO change depends on how many unconfirmed orders you ship today.

**Which orders get a call?**
By default, COD orders that are not already tagged `COD-Confirmed`. You can add conditions on COD amount, order total, item count and tags. See [conditions](https://edesy.in/docs/order-calls/call-rules/conditions).

**What if the customer doesn't answer?**
Two more attempts, 30 and 120 minutes later by default, then the order settles as `unreachable` and is tagged.

**Can it call in Tamil or Bengali?**
The built-in scripts are Hindi and English. For other languages, use an AI voice agent through the Calls API.

## Related

- Blog: [Cut RTO with COD confirmation calls](https://edesy.in/blog/cod-order-confirmation-calls-reduce-rto-2026)
- [COD Order Calls docs](https://edesy.in/docs/order-calls)
- [Overdue invoice reminder call](https://edesy.in/docs/voice-agent/recipes/invoice-overdue-payment-reminder-call)
- [Call results to Google Sheets](https://edesy.in/docs/voice-agent/recipes/call-results-to-google-sheets)
- [COD order confirmation](https://edesy.in/cod-order-confirmation) · [Shopify COD calls](https://edesy.in/cod-order-confirmation/shopify) · [WooCommerce COD calls](https://edesy.in/cod-order-confirmation/woocommerce) · [Shopify + AI voice agent](https://edesy.in/ai-voice-agent/integrations/shopify) · [WooCommerce + AI voice agent](https://edesy.in/ai-voice-agent/integrations/woocommerce)

[Start Order Calls](https://orders.edesy.in/?utm_source=edesy.in&utm_medium=docs&utm_campaign=cod-order-confirmation-call) · [Start the AI voice agent free](https://voice-agent.edesy.in/signup?utm_source=edesy.in&utm_medium=docs&utm_campaign=cod-order-confirmation-call) · [Book a demo](https://edesy.in/demo?product=voice-agent) · Don't see your app? [Request it](https://edesy.in/integrations/request?ref=cod-order-confirmation-call)
