# Missed Call to AI Callback

> When someone gives a missed call to your Edesy missed-call number, an AI voice agent calls them back within a minute and captures the enquiry. Setup with the call.missed webhook, n8n or Make, and the Calls API, with costs, a Hindi prompt and limits.

Source: https://edesy.in/docs/voice-agent/recipes/missed-call-ai-callback

A customer gives a missed call to your Edesy number; the call is cut, they pay nothing, and within a minute your AI voice agent calls back, asks what they need and logs it. Cost: ₹0.30 per missed-call event plus ₹6 a minute for the callback and telephony. Today the callback needs n8n, Make or a server in between.

**Works with:** Edesy Missed Call **via webhooks in n8n, Make or Zapier**, or **via API** (your server) · Native one-click AI callback: **planned** (available as a set-up-for-you service on request)

> **Note:** Native integration (turn on "AI callback" in the Missed Call portal) is planned. [Request early access](https://edesy.in/integrations/request?app=missed-call).

## How it works

```text
Caller dials your number ──> rejected with busy tone (free for caller)
        │
        ▼
call.missed webhook (from, to, phone_number_name)
        │   n8n / Make / your server: dedupe, check hours
        ▼
POST /api/v1/calls ──> AI agent calls back (≈ 30–60 s) ──> call.analyzed ──> Sheet / CRM
```

## Before you start

- An Edesy Missed Call number. Sign in at [missedcall.edesy.in](https://missedcall.edesy.in), complete KYC, then **Numbers → Buy a number → Use for missed calls**. The number shows **Missed call active**. See [Your first missed call](https://edesy.in/docs/missed-call/getting-started/first-missed-call).
- Wallet balance for webhook events (₹0.30 each on pay as you go). If the wallet can't cover an event, the call is logged as `withheld` and no webhook is sent, so no callback happens.
- A voice agent with a callback prompt and an outbound number, and a voice agent API key (`vp_live_...`) from **Settings → API Keys**.
- An n8n or Make account, or a server endpoint.

## Set it up (n8n)

1. In n8n, create a workflow with a **Webhook** node, method `POST`. Set **Respond** to **Immediately**: the Missed Call service needs a 2xx reply within 5 seconds or it retries. Copy the **Production URL** (it must be public HTTPS).
2. In the Missed Call portal, open **Webhook**. In the **Endpoint** card, paste the URL, enter a **Signing secret (optional)** (recommended), and click **Save**. Click **Send test event** and check n8n received `webhook.test`.
3. In n8n, add an **IF** node that stops when `{{ $json.body.event }}` is not `call.missed` (this drops test events).
4. Optional but recommended: verify the signature in a **Code** node. The header is `X-Edesy-Signature: sha256=<hex>`, an HMAC-SHA256 of the raw body with your secret. See [Verify the webhook signature](https://edesy.in/docs/missed-call/guides/verify-webhook-signature).
5. Add an **HTTP Request** node:

```bash
POST https://voice-agent.edesy.in/api/v1/calls
Authorization: Bearer vp_live_xxxxxxxx
Idempotency-Key: {{ $json.body.data.from }}-{{ $now.toFormat('yyyy-MM-dd') }}
Content-Type: application/json

{
  "agentId": 1042,
  "phoneNumber": "{{ $json.body.data.from }}",
  "variables": {
    "campaign": "{{ $json.body.data.phone_number_name }}",
    "missed_call_time": "{{ $json.body.timestamp }}"
  },
  "retry": { "enabled": true, "maxAttempts": 2, "delayMinutes": 30, "dispositions": ["NO_ANSWER", "BUSY"] }
}
```

   The `Idempotency-Key` built from the caller and the date means a person who rings five times in a day gets one callback.
6. Activate the workflow. Give the number a meaningful name in the portal (for example "Diwali hoarding - Indore"): it arrives as `phone_number_name`, and the agent can use it to know which offer the caller saw.

**Make:** a **Custom webhook** module, a filter on `event = call.missed`, then **HTTP: Make a request** with the same body.
**Your server:** reply 2xx first, then queue the callback; retries and replays carry the same `call_sid`, so use it to drop duplicates.

## Data map

| Direction | Field | Meaning |
|---|---|---|
| From Missed Call | `data.from` | Caller number in E.164 (`+91...`); becomes `phoneNumber` |
| From Missed Call | `data.to`, `data.phone_number_name` | Which of your numbers (which ad or campaign) they called |
| From Missed Call | `data.call_sid`, `timestamp` | Unique call ID (same across retries), time sent (UTC) |
| Into the call | `variables.campaign`, `variables.missed_call_time` | Lets the agent say "you gave us a missed call for the Diwali offer" |
| Back in `call.analyzed` | `disposition` | For example `QUALIFIED`, `NOT_INTERESTED`, `WRONG_NUMBER`, `NO_ANSWER`, `DO_NOT_CALL` |
| Back | `call_summary`, `extracted_data` | What they wanted, for example `product`, `city`, `preferred_time` |
| Back | `recipient_phone`, `variables`, `recording_url` | To match and review the callback |

## Sample agent prompt

```text
You are Anjali from Shree Ganesh Electronics, Indore. This person gave a missed call to
our {{campaign}} number a minute ago. You are calling them back.

Speak in Hindi first: "Namaste, aapne abhi Shree Ganesh Electronics ko missed call di thi,
main Anjali bol rahi hoon. Bataiye, main aapki kya madad kar sakti hoon?"
Switch to English if they reply in English.
Find out: which product (AC, fridge, washing machine, TV), budget, and their area in Indore.
Tell them the Diwali offer: up to 20% off and free installation till 31 October.
Offer a showroom visit or a call from the sales team. Keep answers short.
If they say they called by mistake, apologise and end: set WRONG_NUMBER.
If they ask not to be called, set DO_NOT_CALL. If interested, set QUALIFIED.
```

## Test it

1. Give a missed call to your number from your own phone. It should ring once or twice and disconnect with a busy tone.
2. Check the portal's **Missed calls** log: the call shows a delivery status of `delivered`.
3. Your phone should ring from the agent's number within about a minute.
4. Give a second missed call: the `Idempotency-Key` should prevent a second callback the same day.

## Consent, DND and calling hours

- A missed call is the caller asking you to call back, so the callback is expected. Say who you are and why you're calling in the first sentence.
- Edesy does not check numbers against the NCPR (DND) registry. Don't add missed-call numbers to promotional campaigns without separate consent.
- Missed calls arrive at any hour. Set a calling window under **Settings → Call Settings → Calling Window** (for example 9:00 to 21:00 IST); a callback requested at 11 pm is held and placed when the window opens.
- If the caller asks not to be called (`DO_NOT_CALL`), add the number to **Settings → Blocked Numbers**.

## What it can't do yet

- The Missed Call portal has no built-in "call back with my AI agent" switch; you need n8n, Make or a server. We can set this up for your account on request.
- If your Missed Call wallet runs out, events are `withheld`, not sent later, and no callback happens. Export them by `status=withheld` and call them through a [campaign](https://edesy.in/docs/voice-agent/campaigns).
- Each number can take a limited number of simultaneous calls; for TV or radio bursts, spread the campaign across several numbers.
- The Missed Call signature is `sha256=` over the body only. It is a different scheme from the voice agent's `t=...,v1=...` header, so don't reuse one verifier for both.

## FAQ

**Does the caller pay for the missed call?**
No. The call is rejected before it is answered, so no minutes are billed to the caller.

**How fast is the callback?**
The webhook is sent as the call is cut, and the callback is placed as soon as your automation calls the API, inside your calling window. Most callers get the call within a minute.

**What does it cost per lead?**
₹0.30 for the webhook event (pay as you go; free within fair use on the Unlimited plan), plus about ₹6 to ₹12 for a 1–2 minute AI callback, plus telephony. The number is ₹499 a month. Prices exclude 18% GST.

**Can I send an SMS or WhatsApp instead of calling?**
Yes, from the same n8n or Make flow. A WhatsApp message after the call can be sent from a voice agent [post-call workflow](https://edesy.in/docs/voice-agent/workflows).

**Can I call back from the same number they dialled?**
The callback comes from a number configured in your voice agent workspace. Missed-call numbers reject incoming calls, so use a separate calling number.

## Related

- Blog: [Missed call to AI callback](https://edesy.in/blog/missed-call-ai-callback-2026)
- [Missed Call webhook setup](https://edesy.in/docs/missed-call/guides/webhook-setup)
- [Website call-me form](https://edesy.in/docs/voice-agent/recipes/website-call-me-widget)
- [Call results to Google Sheets](https://edesy.in/docs/voice-agent/recipes/call-results-to-google-sheets)
- [Missed Call Service](https://edesy.in/missed-call-service) · [AI voice agent](https://edesy.in/ai-voice-agent) · [n8n + AI voice agent](https://edesy.in/ai-voice-agent/integrations/n8n)

[Start free](https://voice-agent.edesy.in/signup?utm_source=edesy.in&utm_medium=docs&utm_campaign=missed-call-ai-callback) · [Book a demo](https://edesy.in/demo?product=voice-agent) · Don't see your app? [Request it](https://edesy.in/integrations/request?ref=missed-call-ai-callback)
