Introducing the WhatsApp Business app integration
One WhatsApp number can now work in the Business app and with your Askocto agent. The agent takes routine questions and steps back when a team member replies.
Read articleA hypothetical repayment calculator gets an AI support agent that calls the calculator for every figure, explains the result in plain words and stops short of personal advice.
By the Askocto team · · 4 min read
This is a hypothetical example built to show the process, not a real customer story. The company, the calculator and every figure are invented. The example shows one design decision that matters in financial support: the AI agent never calculates a number itself. It asks the company's own calculator, then explains what came back.
In short: Let the calculator produce the figures, let the agent explain them, keep advice out of scope and hand over anything personal to a person. This is not legal or financial advice.
Imagine a small lending app with a repayment calculator on its website. A visitor enters an amount, a term and a rate class, and the calculator shows a monthly payment and the total repaid. Support questions pile up around it:
These are not hard questions, but they have a risk. If a language model does arithmetic on its own, it can produce a figure that looks right and is not the figure the calculator would show. In a financial setting a wrong figure in a chat can become a complaint. The design goal is simple: no number reaches a customer unless the calculator produced it.
| Part | What it does | Where it lives in the agent |
|---|---|---|
| Calculator call | Sends amount, term and rate class, returns the figures | A Custom action (HTTP request) under Actions |
| Explanation rules | Describe how to read the result, what each line means | A procedure under Build > Procedures and approved Q&A under Build > Sources |
| Boundaries | Keep the agent out of advice and offers | Guardrails and escalation triggers |
The calculator call is the key. In Askocto a Custom action sends an HTTP request to an endpoint you control and returns the response to the agent. The company's team exposes a read-only endpoint that runs the same logic as the page. The agent passes the inputs and uses the response. See the Custom action guide for the setup steps.
A short sample, with invented numbers:
Customer: Why is the monthly payment 212.40 on 5,000 over 24 months?
Agent: I can check that with the calculator. For 5,000 over 24 months in rate class B, it returns a monthly payment of 212.40 and a total repaid of 5,097.60. The total is the monthly payment times 24. The difference from 5,000 is the cost of credit shown on the page.
Customer: And if I choose 36 months?
Agent: For 5,000 over 36 months in rate class B, the calculator returns 151.20 a month and 5,443.20 in total. A longer term lowers the monthly payment and raises the total repaid.
Customer: So which should I choose?
Agent: I can't advise on that, because it depends on your own budget and situation. I can pass you to a member of the team who can talk it through. Would you like that?
Three details matter. Every figure is tagged to a calculator call. The agent explains the relationship between the numbers using plain arithmetic the customer can verify. And the last answer stops at the line between information and advice.
The team writes the flow in plain language:
Explain a calculator result
1. Ask for the amount, the term and the rate class if the customer has not given them.
2. Call the repayment calculator with those inputs. Never work out a figure yourself.
3. Quote the monthly payment and total repaid exactly as returned.
4. Explain the difference between the total and the amount borrowed as the cost of credit.
5. If the customer asks which option to choose, whether they qualify, or for an offer, do not answer. Offer to connect them with the team.
6. If the calculator call fails, say you cannot check right now and escalate. Do not estimate.
Step 6 is as important as step 2. A failed call must produce a handover, not a guess. AI agents that take action explains why actions need explicit rules for failure.
The team adds these controls before testing:
Regulated businesses should have their own compliance contact review the wording and the process. AI support for fintech and regulated industries describes the wider review, and the financial services page outlines how teams in the sector use Askocto.
The team saves a test set in Test > Tests and runs it after every change.
Pass only if every figure matches the calculator exactly. The test guide shows how to grade such a set, and AI hallucination lists the failure forms to include, such as invented facts and invented actions.
The pattern fits any product with a computed output: shipping cost estimators, insurance quotes, subscription price builders, tax tools. Keep the logic in the system that owns it, give the agent a narrow way to ask, and write the failure path first. The agent adds speed and plain language. The system keeps the facts.
A language model predicts text and can produce a plausible but wrong figure. Calling the calculator ensures that every number matches what your own system returns.
It should not unless your business is set up and permitted to offer it. Keep the agent to information, refuse advice and hand over to a person. Check your obligations with a qualified adviser.
Write a step that says so and escalates. The agent should never estimate a figure to fill the gap.
Save test cases with figures taken from the calculator and replay them after each change. Any mismatch is a failure.
Askocto answers the repeat questions across chat, email and voice and hands the hard ones to your team.
One WhatsApp number can now work in the Business app and with your Askocto agent. The agent takes routine questions and steps back when a team member replies.
Read articleKnow your agent puts an agent's knowledge, rules, abilities and channels on one page, with the gaps highlighted, so anyone on the team can see what it will do before customers do.
Read articleA hypothetical ceramics shop adds an AI agent for order status, returns and product questions. See the setup, a week of conversations and an illustrative before and after.
Read article