Contact Centres

Explain fees and charges through AI chat

Workflow purpose

This guide demonstrates how to use Proto's AI agent to answer two kinds of fee question: general ones, such as "How much does an international transfer cost?", and specific ones, such as "Why was I charged 150 yesterday?".

General questions are answered from your published tariff guide, added to the AI agent's knowledge base, so the answer always matches the current fees. For a specific charge, the AI agent verifies the customer, looks the charge up in your core banking system and explains it against the tariff. If the customer still thinks the charge is wrong, it opens a refund request for your team, with the charge details already attached.

Who can benefit from this guide:

  • Banks and credit unions answering repeated fee and charge enquiries
  • Microfinance institutions with loan, ledger and withdrawal fees
  • Mobile money and digital wallet providers with tiered transaction charges
  • Customer service teams handling refund requests for disputed charges

Explain fees and charges

This workflow answers fee questions from your tariff guide and explains individual charges on a customer's account 24/7. See how to build a fees and charges workflow.

Just starting with the platform?
For initial setup of your AI agent – including workspace setup, agent training, and channel deployment – please start here. This workflow guide assumes your AI agent is set up and ready for more advanced configurations.

1. Add your tariff guide to the knowledge base

Give the AI agent the same fee schedule your branches and website use.

  • Open the AI agent and go to the Agent tab. Under Personalization, make sure Large language model is switched on – without it, the AI agent can’t answer from its knowledge.
  • Open the Knowledge tab. In Knowledge base, click Upload file to add your tariff guide as a PDF, or a CSV with one row per fee (product, fee name, amount, when it applies).
  • If the tariff is published on your website, click Add URL instead, so the AI agent reads the live page. Use Excluded pages to leave out pages that would confuse fee answers, such as old tariffs or promotional terms.
  • Use Paste snippet for short rules that aren’t in the guide, e.g. “The first three ATM withdrawals each month are free on the Everyday account.”

Wait until each source shows the Success status before testing. When fees change, replace the old source rather than adding a second one, so the AI agent never sees two prices for the same fee.

With this in place, general questions such as “What does a standing order cost?” are answered from the tariff guide without a trigger. The rest of this guide covers a charge on the customer’s own account.

2. Create a trigger

Start the flow when a customer asks about a charge they’ve already paid.

  • Navigate to the Workflows tab in the AI agent settings.
  • Click New workflow and select Message received as the Workflow type.
  • Name the trigger (e.g. “Explain a Charge”) and add a short description (e.g. “Triggers if user asks why a specific fee or charge was taken from their account. Not for general questions about how much a service costs.”).
  • Add training phrases (e.g. “Why was I charged”, “What is this fee on my account”, “I was charged twice”, “What’s this deduction”, “Unknown charge on my statement”).

The description draws the line between this flow and the knowledge-base answers from Step 1.

3. Verify the customer

Account charges are personal, so confirm who you’re talking to before looking anything up.

Use the account number and one-time PIN steps from Check account balance through AI chat, then continue here once otp_result["verified"] is true. On a signed-in Webchat where the customer is already known, you can skip straight to Step 4.

4. Find the charge

Show recent charges so the customer can point to the right one.

Add a Send API action:

  • HTTP method: GET
  • URL endpoint: your core banking system’s transactions endpoint, passing account_number and filtering to fees and charges from the last 60 days
  • Headers: the authorisation key your system requires
  • Resulting variable: charges

Add a Send message that lists the five most recent charges, numbered:

“Here are your latest charges: 1. {charges[0][“date”]} – {charges[0][“description”]} – {charges[0][“amount”]} 2. {charges[1][“date”]} – {charges[1][“description”]} – {charges[1][“amount”]} … Which one would you like me to explain?“

Then add an Ask survey action. Action title: Charge choice

Field Variable Type Invalid reply
Charge number charge_choice Number Please reply with the number of the charge, from 1 to 5

Add a Set variable action that stores the chosen charge as selected_charge, including its fee code, amount and the transaction it was charged on.

If the list is empty, or under the Error and Timed out branches, tell the customer you couldn’t load their charges and go to Step 7.

