When a HIGH or URGENT ticket lands in Edesy Helpdesk, an AI voice agent calls the customer back within minutes, collects the details your team needs and tags the ticket with the outcome. A 3-minute call costs about ₹18 at ₹6 a minute, plus telephony. The summary can't be posted as a ticket note through the API yet.
Works with: Edesy Helpdesk via webhooks in n8n or Make (or your server via API), with the phone from your CRM or sheet · Native Helpdesk to Voice: planned
Note A native "AI callback" action in Edesy Helpdesk, with the summary posted on the ticket, is planned. Request early access.
How it works#
ticket.created (priority HIGH/URGENT) ──> n8n: verify X-Helpdesk-Signature
{ id, ticketNumber, subject, │ phone: CRM / sheet by requester email
priority, requester } ▼
POST /api/v1/calls ──> AI callback ──> call.analyzed
│
PATCH /api/public/v1/tickets/:id (tags, status) ◀┘
summary ──> assignee by email / Slack
Before you start#
- Edesy Helpdesk at helpdesk.edesy.in, admin access.
- A Helpdesk API key from Settings → API keys (starts with
hd_). - The customer's phone in a system you can query by email (your CRM, an order database or a Google Sheet). Helpdesk webhooks and its public API don't include phone numbers.
- A voice agent, its ID, and a voice agent API key (
vp_live_...).
Set it up (n8n)#
- In n8n, add a Webhook node, method POST, Respond: Immediately. Copy the Production URL.
- In Edesy Helpdesk, open Settings. In the Webhooks card, click Add webhook, paste the URL into Endpoint URL, choose Type: Generic (signed), tick
ticket.createdunder Events, and save. - Verify deliveries in a Code node:
X-Helpdesk-Signatureissha256=plus the hex HMAC-SHA256 of the raw body. The event name is inX-Helpdesk-Event. - Add an IF node: continue only when
body.data.priorityisHIGHorURGENT. - Look up the phone by the requester's email in your CRM or sheet. Stop if none.
- Add an HTTP Request node:
POST https://voice-agent.edesy.in/api/v1/calls
Authorization: Bearer vp_live_xxxxxxxx
Idempotency-Key: ticket-{{ $('Webhook').item.json.body.data.id }}
Content-Type: application/json
{
"agentId": 1042,
"phoneNumber": "{{ $json.phone }}",
"variables": {
"customer_name": "{{ $json.name }}",
"ticket_number": "{{ $('Webhook').item.json.body.data.ticketNumber }}",
"ticket_subject": "{{ $('Webhook').item.json.body.data.subject }}",
"ticket_id": "{{ $('Webhook').item.json.body.data.id }}"
}
}
- Activate the workflow.
Write the outcome back#
- Subscribe a second n8n workflow to
call.analyzedin the voice agent (Settings → Webhooks → Add Webhook). - Read
variables.ticket_idfrom the payload and tag the ticket:
PATCH https://helpdesk.edesy.in/api/public/v1/tickets/<ticket_id>
Authorization: Bearer hd_xxxxxxxx
Content-Type: application/json
{ "tags": ["ai-callback", "ai-callback-reached"], "status": "IN_PROGRESS" }
The public API accepts status (NEW, OPEN, IN_PROGRESS, PENDING, RESOLVED, CLOSED, SPAM), priority and tags. Sending tags replaces the ticket's tags, so read the ticket first (GET/api/public/v1/tickets/<id>) and append.
3. Send call_summary and recording_url to the assignee by email or Slack from the same workflow.
Data map#
| Direction | Field | Meaning |
|---|---|---|
| From Helpdesk | event, occurredAt |
ticket.created and when |
| From Helpdesk | data.id, data.ticketNumber, data.subject, data.status, data.priority, data.channel |
The ticket |
| From Helpdesk | data.requester, data.assigneeId |
Requester (email or name); no phone |
| Into the call | customer_name, ticket_number, ticket_subject, ticket_id |
Used in the prompt and returned for write-back |
Back in call.analyzed |
disposition |
SUCCESS (details collected), CALLBACK_REQUESTED, TRANSFERRED, NO_ANSWER, WRONG_NUMBER |
| Back | extracted_data |
For example order_id, issue_category, issue_resolved (Boolean), best_time_to_call |
| Back | call_summary, recording_url |
For the assignee |
Sample agent prompt#
You are Arjun from the customer care team of QuickKart, Bengaluru. {{customer_name}}
raised ticket {{ticket_number}}: "{{ticket_subject}}". You are calling back to help.
Speak in English or Kannada-accented Hinglish; switch to Hindi, Kannada or Tamil if asked.
1. Say you are calling about ticket {{ticket_number}} and apologise for the trouble.
2. Ask them to describe the issue in their words. Ask for the order ID if relevant.
3. Ask what outcome they want (refund, replacement, delivery date) and the best time for a
specialist to call.
4. If they are very upset or ask for a person, transfer to the support line.
Do not promise refunds or dates. Say the specialist will confirm within 4 working hours.
Set SUCCESS once details are collected, TRANSFERRED if transferred, CALLBACK_REQUESTED if
they can't talk now.
Test it#
- Create a ticket from the Helpdesk dashboard with priority High, using a requester email that maps to your own phone in your sheet or CRM.
- Your phone rings. Give an order ID and hang up.
- Check the ticket now carries the
ai-callbacktags and the assignee got the summary.
Consent, DND and calling hours#
- The customer contacted you, so a callback about their own ticket is expected. Say who you are and which ticket in the first sentence.
- Edesy does not scrub against the NCPR (DND) registry.
- Urgent tickets arrive at night. Set Settings → Call Settings → Calling Window; callbacks requested outside it are held until it opens.
- If the customer asks for email only, add them to Settings → Blocked Numbers.
What it can't do yet#
- Helpdesk payloads and its public API have no phone numbers; you need another system to look them up.
- Posting the call summary as a ticket message needs a dashboard login; API keys can only change status, priority and tags.
ticket.createdcurrently fires for tickets created in the dashboard or through the API. Check it fires for your email or portal channel before relying on it for those.
FAQ#
Which tickets get a callback?
Only those that pass your filter, for example priority HIGH or URGENT. You can also filter on channel or words in subject.
Can the agent solve the issue on the call? For simple questions, yes, if you add a knowledge base and tools such as order lookup. For anything else it collects details and hands over.
Can it transfer to a human? Yes, with call transfer to your support number.
What does a callback cost? About ₹18 for a 3-minute call at ₹6 a minute plus telephony, on pay as you go.
Does it work with Freshdesk or Zendesk? The same pattern works with any helpdesk that sends webhooks. See Zendesk + AI voice agent and Freshdesk + AI voice agent.
Related#
- Blog: Helpdesk ticket AI callback
- Missed call to AI callback
- Call results to Google Sheets
- Customer support bot example
- AI voice agent
Start free · Book a demo · Don't see your app? Request it