# Form Submission to AI Call

> Call every new form lead within a minute with an Edesy AI voice agent. Setup for Edesy Forms through n8n, Make or Zapier webhooks, Google Forms through Edesy Flow, and any form through the Calls API, with the data map, a Hindi/English prompt and consent rules.

Source: https://edesy.in/docs/voice-agent/recipes/form-submission-ai-call

When someone submits your Edesy Forms or Google Forms form, an Edesy AI voice agent calls them, usually within a minute, asks your qualifying questions in Hindi or English, and sends the outcome back. A 2-minute call costs about ₹12 at ₹6 a minute, plus telephony. It should only call people who ticked a consent box on the form.

**Works with:** Edesy Forms **via webhooks in n8n, Make or Zapier**, or **via API** · Google Forms **via Edesy Workflow** · any form that can send a webhook **via API** · Native Edesy Forms to Voice: **planned**

> **Note:** Native integration (pick an agent inside Edesy Forms, no middle step) is planned. [Request early access](https://edesy.in/integrations/request?app=edesy-forms).

## How it works

```text
Form submitted ──> webhook / App event ──> POST /api/v1/calls ──> AI call (≈ 30–60 s after submit)
 (Edesy Forms,      (n8n, Make, Zapier       agentId, phoneNumber,        │
  Google Forms)      or Edesy Flow)          variables                    ▼
                                                              call.analyzed webhook
                                                              disposition, call_summary,
                                                              extracted_data ──> Sheet / CRM
```

## Before you start

- An Edesy voice agent with a prompt and a phone number. See [Creating an agent](https://edesy.in/docs/voice-agent/agent-setup).
- An API key from **Settings → API Keys** in the voice agent (starts with `vp_live_`). See [Authentication](https://edesy.in/docs/voice-agent/api/authentication).
- Your agent's ID (shown on the agent page).
- A form with a **Phone** field and a consent checkbox. Edesy Forms validates phone answers in E.164 (`+919876543210`).
- For Path A: an n8n, Make or Zapier account. For Path B: an [Edesy Flow](https://edesy.in/workflow-automation) account.

## Path A: Edesy Forms via n8n (or Make)

Edesy Forms sends every response as JSON. Answers are keyed by each field's internal ID, not its label, so first collect the IDs.

1. In Edesy Forms, open the form, select the phone field and click **Copy internal ID**. Do the same for the name field and any field you want the agent to know (for example "Course interested in").
2. In n8n, add a **Webhook** node, method `POST`. Under **Authentication**, choose **Header Auth** with a header such as `X-Form-Secret` and a long random value. Edesy Forms does not sign its webhooks, so this header is how you reject fake requests. Copy the node's **Production URL**.
3. In Edesy Forms, go to **Integrations** in the sidebar and click **Add integration**.
   1. **Choose a service:** Webhook.
   2. **Configure:** paste the n8n URL into **Endpoint URL**, keep **HTTP method** `POST`, and in **Custom headers (JSON)** enter `{"X-Form-Secret": "your-random-value"}`.
   3. **Choose forms:** pick your lead form, give the integration a **Name**, and save.
4. Back in n8n, add an **HTTP Request** node after the webhook (or the Edesy **Voice Agent** node's **Make Call** operation, see [n8n node](https://edesy.in/docs/voice-agent/api/n8n)):

```bash
POST https://voice-agent.edesy.in/api/v1/calls
Authorization: Bearer vp_live_xxxxxxxx
Idempotency-Key: {{ $json.body.responseId }}
Content-Type: application/json

{
  "agentId": 1042,
  "phoneNumber": "{{ $json.body.responses.fld_phone }}",
  "variables": {
    "customer_name": "{{ $json.body.responses.fld_name }}",
    "interest": "{{ $json.body.responses.fld_course }}",
    "lead_source": "{{ $json.body.formTitle }}"
  },
  "retry": { "enabled": true, "maxAttempts": 2, "delayMinutes": 30, "dispositions": ["NO_ANSWER", "BUSY"] }
}
```

   Replace `fld_phone`, `fld_name` and `fld_course` with the IDs you copied. The `Idempotency-Key` stops a resent webhook from calling the same lead twice.
5. Add an **IF** node before the HTTP Request that continues only when the consent field is ticked.
6. Activate the workflow.

**Make:** the same steps with a **Custom webhook** module and an **HTTP: Make a request** module.
**Zapier:** in step 3 choose **Zapier** and paste a **Catch Hook URL** from "Webhooks by Zapier", then add a "Webhooks by Zapier" **POST** action with the body above. The Edesy Zapier app is not published yet, so use the webhook action.

## Path B: Google Forms via Edesy Workflow

1. In [Edesy Flow](https://flow.edesy.in), open **Integrations**, find **Edesy Voice Agent** and click **Connect**. Enter a **Connection Name** and your voice agent **API Key**. Connect **Google Forms** the same way.
2. Create a workflow. From **Triggers**, add **App event**: App **Google Forms**, Event **New Form Response**, pick the connection, and set **Check every (minutes)** to `1`. Google Forms has no push webhook, so Flow polls; the call goes out within about a minute of the poll.
3. Add an **Integration** step, choose **Edesy Voice Agent**, then **Select Action: Make Outbound Call**.
4. Fill the **Action Inputs**:

| Input | Value |
|---|---|
| Agent ID | `1042` (your agent) |
| Phone Number | The phone answer, for example `{{<trigger node id>.<phone field>}}`. Run the trigger once and open the run to see the exact path |
| Call Variables | `{ "customer_name": "{{<trigger node id>.<name field>}}", "lead_source": "Google Form" }` |
| Callback URL | Optional. Leave empty and use webhook subscriptions instead |

5. Save, turn the workflow on and submit a test response.

> **Note:** A Flow workflow can also start from an Edesy Forms webhook, but Flow's webhook trigger isn't self-serve in the editor yet. We set it up for you on request; until then use Path A.

## Path C: any form, your own server

Have your form backend call `POST /api/v1/calls` with the body from Path A right after it saves the submission. See the [Calls API](https://edesy.in/docs/voice-agent/api/calls).

## Get the result back

1. In the voice agent, go to **Settings → Webhooks**, click **Add Webhook**, enter your n8n/Make URL as the **Endpoint URL**, tick **call.analyzed**, and click **Create Webhook**. Save the secret shown once.
2. Verify each delivery: `X-Webhook-Signature: t=<unix seconds>,v1=<hex>` is HMAC-SHA256 of `<t>.<raw body>` with that secret. See [Webhook subscriptions](https://edesy.in/docs/voice-agent/api/webhook-subscriptions).
3. Route on `disposition`: write `QUALIFIED` leads to your CRM, everything to a sheet. See [Call results to Google Sheets](https://edesy.in/docs/voice-agent/recipes/call-results-to-google-sheets).

## Data map

| Direction | Field | Source or meaning |
|---|---|---|
| Into the call | `phoneNumber` | The form's phone answer. 10-digit Indian mobiles are normalised to `+91` |
| Into the call | `variables.customer_name` | Name answer; the prompt uses `{{customer_name}}` |
| Into the call | `variables.interest`, `variables.lead_source` | Anything the agent should mention |
| Back in `call.analyzed` | `disposition` | `QUALIFIED`, `NOT_INTERESTED`, `CALLBACK_REQUESTED`, `NO_ANSWER`, `DO_NOT_CALL` and others. See [dispositions](https://edesy.in/docs/voice-agent/post-call/dispositions) |
| Back | `call_summary` | Two or three lines on what was said |
| Back | `extracted_data` | Fields from your [extraction template](https://edesy.in/docs/voice-agent/post-call/extraction-templates), for example `budget_range`, `preferred_batch`, `callback_time` |
| Back | `variables` | Echo of what you sent, to match the call to the response |
| Back | `conversation_id`, `recipient_phone`, `call_duration`, `recording_url` | Call ID, number dialled, seconds, signed recording link |

## Sample agent prompt

```text
You are Priya, an admissions counsellor at Shiksha Coaching, Jaipur. You are calling
{{customer_name}}, who just filled our enquiry form about {{interest}}.

Speak in simple Hinglish. If the person replies in pure Hindi or English, switch to it.
1. Greet them by name and say you are calling about the form they just filled.
2. Ask which exam and which year they are preparing for.
3. Ask if they prefer the morning or evening batch, online or at the Malviya Nagar centre.
4. Ask their budget range for the full course.
5. If they want a counselling session, offer tomorrow 11 am or 5 pm.
Keep each turn under two sentences. Never promise a selection or a discount.
If they say they did not fill a form or don't want calls, apologise, end politely and
set the outcome to DO_NOT_CALL. Set QUALIFIED if they have an exam, a batch preference
and agree to a session; NOT_INTERESTED if they decline; CALLBACK_REQUESTED if busy.
```

## Test it

1. Submit the form with your own number and tick consent.
2. Your phone should ring within about a minute. Answer as a lead would, then end the call.
3. In n8n or Flow, check the run succeeded. In the voice agent, open **Call history** for the transcript and disposition.
4. Confirm the `call.analyzed` delivery under **Settings → Webhooks**, eye icon (delivery logs).
5. Submit again with the same response ID (resend in n8n): the `Idempotency-Key` should stop a second call.

## Consent, DND and calling hours

- **Opt-in:** add a required checkbox such as "I agree to receive a call about my enquiry on this number. The call may be recorded." and only call when it is ticked.
- **DND:** Edesy does not scrub numbers against the NCPR (DND) registry. A form submission with consent is your basis to call; keep the consent record.
- **Calling hours:** set a window under **Settings → Call Settings → Calling Window** (for example 9:00 to 21:00 IST). Calls requested outside the window are held and placed when it opens.
- **Opt-out:** when a call ends `DO_NOT_CALL`, add the number under **Settings → Blocked Numbers** and drop it from your list. Blocked numbers are refused on every outbound call.

## What it can't do yet

- Edesy Forms has no native "call this lead" action; you need n8n, Make, Zapier or your server in between.
- Edesy Forms webhooks are not signed. Protect the endpoint with a secret header.
- The result is not written back onto the Edesy Forms response; send it to a sheet or CRM.
- Google Forms is polled (every minute at best), so it is slower than a webhook.
- If a call is held for the calling window, the API returns `status: "initiated"` without a `conversationId`; match the later `call.analyzed` by your `variables` instead.

## FAQ

**How fast does the call go out?**
With a webhook (Path A or C), the call is placed as soon as your automation calls the API, normally a few seconds after submit; the phone rings 10 to 30 seconds later. Google Forms adds up to a minute of polling.

**Can the agent speak Hindi, Marathi or Tamil?**
Yes. The agent supports 14 Indian languages and Hinglish. Set the agent's language and write the prompt in that language, or let it switch. See [languages](https://edesy.in/docs/voice-agent/languages).

**What does one lead cost?**
At pay-as-you-go rates, ₹6 a minute for the AI agent plus telephony. A 2-minute qualification call is about ₹12 plus telephony. Unanswered calls use no agent minutes.

**Will a lead be called twice if they submit twice?**
Send the response ID as `Idempotency-Key` to stop duplicate webhook deliveries. To stop genuine resubmissions, check your sheet or CRM for the number before calling.

**Can I use Typeform, Tally or my website's contact form?**
Yes, through Path A or C. Any form that can send a webhook works the same way.

## Related

- Blog: [Auto-call form leads with an AI voice agent](https://edesy.in/blog/auto-call-form-leads-ai-voice-agent-2026)
- [Website call-me form](https://edesy.in/docs/voice-agent/recipes/website-call-me-widget), the native alternative when the form is only for call requests
- [Facebook Lead Ads to AI call](https://edesy.in/docs/voice-agent/recipes/facebook-lead-ads-ai-call)
- [Call results to Google Sheets](https://edesy.in/docs/voice-agent/recipes/call-results-to-google-sheets)
- [Edesy Forms](https://edesy.in/form-builder) · [Google Forms + AI voice agent](https://edesy.in/ai-voice-agent/integrations/google-forms) · [Website forms + AI voice agent](https://edesy.in/ai-voice-agent/integrations/website-forms)
- [AI voice agent](https://edesy.in/ai-voice-agent)

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