Agent setup guide
Razorpay Daily Settlements Digest
Every morning, the last 24 hours of Razorpay payments by status and the settlements, fees and tax, added up in code.
What it does
Every morning, the last 24 hours of Razorpay payments by status and the settlements, fees and tax, added up in code.
- Every morning, reads the Razorpay settlements and payments created in the last 24 hours.
- Counts payments per status and adds up their amounts in code, from Razorpay's own figures.
- Adds up the settled amount, fees and tax in code and shows them in rupees.
- AI writes a headline and what needs you, without typing numbers; the summary is emailed to you.
What it needs
- A paid plan (agents run live on paid plans).
- An AI provider key (Settings → AI Providers).
- Razorpay: a Key Id and Key Secret generated in Live mode (an activated Razorpay account; India-focused).
What it doesn't do
- It never captures, refunds or changes payments.
- It reads up to 100 payments and 100 settlements a day; busier days are only partly counted.
- It doesn't reconcile settlements against your bank statement.
Availability and plans
Available
Its workflow is built and tested, and every app it needs is live. You can get it and set it up now.
Included free on the Enterprise plan; on other paid plans it's a one-time purchase per workspace (the price is on the Agents page). The Agents page in the app always shows its current status.
Before you start
- A paid plan: agents run live, and the Free plan only runs Dry Runs.
- An AI provider key (OpenAI, Anthropic, Google and more) in Settings → AI Providers. AI usage is billed by your provider.
- These apps, connected in Settings → Integrations: Razorpay.
- Nothing to send: the agent runs on a schedule.
- About 5 minutes.
Set it up step by step
Get the agent first (buy it, or it's already yours when your plan includes it), then in Agents → My agents press “Set up this agent”. That creates the agent's workflow in your workspace (it counts towards your plan's workflow limit) and opens the canvas with a setup checklist above it. Each item links to the exact place to go and ticks itself off when it's done.
1. Connect your AI provider
The AI steps run on your own key (OpenAI, Anthropic, Google and more). Add one in Settings → AI Providers.
2. Connect Razorpay
Connect Razorpay with your Live Key Id and Key Secret (Settings → Integrations → Razorpay).
3. Pick your Razorpay account
Open “Read the settlements” and “Read the payments” and pick your Razorpay connection.
| Setting | What to enter | In step |
|---|---|---|
| Razorpay account | Your Razorpay connection (Live). Pick your connected Razorpay account. | “Read the settlements” |
| Razorpay account (payments) | The same Razorpay connection. Pick your connected Razorpay account. | “Read the payments” |
4. Your summary
Open “Note what stands out” and replace the placeholder, then enter your email on “Email your summary”.
| Setting | What to enter | In step |
|---|---|---|
| About your business | Replace the placeholder with your business, who reads the summary and what should be pointed out. It starts as “[YOUR BUSINESS, WHO READS THIS SUMMARY AND WHAT SHOULD BE POINTED OUT (E.G. MANY FAILED UPI PAYMENTS, A SETTLEMENT THAT FAILED)]” until you replace it. | “Note what stands out” |
| Your email (summary) | Who gets the daily summary (up to 5, comma-separated). Replace the example address. It starts as “you@your-business.example” until you replace it. | “Email your summary” |
5. Test it with Dry Run
Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.
6. Switch the trigger on
Open the trigger, set your time zone and switch the schedule on. It runs every day at 9:00.
How it works
The agent is a normal workflow with 7 steps (1 AI step). You can open, edit and monitor it like any other workflow.
- Every day at 9:00 — Runs on a schedule (cron 0 9 * * *, UTC — change it in the trigger's settings). Runs every morning and covers the last 24 hours. Set your time zone on the trigger.
- Read the settlements — Razorpay: List settlements. Reads the Razorpay settlements (payouts to your bank) created in the last 24 hours.
- Read the payments — Razorpay: List payments. Reads the Razorpay payments created in the last 24 hours (up to 100).
- Count and add up — Step. In code, not AI: payments per status with their amounts added up, and the settlements, fees and tax added up, all from Razorpay's own figures (in paise) and shown in rupees.
- Note what stands out — AI step (runs on your AI provider key). AI reads the counted lines and writes a headline and anything that needs you, without typing numbers.
- Email your summary — Sends an email from your workspace's sender. Emails you the counted lines, the settlement totals and the note.
- Done — Kept in the run history. The run history keeps every summary.
Test it with Dry Run
Press Dry Run in the canvas. The agent runs on the sample data stored on its trigger (the “Sample data for Dry Run” box), so you can check every step's output before anything is live.
- Nothing is sent or written: app actions, emails and Slack posts are simulated, and AI steps don't call your AI provider.
Go live
- Open the trigger, set your time zone and switch the schedule on. It runs every day at 9:00.
- Scheduled runs start only once the schedule is activated, and can't repeat faster than your plan's minimum interval.
- The setup checklist adds a “paid plan” item before activation: live runs need a paid plan (the Free plan only runs Dry Runs).
- When every checklist item is done and the trigger is on, the checklist says “Live — this agent is running”. Follow its runs in the workflow's History tab and in Analytics → Agents.
Questions
Can the AI get the numbers wrong?
The AI doesn't handle the numbers: counts and totals are made in code from Razorpay's own figures, and the AI is told not to restate them.
Why are payment amounts in paise?
Razorpay reports amounts in paise (100 paise = ₹1); the payment lines keep Razorpay's unit and the settlement totals are shown in rupees.
Does it change anything in Razorpay?
No. It only reads payments and settlements.
Troubleshooting
- “No AI provider connected” or a rejected key: connect or fix the key in Settings → AI Providers, then press Test there.
- A checklist item stays unticked: the setting is still empty or still contains its placeholder text. Open the step from the checklist and fill it in.
- An app step fails with “Needs reconnect”: the account's access was revoked or expired. Reconnect it in Settings → Integrations.
- It didn't run at the expected time: the schedule must be activated, and its time is in the trigger's timezone.
- A step failed: open the run in History and check that step in the Trace tab for the error and what it received.
Generated from the agent's own workflow, so it always matches what the agent does. Last updated .