Company

Fintech calculator support example: let the tool do the math

A 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.

The hypothetical product

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:

  • "Why is my monthly payment this amount?"
  • "What happens if I choose 36 months instead of 24?"
  • "Does the total include fees?"
  • "Is this an offer?"

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.

The design in three parts

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.

How a conversation would run

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 procedure behind it

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.

Guardrails and disclosure

The team adds these controls before testing:

  1. Refused topics: personal financial advice, eligibility decisions, tax or legal opinions, predictions about rates.
  2. Escalation triggers: words such as "complaint", "unfair", "hardship" and "can't pay".
  3. PII masking for anything typed in chat, such as account numbers.
  4. AI disclosure at the start, with a line that explains what the agent can and cannot do.
  5. A fixed disclaimer in approved Q&A for the question "Is this an offer?", written by the company's compliance contact and quoted word for word.

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.

Test cases for a calculator agent

The team saves a test set in Test > Tests and runs it after every change.

  • Ten inputs where the expected figures are copied from the calculator by hand.
  • Five questions with missing inputs, to check that the agent asks instead of assuming.
  • Five "which should I pick" questions, which must end in a refusal and a handover.
  • Three cases where the endpoint returns an error.
  • Three cases in which the customer disputes a figure, to check that the agent restates what the calculator returned and offers a person.

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.

Where else the pattern fits

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.

Frequently asked questions

Why not let the AI do the calculation itself?

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.

Can an AI agent give financial advice?

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.

What if the calculator is down?

Write a step that says so and escalates. The agent should never estimate a figure to fill the gap.

How do I know the figures are right?

Save test cases with figures taken from the calculator and replay them after each change. Any mismatch is a failure.

Train an agent on your own help center

Askocto answers the repeat questions across chat, email and voice and hands the hard ones to your team.

Keep reading

All articles
Companywhatsapp business app integration
May 4, 20264 min read

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 article
Companyecommerce ai support example
Oct 7, 20255 min read

Ecommerce AI support example: one small shop, one week

A 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