Recipes · 2 min read · For everyone
EMI or payment reminder from a Google Sheet
Keep due dates in a Google Sheet, remind each customer on WhatsApp 3 days before the due date, call those who don't respond, and write the result back to the sheet.
At the end you'll have reminders going out automatically 3 days before each customer's EMI or payment due date: a WhatsApp message first, a call from an AI agent if they don't react, and the outcome written back to your Google Sheet.
There are two ways to keep due dates in LemuAI. This recipe uses custom records (one record per loan or invoice, with its due date), because a customer can have several. The sheet feeds the records; journeys run on the record's date.
Before you start#
- A Google Sheet with one row per loan or invoice, with columns like:
loan_id,phone,name,emi_amount,due_date(as2026-12-05or05/12/2026),status. - Google Sheets connected under Settings → Integrations (see Google Sheets).
- WhatsApp connected with an approved Utility template, for example: "Hi {{1}}, your EMI of ₹{{2}} is due on {{3}}. Reply PAID if you've already paid."
- For the call: a voice agent like the one in Agent Node (payment reminder), telephony and Voice minutes.
Steps#
Create the record type
Audience → Custom records → New record type named
Loans, from the spreadsheet: fieldsloan_id(the identifier),emi_amount(Number),due_date(Date),status(Choice: active, paid, overdue). The owner is matched byphone. See Custom Records.Load the rows
Import the sheet (or a CSV export of it) into Loans, mapping each column. Re-import when the sheet changes, or send changes with the records API.
Create the journey
Engage → Journeys → New Journey, trigger Record date: record type
Loans, date fielddue_date, 3 days before, start at10:00inAsia/Kolkata, with the filterstatusisactive. Each record starts one run per due date; changing the date sets it up again.WhatsApp reminder
Add a WhatsApp step with the template.
{{1}}= first name,{{2}}={{context.object.emi_amount}},{{3}}={{context.object.due_date}}.Wait for a reply
Add Wait for reply (24 hours).
- text → AI step in Classify mode with labels
paid,will_pay,problem. Onpaid: Update recordstatus=paid, then End. - timeout → next step.
- text → AI step in Classify mode with labels
Call
Add a Call step with your payment reminder agent (pass
emi_amountanddue_date; bring backpromised_date).Write back to the sheet
Add Update Google Sheet: columns
last_reminder=now(),promised_date={{context.promised_date}}. The row is found by the contact's phone.Go live
Set Allowed hours (calls 10:00 to 19:00 are typical for collections), then Go live.
Check it worked#
- Add a test row with your phone and a due date 3 days from today, and load it.
- At the start time (10:00) on the day 3 days before the due date, you get the WhatsApp message. Record date journeys check every 15 minutes after the start time; a record added later that day still starts.
- Don't reply: after 24 hours your phone rings. Promise a date.
- The sheet row now has
last_reminderandpromised_date, and Journey Runs shows each step.
Common problems#
| What you see | Fix |
|---|---|
| Import errors like "isn't a date (YYYY-MM-DD or DD/MM/YYYY)" | Fix the date format in the sheet. See Contacts and data |
| "No contact {phone} in this organization" | The phone is missing or wrong in the row |
| Update Google Sheet fails | The column headers must already exist in the sheet, spelled exactly |
| Calls go out at night | Set Allowed hours for calls in Workflow Settings |
Was this page helpful?
Docs