An AI voice agent calls existing customers whose annual maintenance contract is due. When a customer agrees to renew, the post-call workflow sends a payment link for the exact amount from your own Razorpay or Stripe account by WhatsApp or SMS, and creates a draft invoice for them in Edesy Invoice.
Works natively: every step is set up inside the Edesy apps themselves, with no other tool in between.
How it connects
Native
Starts when
Call analysed (call.analyzed)
Good for
Home services, B2B trade, Any business
Each hop is labelled with how it connects today.
Edesy AI Voice Agent: Call analysed (call.analyzed)
The Data extracted trigger fires after each renewal call with agreed_to_pay, the plan chosen and the amount, plus the customer's Edesy Invoice customer ID passed in as a call variable.
Razorpay: Send a payment link (post-call step)
After a Condition step (agreed_to_pay is true), the Send payment link step creates a link for {{amc_amount}} in INR from your own gateway, with a description like "AMC renewal, RO purifier", and sends it to {{recipientPhone}} by WhatsApp, SMS or both.
Edesy Invoice: Create an invoice (voice post-call webhook step)
A Webhook step posts to https://invoice.edesy.in/api/v1/documents with Authorization: Bearer inv_..., type invoice, the customer ID from the call variables and one line item for the plan, creating a draft invoice in the right number series.
Result: Customers who say yes on the call can pay within minutes, and your accounts team finds a matching draft invoice waiting instead of retyping the renewal from call notes.
Let the agent offer two instalments, extract the first amount, and send the link for that; the invoice still carries the full plan value.
Instead of a draft, wait for the payment to land and record it in Edesy Invoice, so the customer receives a paid tax invoice.
Add a Delay step and a WhatsApp template reminder for links that are still unpaid the next day.
Renewal calls are where small service businesses quietly lose money. The customer says yes, the executive promises to "send the details", and by the time a payment link goes out the next afternoon the customer has forgotten, or a local technician has offered a cheaper deal. This recipe closes that gap: the moment the call is analysed and the agent has recorded that the customer agreed and at what price, a payment link for that exact amount goes to their WhatsApp and SMS from your own Razorpay or Stripe account. At the same time a draft invoice is created in Edesy Invoice against the right customer, so accounts does not rebuild the sale from call notes and GST numbering stays in one place. The agent quotes only prices you put in the prompt, and the amount comes from what the customer accepted, so there is no room for a mistyped figure. Customers who want to think about it get a callback outcome instead of a link they did not ask for.
Service companies with a base of existing customers on annual contracts: water purifier and appliance AMC providers, pest control, lift and generator maintenance, software subscriptions billed annually, and coaching institutes collecting the next instalment. It fits teams that already keep customers in Edesy Invoice and want renewals collected without a collections desk making every call.
What goes in, and what the team sees at the end. Field names are suggestions; map them to your own.
| Field | Example |
|---|---|
| recipientName | Lakshmi Narayanan |
| recipientPhone | +919884023456 |
| invoice_customer_id | 7c1e9a52-...Call variable from your customer list |
| product | RO water purifier, installed March 2024Call variable |
| plan_chosen | Comprehensive AMC, 1 yearExtraction field |
| amc_amount | 3999Extraction field, in rupees |
| agreed_to_pay | trueExtraction field |
| Field | Example |
|---|---|
| Payment link | ₹3,999, "AMC renewal, RO purifier", expires in 48 hours |
| Sent via | WhatsApp and SMS |
| Invoice | Draft INV-0412 for Lakshmi Narayanan |
| Line item | Comprehensive AMC, 1 year, ₹3,999 incl. GST |
| Invoice status | Draft, for accounts to review and send |
AI agent
Vanakkam Lakshmi madam, this is Divya from AquaCare. The maintenance plan for your RO purifier ends on 15 December. Shall I tell you the renewal options?
Caller
Yes, what is the price this year?
AI agent
The comprehensive plan with filters and two services is 3,999 rupees including GST. The basic plan without filters is 2,499.
Caller
Comprehensive is fine. How do I pay?
AI agent
I will send a secure payment link for 3,999 on WhatsApp and SMS right after this call. It is valid for 48 hours, and the invoice follows from our accounts team.
Caller
Okay, I will pay tonight.
Works natively: every step is set up inside the Edesy apps themselves, with no other tool in between.
Razorpay
In the voice agent, connect your own Razorpay or Stripe account under Integrations, Payments. Money is collected into your account, not Edesy's.
Razorpay setupEdesy Invoice
Make sure each customer you will call exists in Edesy Invoice, export their customer IDs with your call list, and create an inv_ API key in Settings.
Open Edesy InvoiceEdesy AI Voice Agent
Use your renewal script with the plan prices in the prompt, pass customer name, product and invoice_customer_id as call variables, and extract plan_chosen, amc_amount and agreed_to_pay.
Open the voice templateEdesy AI Voice Agent
Post-call workflow, Data extracted trigger, Condition agreed_to_pay is true, then Send payment link with the amount field {{amc_amount}}, the phone field and Send via WhatsApp and SMS.
Open Edesy AI Voice AgentEdesy Invoice
Below it, a Webhook step: POST https://invoice.edesy.in/api/v1/documents with the Authorization header, and a body with type, customerId, issueDate and one line for the plan.
Open Edesy InvoiceEdesy AI Voice Agent
Add yourself as a test customer, call yourself, agree to renew, and check that the link arrives and a draft invoice appears in Edesy Invoice.
Open Edesy AI Voice AgentPrefer a full tutorial with screenshots of each screen? Read the setup guide in the docs.
The payment link and the invoice are separate records: when the customer pays, record the payment against the invoice in Edesy Invoice. The two are not reconciled automatically.
The invoice step needs the customer to exist in Edesy Invoice with their ID passed into the call; it does not create new customers.
Payment links come from your own Razorpay, Stripe or PayU account, with that gateway's fees; Edesy does not collect the money.
Call only existing customers who agreed to service calls, between 9 am and 9 pm, and stop if they ask. Calls are billed per minute plus telephony.
Call only people who agreed to be called: every form in these recipes has a required consent box.
Calls go out between 9 am and 9 pm; anything later is scheduled for the next morning.
The agent says which business it is calling for and stops calling anyone who asks it to.
The per-app templates this recipe starts from. Open any of them to see the full structure.
No, and it should not. The agent agrees the plan and amount, and the customer pays through a hosted Razorpay or Stripe link sent by WhatsApp or SMS, so no card or UPI details are spoken on the call.
Into your own gateway account. The Send payment link step uses the Razorpay or Stripe account you connected under Integrations, Payments; without one it stops with a "connect your gateway" error rather than collecting elsewhere.
The Webhook step creates it as a draft, so your accounts team can check GST, place of supply and the series before issuing. If you prefer, add the customer's e-mail and send it from Edesy Invoice once payment arrives.
The call recording and transcript sit with the call, and the amount on the link came from the extracted amc_amount, so you can play back the exact moment the customer chose the plan.
A two-minute renewal call is about ₹12 on pay as you go at ₹6 a minute, plus telephony, and ₹4 a minute on plans. Gateway fees apply on the payment, as with any Razorpay link.
When an Edesy Invoice invoice turns overdue, Edesy Workflow looks up the customer's phone and the AI voice agent calls them: invoice number, balance, due date and a pay link on WhatsApp. The agent asks when they will pay, and the promise-to-pay date, any dispute and a summary go into an Edesy Tables collections table.
Trigger set up for youInvoice → Workflow → AI Voice Agent → WhatsApp → TablesOrder form to a payment link and GST invoiceA customer fills in your order form, Edesy Workflow emails them a Razorpay payment link for the order total, and when the payment succeeds it asks Edesy Invoice to issue a paid GST invoice and email it with the receipt. Unpaid orders expire on their own and nobody chases a screenshot.
With Edesy WorkflowWorkflow → Razorpay → InvoiceSend the right WhatsApp follow-up after every callRight after an Edesy AI voice agent call, the post-call workflow reads the outcome and sends the matching WhatsApp template from your business number: brochure and price list for interested buyers, site location for booked visits, and a "we will call you at 7" note for callbacks. Not-interested callers get nothing.
NativeAI Voice Agent → WhatsAppNo answer? Retry, send an SMS, call again next morningWhen an AI call to a lead is busy or unanswered, the voice agent retries twice the same day. After the last attempt it sends an SMS saying who called and why, and a follow-up workflow calls once more at 10 am the next day. Leads who still do not pick up are closed as No answer.
NativeAI Voice Agent → SMS