Contact Centres

Answer agent and merchant banking enquiries

Workflow purpose

This guide demonstrates how to use Proto's AI agent to support the banking agents and merchants who serve your customers – the shop owners who handle cash-in and cash-out, and the businesses that take card and mobile money payments.

Agents and merchants have different questions from retail customers: they run out of float, query their commission, wait on settlements and report broken POS terminals. When they can't get an answer, they can't serve customers. The workflow runs on a separate AI agent for your agent network, identifies the agent or merchant from your register, answers what it can from your systems, and routes the rest to the right regional team or a ticket for terminal support.

Who can benefit from this guide:

  • Banks running agent banking networks
  • Mobile money operators with cash-in and cash-out agents
  • Payment providers and acquirers supporting merchants with POS terminals
  • Microfinance institutions using agents to reach rural customers
  • Agent network managers who field float and commission calls every day

Answer agent and merchant enquiries

This workflow identifies the agent or merchant, answers float, commission and settlement questions, and routes faults to the right team 24/7. See how to build an agent and merchant support 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. Set up a separate AI agent for your agent network

Keep agent and merchant support apart from retail customer support, so each AI agent has its own knowledge and routing.

  • Create a new AI agent for the agent network and deploy it on its own channel – a dedicated WhatsApp number for agents, or a Webchat inside your agent or merchant portal.
  • On the Knowledge tab, add your agent operations manual, commission structure and merchant terms to the Knowledge base with Upload file or Add URL, so the AI agent can answer general questions such as “What’s the cash-out limit per customer?”.
  • In Settings › Teams, create one team per region of your agent network (e.g. Agent network – North), and list the towns and districts each team covers under Alternative names. Step 5 uses these names to route float requests.

Agents sometimes message your customer-facing AI agent by mistake. Add a Message received trigger there (“I’m an agent”, “Merchant support”, “My POS isn’t working”) with an AI agent handoff action that passes the chat to the network AI agent – see Switch AI agents between business units. AI agent handoff works on Webchat, full-screen Webchat, WhatsApp and Messenger.

2. Create a trigger

Start the flow when an agent or merchant opens a chat.

  • In the network AI agent, navigate to the Workflows tab.
  • Click New workflow and select Message received as the Workflow type.
  • Name the trigger (e.g. “Agent Network Support”) and add a short description (e.g. “Triggers if a banking agent or merchant asks about float, commission, settlement, their POS terminal or their agent account.”).
  • Add training phrases (e.g. “I need float”, “My commission is wrong”, “Settlement hasn’t come in”, “POS terminal not working”, “Agent support”).

3. Identify the agent or merchant

Check who you’re talking to against your agent and merchant register before sharing any balances.

Add an Ask survey action. Action title: Agent identification

Field Variable Type Invalid reply
Agent or merchant code agent_code Text Please enter the code printed on your agent certificate or merchant agreement

Add a Send API action (HTTP method: GET) to your agent management system, passing agent_code and the number the chat is coming from. On WhatsApp, use {_channel_profile.phone_number} rather than asking for it, so float and commission details only go to the registered number. Resulting variable: agent.

Add a Branch action:

Condition What happens
agent["status"] == "active" Continue to Step 4
agent["status"] == "suspended" “Your agent account is suspended. Our agent network team will contact you.” Then a Live agent handoff to the agent network team
Else (not found) Quick replies: Become an agent (Step 9) | I’m a customer (an AI agent handoff back to your customer-facing AI agent)

4. Ask what the enquiry is about

Offer only the options that fit the role your register returned.

Add a Branch on agent["role"], with a Send message under each:

  • Agent: quick replies Float top-up | Commission | Something else
  • Merchant: quick replies Settlement | POS terminal fault | Something else

“Hi {agent[“name”]}. What can I help with today?“

Add a Message received sub-trigger for each quick reply, with a Jump to the matching step below. Something else goes to the knowledge base answer, then the handoff in Step 9.

5. Handle float top-ups

Float runs out at the busiest times, so show the balance at once and send top-up requests to the team that covers the agent’s area.

Add a Send API action (HTTP method: GET) that fetches the agent’s e-float and cash position into float. Then add a Send message:

“Your e-float balance is {float[“balance”]}. Your daily limit is {float[“limit”]}. Would you like to request a top-up?“

If the agent confirms, add an Auto team match action. Input: {agent["region"]} {agent["town"]}. Resulting variable: matched_team. It compares the input with each team’s name and Alternative names from Step 1, and branches into Match found, No match and Error.

  • Match found: add a Branch on matched_team["name"] with one Live agent handoff per regional team, each with Live agent availability check turned on.
  • No match or Error: hand over to your central agent network team instead.

Before the handoff, add a Send message: “I’ve passed your top-up request to {matched_team[“name”]}. A team member will confirm the transfer here.“ The live agent sees the agent code, balance and region in the Inbox.

6. Answer commission queries

