Prompt chaining
Break a task into small model calls that pass results to each other: summarise the account, then classify the risk, then draft the message.
Platform · Logic and workflows
Logic and workflows is the engine behind every app and agent: the order of steps, the decisions between them and who gets the work next. You build it from reusable blocks, keep model costs in check and see exactly why each case went where it did.
Flow: collections reminders
The problem
An NBFC's collections team handles thousands of overdue accounts each week. Each one needs several steps: read the account history, check the last promise to pay, choose the right reminder in the right language, and decide whether a call from an agent is needed. A single chatbot prompt gets some of this right some of the time. The team needs each step written down, in order, with clear rules for when a person takes over.
What it gives you
Break a task into small model calls that pass results to each other: summarise the account, then classify the risk, then draft the message.
Hand part of the work to an agent built in Agent studio, such as a document reader or a reminder agent, and carry its answer back into the flow.
Set limits per step and per run, trim long inputs before they reach the model, and see the cost of each flow so bills do not surprise you.
Save a tested sequence, such as "verify PAN and match name", once and use it in every flow that needs it. Fix it in one place and every flow picks up the fix.
Write branching rules on amount, days past due, language or customer segment, and see the whole tree on one screen.
Send each case to the right queue or person by region, skill or workload, with the reason attached so nobody has to guess why it arrived.
How it works
Flow runs, week of 5 Oct 2026
Accounts processed
3,412
Sent to officers
486
Avg tokens per run
2,180
Failed runs
11
An example
Each morning the flow picks up accounts due in the next three days and those already overdue. A chain reads the repayment history and any promise to pay noted by the field team. The decision tree sorts accounts: a gentle WhatsApp reminder in Gujarati or Hindi for first time late payers, a call task for anyone who broke a promise, and straight to a collections officer for accounts past 60 days. The flow never sends a message that mentions penalties or legal action; those stay with the officer.
An illustrative example with sample data.
Questions
You decide per step. A failed step can retry, fall back to a simpler rule, or stop and send the case to a person with the error shown. Output checks can reject answers that miss required fields or break your wording rules.
Yes. Every run keeps a trace of the inputs, each step's output and the rule that sent it onward. That trace is what a reviewer or auditor looks at when a decision is questioned.
The one chosen for your project. AksharAI works with leading model providers, for example OpenAI, Anthropic Claude, Google Gemini and open models, and different steps in one flow can use different models where that makes sense for cost or language.
Keep going
Platform
Configure an agent's knowledge, actions and limits, then test it like a new hire.
Learn morePlatform
Put together a working AI application on a canvas, then test it before anyone uses it.
Learn moreGuide
A prompt that one person wrote in a weekend becomes a problem the day that person goes on leave. Small steps, instructions in plain language and tests that run before each change keep the flow maintainable by the whole team.
Learn moreSee it on your work
A working session with someone who builds these every week.
Or get a ballpark proposal in two minutesWhat happens next