5. Explain the charge

Explain the charge in plain words, using the tariff rather than the model’s own idea of what banks charge.

Add an LLM Processing action:

  • Input: {selected_charge}
  • Model: your preferred model, with a low temperature (e.g. 0.2) so explanations stay consistent
  • System prompt: Explain to a bank customer why this charge was applied, in two or three short sentences. Name the fee as it appears in the tariff guide, say what triggered it and what it costs. Only use amounts from the charge and the tariff guide. If the charge doesn’t match any fee in the tariff guide, reply only with NO_MATCH.
  • Use Knowledge info to provide more context: on, so the action reads the tariff guide from Step 1
  • Resulting variable: charge_explanation

Add a Branch action. If charge_explanation == "NO_MATCH", send “I can’t match this charge to our published fees, so I’ll pass it to our team to check.” and go to Step 6 with the reason set to Not in tariff. Otherwise, add a Send message:

“{charge_explanation}”

Follow it with quick replies: That makes sense | I want a refund | Speak to an agent.

6. Request a refund

Capture disputed charges as a ticket, so your team can decide and nothing is refunded automatically.

Under a Message received sub-trigger for I want a refund, add an Ask survey action. Action title: Refund request

Field Variable Type Invalid reply
Why do you think this charge is wrong? dispute_reason Text, with quick replies: Charged twice, Fee should be free, I didn’t make this transaction, Other Please choose a reason or describe it briefly
Anything else we should know? dispute_details Text Please describe the problem in a sentence or two
Email for updates email Email Please provide a valid email address

Turn on Enable skip for Anything else we should know? only.

If the reason is I didn’t make this transaction, the charge may be a sign of fraud rather than a fee question. Add a Branch that sends these cases to your fraud team’s Live agent handoff instead of a ticket, or to your card-blocking flow, such as Report lost or stolen cards with AI chat.

For every other reason, add a Create ticket action:

  • Assignee: your fees and charges or customer service team
  • Subject: Refund request – {selected_charge[“description”]} – {selected_charge[“amount”]}
  • Description: the charge date, fee code, amount, the transaction it was charged on, the AI agent’s explanation and the customer’s reason
  • Full name and Email: the customer’s details
  • Auto-apply tags: refund-request and the reason, e.g. charged-twice
  • Custom fields: fee code and amount, so you can report on which fees are disputed most
  • Email template: a confirmation to the customer with the ticket reference

Then add a Send message:

“I’ve sent your refund request to our team. You’ll get a confirmation email with your reference number. Refunds that are approved are paid back to the same account.”

Your team reviews the request in the Inbox, replies to the customer from the ticket with the decision, and sets it to Resolved. The teamspace’s overdue rule in Settings › Tickets › Overdue rules applies to every ticket, so it’s a backstop rather than your complaint-handling deadline. Put the deadline in the ticket description, and have the team keep an Inbox view filtered on the refund-request tag so requests are decided in time.

7. Hand over to a live agent

Route anyone who asks for a person, or whose charges couldn’t be loaded, to your team.

Under the Speak to an agent sub-trigger, add a Live agent handoff action assigned to your customer service team, with Live agent availability check turned on. The live agent sees the selected charge and the explanation in the Inbox, so the customer doesn’t have to start again.

Review chats where customers chose I want a refund straight after an explanation. They often point to a fee that’s described unclearly in the tariff guide, which is cheaper to fix than to refund.

8. Test the flow

Validate every path before going live using the AI agent tester side panel.

  • Ask a general question, such as “How much is a bank transfer?”, and check the answer matches the tariff guide, with no trigger started.
  • Pick a charge from a test account and check the explanation names the right fee and amount.
  • Test a charge with a fee code that isn’t in the tariff and confirm it goes to a refund ticket marked Not in tariff.
  • Request a refund and check the ticket carries the charge details, reason and tags.
  • Choose I didn’t make this transaction and confirm it reaches the fraud team, not the refund queue.
  • Build and test in an undeployed version – Duplicate the live version first – then Deploy it once every path passes.

Finalise the AI agent deployment by configuring your preferred channels and languages.