Show what was earned and how, so most commission questions end without a ticket.

Add a Send API action (HTTP method: GET) that fetches the agent’s commission for the last six months into commission. Add a Send graph action:

  • Graph type: BAR
  • Rows: one per month from commission["months"]
  • X-axis label: Month · Y-axis label: Commission
  • Title: Your commission – last 6 months

Send graph is available on Enterprise plans, and its chart shows only in Webchat and full-screen Webchat. Put it under a Branch with the condition _channel.type == "webchat" or _channel.type == "fullscreen_webchat", and under Else add a Send message with the monthly totals instead, so agents on WhatsApp still see them.

Follow it with a Send message showing this month’s total, the payout date and the transaction count, with quick replies That’s right | My commission is wrong.

Under My commission is wrong, add an Ask survey (the month, the amount expected, and an optional Attachment for a screenshot of the agent’s own records), then a Create ticket assigned to your commissions team, with tags commission-query and the agent’s region, and the agent code and month as Custom fields.

7. Check settlement delays

Tell merchants whether a settlement is on its way or genuinely late.

Add an Ask survey with one field – Which trading day?, variable trading_date, type Text, with quick replies Today and Yesterday. Then a Send API action (HTTP method: GET) to your settlement system, passing agent_code and trading_date. Resulting variable: settlement.

Condition Send message
settlement["status"] == "paid" “Your settlement of {settlement[“amount”]} for {trading_date} was paid on {settlement[“paid_at”]} to the account ending {settlement[“account_last4”]}.“
settlement["status"] == "scheduled" “Your settlement of {settlement[“amount”]} is scheduled for {settlement[“expected_at”]}. Settlements can take up to one working day.“
settlement["status"] == "held" Create ticket, below
Else (overdue) Create ticket, below

For held or overdue settlements, add a Create ticket action assigned to your settlements team, with subject Settlement delay – {agent_code} – {trading_date}, the amount and status in the description, and tags settlement-delay and held or overdue. Merchants depend on settlements for cash flow, so have the settlements team keep an Inbox view filtered on the settlement-delay tag and work it every day. The teamspace’s overdue rule in Settings › Tickets › Overdue rules applies to every ticket, so treat it as a backstop – with Reassign ticket to live agent set to a settlements supervisor, any settlement ticket still open after the Apply overdue status after timeframe moves to them.

8. Log POS terminal faults

Capture everything a field technician needs in one ticket.

Add a Send message with two quick checks from your terminal manual – e.g. “Please restart the terminal and check it shows signal bars.” – and quick replies Fixed now | Still not working.

Under Still not working, add an Ask survey action. Action title: Terminal fault

Field Variable Type Invalid reply
Terminal ID (on the sticker at the back) terminal_id Text Please enter the terminal ID from the sticker
What’s wrong? fault_type Text, with quick replies: Won’t switch on, No network, Card reader fault, Printer fault, Other Please choose the fault or describe it
Photo of the screen or error fault_photo Attachment Please upload a photo
Trading address for the technician site_address Text Please enter the shop’s address and a landmark

Turn on Enable skip for the photo. Prefill site_address from agent["address"] where your register holds it, and ask the merchant to confirm.

Add a Create ticket action:

  • Assignee: your terminal support team – or switch Teams to a variable and use matched_team["id"] from an Auto team match on the merchant’s town, to reach the regional field team directly
  • Subject: POS fault – {terminal_id} – {fault_type}
  • Description: merchant name, code, terminal ID, fault, address and contact number
  • Attachment(s): fault_photo
  • Auto-apply tags: pos-fault and the fault type
  • Custom fields: terminal ID, so repeat faults on the same terminal are easy to find

“I’ve logged a fault for terminal {terminal_id}. Our support team will contact you to arrange a fix. Until then, you can still accept mobile money payments.”

9. Handle new agent applications and everything else

Capture interest from would-be agents, and give every other question a route to a person.

Under Become an agent, add a Send message summarising the requirements from your knowledge base – business registration, location, starting float – then an Ask survey for name, business name, town, phone and email. Add a Create ticket assigned to your agent recruitment team, tagged agent-application.

Under Something else, let the AI agent answer from the knowledge base. If the agent or merchant asks for a person, add a Live agent handoff to your central agent network team, with Live agent availability check turned on, so they’re told when to expect a reply outside working hours.

10. Test the flow

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

  • Test an active agent, a suspended agent and an unknown code, and confirm each gets the right path – and that I’m a customer hands back to the customer-facing AI agent.
  • Request a float top-up for agents in two regions and check Auto team match picks the right team, and that an unmatched town reaches the central team.
  • Check the commission graph and totals against a test agent, then raise a commission query and check the ticket’s tags and custom fields.
  • Test a paid, a scheduled and an overdue settlement, and confirm only the overdue one opens a ticket.
  • Log a POS fault with a photo and confirm the ticket carries the terminal ID and attachment.
  • 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.