# Call every new COD order on Shopify

> Have your AI voice agent call each new Cash on Delivery order on your Shopify store, confirm the product, amount and address in Hindi, English or another Indian language, and tag the order with the outcome.

Source: https://edesy.in/docs/voice-agent/store-integrations/shopify-cod-confirmation

Your voice agent can call every new **Cash on Delivery** order on your Shopify store a few seconds after it's placed. It greets the customer by name, reads out the product and the amount, confirms the delivery address, and writes the result back to the order as a **tag** and a **note**.

This is a conversation, not a keypad menu: the customer can correct the address, ask about the product, or ask to be called later. If a yes-or-no keypress is all you need, [COD Order Calls](https://edesy.in/docs/order-calls) is the lower-cost option.

## Before you start

- A **voice agent** that speaks your customers' language. You'll give it the COD script in step 3.
- A **phone number** for the agent to call from. A number you bought on Edesy works, including one bought on the Edesy telephony portal (see [Connect a Virtual Number to an Agent](https://edesy.in/docs/voice-agent/phone-numbers/connect-virtual-number#a-number-you-bought-on-the-edesy-telephony-portal)).
- **Admin access** to your Shopify store and its Dev Dashboard.

## Step 1: Connect your Shopify store

Follow steps 1 to 3 of [Answer Shopify product and order-status calls](https://edesy.in/docs/voice-agent/integrations/shopify-product-and-order-calls): create an app in your Shopify Dev Dashboard, install it on your store, then in the voice agent app open **Marketplace → E-commerce Stores → Connect Shopify** and paste the store domain, **Client ID** and **Client secret**.

## Step 2: Allow order updates

The tags and notes need one more Shopify permission, `write_orders`. Without it the calls still go out, but nothing is written to the order.

1. Go to **dev.shopify.com**, open your app, go to **Versions** and click **Create a version**.
2. Under **Access scopes**, keep the existing scopes and add `write_orders`.
3. Click **Release**.
4. Open your Shopify admin. The app asks for the new permission: approve it.

## Step 3: Request COD activation

Our team switches on COD calls for your agent and sets these with you:

| Setting | Default | Range |
|---|---|---|
| Attempts per order (if unanswered) | 3 | 1 to 5 |
| Gap between attempts | 30 minutes | 5 minutes to 24 hours |
| COD calls per day for the store | 100 | 1 to 1,000 |

[Request COD activation](https://edesy.in/ai-voice-assistant/integrations/shopify/cod-confirmation#request-cod-activation)

## What the agent says

A typical call in Hindi:

> **Agent:** Namaste Rahul ji, main *Your Store* se bol rahi hoon. Kya abhi aapse ek minute baat ho sakti hai?
> **Customer:** Haan, boliye.
> **Agent:** Aapne Garden Sickle ka order kiya tha, ₹349 ka, Cash on Delivery. Kya aap ise confirm karna chahte hain?
> **Customer:** Haan.
> **Agent:** Aapka pata 12 MG Road, Pune 411001 hai. Kya yeh sahi hai?

The agent uses the customer's first name, the order number, the product (long catalogue titles are shortened so they're quick to say), the amount and the delivery address from the order. Use the [COD script generator](https://edesy.in/tools/cod-confirmation-script-generator) for a starting script in your language.

## What gets written to the order

| Outcome | Tag |
|---|---|
| Customer confirms | `COD Confirmed` |
| Customer wants to cancel | `COD Cancel Requested` |
| Customer asks to be called later | `COD Callback Requested` |
| Wrong person or wrong number | `COD Wrong Number` |
| The answer wasn't clear | `COD Unclear` |
| Customer gives a new address | `COD Address Changed`, added alongside the outcome tag |

A short note with the details (for example the corrected address) is added to the order. Edesy **never cancels an order itself**: a cancel request becomes a tag and your team decides. Filter your Shopify orders list by these tags to see what's ready to ship.

## Which orders get a call

An order is called when all of these are true:

- The payment method is Cash on Delivery (Shopify's "Cash on Delivery (COD)" or a COD app's payment method).
- The order isn't cancelled and isn't a test order.
- It has an **Indian mobile number** (+91, starting 6 to 9) on the shipping address, billing address or customer. International, landline and premium-rate numbers are never called, because anyone can place a COD order on a public store.
- The store is under its daily COD call limit.

Each order is called once. If Shopify resends the same order, it isn't called again.

## What the agent can and can't look up

On these calls the agent can **search your products** to answer questions about them. It **can't read other orders**: whoever answers a COD call must not be able to ask about someone else's purchase.

## Troubleshooting

| What you see | Likely cause | What to do |
|---|---|---|
| No call for a COD order | Not a COD payment method, a test order, or a phone number that isn't an Indian mobile | Check the order's payment method and phone number |
| No calls after a busy day | The daily COD call limit was reached | Ask us to raise the limit |
| Calls stopped altogether | Your telephony wallet is empty, so the carrier refuses the call | Top up the wallet for the number the agent calls from |
| The call happens but no tag appears | `write_orders` was not approved | Do step 2, then approve the permission in Shopify admin |
| The customer says they didn't get a call | The phone number on the order is wrong (one digit off is common) | Check the number on the order; correct it and ask us to call again |

## What it costs

COD calls are billed like any other voice agent call, per minute of conversation, plus the number's call charges. See [AI voice agent pricing](https://edesy.in/ai-voice-agent/pricing). There's no extra Shopify fee.

## Related

- [AI COD confirmation calls](https://edesy.in/ai-voice-assistant/use-cases/cod-verification)
- [Answer Shopify product and order-status calls](https://edesy.in/docs/voice-agent/integrations/shopify-product-and-order-calls)
- [Order events and outcomes](https://edesy.in/docs/voice-agent/store-integrations/order-events)
- [COD Order Calls (press-1)](https://edesy.in/docs/order-calls)
