Anti-Scam Utilities
Grievance Redress

Report unlicensed operators through AI chat

Workflow purpose

This guide demonstrates how a regulator can use Proto's AI agent to collect reports about operators working without a licence – illegal lenders, unregistered investment schemes, fake insurers and unauthorised telecoms services – and send each one to the enforcement team that handles that activity.

The AI agent collects everything an investigator needs: the operator's name, website, app, phone numbers and social media pages, how the person was approached, and screenshots. It checks your register first, so reports about licensed firms go to the normal complaints process instead. People who have lost money are routed straight to scam reporting. Every report is classified by activity with AI and arrives as a tagged ticket for the right enforcement team.

The public often sees unlicensed operators before supervisors do. A simple, always-open reporting channel turns those sightings into evidence.

Who can benefit from this guide:

  • Financial regulators and central banks acting against unlicensed lending and deposit-taking
  • Capital markets and insurance regulators
  • Communications regulators dealing with unauthorised operators
  • Anti-scam centres collecting intelligence on illegal operators
  • Consumer protection agencies sharing reports with enforcement teams

Report unlicensed operators

This workflow collects evidence about unlicensed operators, classifies the activity and routes each report to the right enforcement team. See how to build an unlicensed operator reporting 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. Create a trigger

Start the flow when a person wants to report a company they believe is operating without a licence.

  • 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. “Unlicensed Operator Report”) and add a short description (e.g. “Triggers if user wants to report a lender, investment scheme, insurer, app or telecoms service that they think is unlicensed or illegal.”).
  • Add training phrases (e.g. “Report an illegal lender”, “This loan app isn’t licensed”, “Report an unregistered investment scheme”, “Someone is selling fake insurance”, “Report an unlicensed company”).

If your AI agent also has a licence check flow, point its Report it option at this workflow with a Jump action.

2. Ask whether the person has lost money

Separate intelligence reports from victims who need help now. A person who has paid money should go through scam reporting, where speed matters most.

Add a Send message action:

“Thank you for reporting this. Before we start – have you lost money or shared your bank, card or mobile money details with this operator?”

Add quick reply options: Yes, I lost money | I shared my details | No.

Under Yes, I lost money and I shared my details, add a Send message telling the person to contact their bank or mobile money provider straight away, then hand over to scam reporting:

  • If scam reporting runs on the same AI agent, add a Jump action to that workflow – see intake scam reports with AI chat.
  • If it runs on a partner’s AI agent, such as an anti-scam centre’s, add an AI agent handoff action and select that AI agent from your AI Agent Network. Handoffs work on Webchat, full-screen Webchat, WhatsApp and Messenger, so add a Send message with the scam reporting contact details under the handoff’s When external AI agent transfer failed branch.

No continues to Step 3.

3. Collect the operator’s details

Ask for every identifier an investigator can trace. Most people will know only some of them, so make the rest optional.

Add an Ask survey action. Action title: Operator details

Field Variable Type Invalid reply
What’s the name of the company or app? operator_name Text Please enter the name as you saw it
Its website operator_website Text Please enter the website address
The name of its app, if it has one operator_app Text Please enter the app name as it appears in the app store
Phone numbers it used operator_phones Text Please enter the phone numbers, separated by commas
Social media pages or groups it used operator_social Text Please paste links or page names
How did it contact you? contact_method Text, with quick replies: Phone call, WhatsApp, SMS, Social media, Advert, In person Please choose an option or describe how
What did it offer or ask you to do? operator_offer Text Please describe what was offered
Your email address, in case we need to follow up email Email Please provide a valid email address

Turn on Enable skip for the website, app, phone numbers and social media fields. Keep it off for the name, contact method, offer and email.

4. Check the register first

Reports about licensed firms are complaints, not enforcement cases, and should go where they can be resolved.

Add a SQL Query action against your register, set up in Database Connections. SQL Query is available on Enterprise plans; on other plans, put the query behind your own API and use Send API instead. Use bind parameters, never variables in the SQL – e.g. SELECT registered_name, status FROM register WHERE registered_name ILIKE ‘%’ || $1 || ‘%’ OR trading_name ILIKE ‘%’ || $1 || ‘%’ LIMIT 1 on PostgreSQL, with $1 set to {operator_name}. Resulting variable: register_match. If people use nicknames and app names that a text search misses, use the LLM matching in match institution names to the official register instead.

Add a Branch action:

  • If _.len(register_match) > 0 and register_match[0]["status"] == "licensed": Send message – “{register_match[0][“registered_name”]} is licensed by us, so this is best handled as a complaint, where we can require the firm to respond. If someone used its name with different contact details, it may be an impersonator.“ Add quick replies Make a complaint | It’s an impersonator. Under Make a complaint, add a Jump action to your complaints intake flow. It’s an impersonator continues to Step 5.
  • Else: continue to Step 5. Suspended and revoked firms stay in this flow, because they’re no longer permitted to operate.

Under the query’s Error and Timed out branches, continue to Step 5 and note in the ticket that the register couldn’t be checked, so no report is lost.

5. Collect screenshots

Screenshots of adverts, chats and payment requests are often the strongest evidence, and the only trace of a page that’s since been taken down.

Add an Ask survey action. Action title: Evidence

Field Variable Type Invalid reply
Please upload screenshots of adverts, messages, the app or the website evidence_files Attachment (multiple files) Please upload images or PDF files

Turn on Enable skip, so people without screenshots can still report. The files stay with the conversation, so investigators see them alongside the ticket.

6. Classify the activity

Decide what kind of business the operator is running, without asking the person to know the regulatory categories.

First, in your custom field settings, create a single-select conversation field called Activity type with the options Lending, Investment, Insurance, Telecom services and Other.

Then add an Auto fill field action:

  • Custom fields: Activity type
  • Resulting variable: activity_fill

The action reads the recent conversation – the operator’s offer, how it made contact, the app name – and picks one option. It writes the answer to the conversation’s custom field and saves it to activity_fill. Under its Success branch, add a Set variable action – Variable: activity, Chat script: activity_fill["Activity type"]["new_value"]["name"]. Under Error, set activity to Other.

7. Match the enforcement team

Send each report to the team that handles that activity, using the short label from Step 6 rather than the person’s description.

Auto team match compares its input text with your team names and each team’s Alternative names, set in Settings › Teams. It isn’t a classifier – it works best on a short, predictable label. Set up a team per activity, for example:

Team Alternative names
Lending enforcement Lending, loans, loan apps, microlending
Investment enforcement Investment, investment schemes, deposit-taking
Insurance enforcement Insurance, insurance products
Telecoms enforcement Telecom services, telecoms, SIM cards

Add an Auto team match action:

  • Input text: {activity}
  • Resulting variable: enforcement_team

The action has three branches. Match found means the best match scored 0.7 or higher, and enforcement_team["name"] holds the team’s name. No match – which is where Other should land – and Error should both route to a general enforcement or triage team.

8. Create the enforcement ticket

Give investigators a complete, consistent record they can act on and report from.

Under Match found, add a Branch action with one condition per team, e.g. enforcement_team["name"] == "Lending enforcement". Under each condition, and under No match and Error, add a Create ticket action:

  • Assignee: the matched team, or your triage team
  • Subject: Unlicensed operator – {activity} – {operator_name}
  • Description: website, app, phone numbers, social media pages, contact method, the offer, and the register check result, using the variables from Steps 3 and 4
  • Full name and Email: the reporter’s details
  • Auto-apply tags: unlicensed-operator, the activity (e.g. lending), and the contact method (e.g. contact-whatsapp)
  • Custom fields: Activity type and operator name, so reports can be counted by activity and repeat operators spotted
  • Email template: a confirmation to the reporter with the ticket reference

Tags show which activities and contact channels are growing – useful for public warnings and for prioritising enforcement.

9. Close the conversation

Thank the person and leave them with safety advice.

Add a Send message:

“Thank you – your report about {operator_name} has been passed to our enforcement team. We may not be able to tell you the outcome of an investigation, but every report helps. Until you’ve confirmed a provider is licensed, never pay upfront fees or share your PIN.”

Then add a Close chat action.

10. Test the flow

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

  • Build and test in an undeployed version – Duplicate the live version – then Deploy when every path passes.
  • Answer Yes, I lost money and confirm the person reaches scam reporting.
  • Report a licensed firm’s name and confirm the complaint route is offered.
  • Report one operator for each activity and check Activity type, the matched team and the tags on each ticket.
  • Report an operator whose activity doesn’t fit any category and confirm the No match branch reaches the triage team.

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