Grievance Redress

Receive anonymous corruption reports

Workflow purpose

This guide demonstrates how to use Proto's AI agent to receive reports of corruption, bribery and fraud from citizens and staff – with a clear choice to stay anonymous or share contact details in confidence.

The workflow asks the reporter how they want to be identified before anything else, and never asks for a name, number or email on the anonymous path. It collects what happened, who was involved, where and when, and any evidence, then registers the report with your case system. The reporter gets a case reference and a secret follow-up code, so they can come back – still anonymous – to check progress and answer an investigator's questions. Each report reaches your integrity unit as a ticket, and a person joins the chat only if the reporter asks.

People rarely report corruption if they fear being identified, and a hotline or an office visit can feel exposing. A chat that explains plainly what is and isn't recorded, and works at any hour, lowers that barrier.

Who can benefit from this guide:

  • Anti-corruption commissions and integrity agencies
  • Ombudsman offices and inspectors general
  • Internal audit and integrity units in ministries and state enterprises
  • Public procurement authorities
  • Development programmes with whistleblowing requirements

Anonymous corruption reporting

This workflow receives corruption reports anonymously or in confidence and lets reporters follow up 24/7. See how to build an anonymous 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 corruption, bribery or fraud.

  • 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. “Corruption Report”) and add a short description (e.g. “Triggers if user wants to report corruption, a bribe, fraud, misuse of public funds or abuse of office, or wants to blow the whistle anonymously.”).
  • Add training phrases (e.g. “I want to report corruption”, “An official asked me for a bribe”, “Report fraud anonymously”, “Someone is stealing public money”, “I want to blow the whistle”).

Before you build, decide which channels to offer this on. The AI agent never asks an anonymous reporter for personal details, but every conversation is still stored, and the channel identifies the device it came from. On WhatsApp, Messenger, LINE and Telegram, the person’s account – on WhatsApp, their phone number – is visible to the platform and to anyone who can open the conversation in the Inbox. Webchat on your website, without sign-in, carries no such identifier, so it’s the channel to recommend for anonymous reports.

2. Offer a clear choice about anonymity

Let the reporter decide how they want to be identified before they share anything.

Add a Send message action:

“You can report corruption here safely. Before you tell me anything, choose how you want to report.

Anonymous – we won’t ask for your name or contact details. You’ll get a code to check on your report later.

Confidential – you share your contact details with our integrity unit only, so an investigator can contact you. Your identity is protected by law.“

Add quick reply options: Stay anonymous | Share my details in confidence | What’s recorded?. Add a Message received sub-trigger for each, and a Set variable action under the first two to store report_mode as anonymous or confidential.

Under What’s recorded?, add a Send message that answers honestly, e.g.:

“This conversation is stored so our integrity unit can investigate. If you’re writing from WhatsApp or another messaging app, your account or phone number is attached to the conversation. For the most anonymity, use the chat on our website without signing in, on a device that isn’t shared or monitored by your employer.”

Then show the same quick replies again. Change the wording to match the protections your law actually gives – don’t promise more than it does.

3. Collect contact details on the confidential path only

Under the Share my details in confidence sub-trigger, add an Ask survey action. Action title: Confidential contact

Field Variable Type Invalid reply
Full name full_name Text Please enter your name
Phone number phone Phone Please enter a valid phone number
Email email Email Please provide a valid email address
Safest way and time to contact you contact_preference Text Please tell us how and when it’s safe to contact you

Turn Enable skip on for phone and email, so the reporter can give just one. The anonymous path skips this step entirely – no survey on that path should ask for a name, number, email, employee number or ID number.

4. Collect the report

Ask what an investigator needs to act, in plain questions.

Both paths continue here. Add an Ask survey action. Action title: Report details

Field Variable Type Invalid reply
What happened? what_happened Text Please describe what happened in your own words
Who was involved? Give names, job titles or the office if you know them who_involved Text Please describe who was involved
Where did it happen? where_happened Text Please give the office, institution or place
When did it happen? when_happened Text Please give a date or an approximate time
Is it still happening? ongoing Text, with quick replies Yes | No | Not sure Please choose one of the options
Is anyone at risk of harm because of this report? risk Text, with quick replies Yes | No | Not sure Please choose one of the options

Then add a Send message before asking for evidence:

“If you have evidence – documents, photos, receipts or messages – you can upload it next. Before you do, check it doesn’t show your own name, signature, face or phone number, unless you’re happy for investigators to see it. Photos can also carry the date and place they were taken.”

Add a second Ask survey action. Action title: Evidence

Field Variable Type Invalid reply
Upload your evidence report_evidence Attachment (multiple files) Please upload the files

Turn Enable skip on – many reports have no documents, and a report without them is still worth receiving.

5. Register the report and give a follow-up code

The reference and code are the anonymous reporter’s only link back to their report.

Add an Auto fill field action that classifies the report into a single-select custom field, e.g. Allegation type (Bribery, Procurement fraud, Embezzlement, Abuse of office, Nepotism, Other), with the variable name classification.

Then add a Send API action:

  • HTTP method: POST
  • URL endpoint: your case management system’s intake endpoint
  • Body: report_mode, what_happened, who_involved, where_happened, when_happened, ongoing, risk, report_evidence and the allegation type – plus the contact details only when report_mode == "confidential"
  • Resulting variable: case

Don’t send any channel identifier to your case system on the anonymous path. Your system generates the reference and a random follow-up code, stores only a hash of the code, and returns both. Under Success, add a Send message:

“Thank you. Your report has been received.

Reference: {case[“reference”]} Follow-up code: {case[“follow_up_code”]}

Keep both somewhere safe and private. You’ll need them to check on your report or add information. We can’t recover the code for you, because we don’t know who you are. If you’re on a shared device, you may want to clear this chat.“

On the confidential path, add that an investigator may contact them using the details they gave. Under Error and Timed out, add a Send message saying the report couldn’t be saved, with a quick reply to try again, so nobody leaves believing a report was filed when it wasn’t.

6. Open a ticket for the integrity unit

Give investigators a work item in the Inbox, with the evidence attached.

Add a Create ticket action:

  • Assignee: your integrity unit’s team
  • Subject: Integrity report – {case[“reference”]}
  • Description: the report details from Step 4, with the reference
  • Full name: {full_name} on the confidential path; Anonymous reporter on the anonymous path
  • Email: {email} on the confidential path; on the anonymous path, the integrity unit’s own mailbox, as the field is required
  • Attachment(s): report_evidence
  • Auto-apply tags: integrity-report, plus anonymous or confidential
  • Custom fields: Allegation type from Step 5
  • Email template to the person: none on the anonymous path

Use two Create ticket actions under a Branch on report_mode, so the anonymous ticket can never pick up contact details. Add a Branch on risk == "Yes" to apply a risk-to-reporter tag, so those tickets are read first. Keep the email template to the assignee short – a notification with the reference, not the allegation – so the details don’t sit in inboxes outside the Inbox.

Check the teamspace’s overdue rule in Settings › Tickets › Overdue rules – it applies to every ticket. With Apply overdue status after set to 5 days and Exclude weekends on, no report waits more than a working week unassessed. Make sure only integrity unit staff are members of the assigned team.

7. Let reporters check progress and add information

Create a second workflow, so an anonymous reporter can come back in a new conversation.

Click New workflow, select Message received, and name it (e.g. “Corruption Report Follow-up”), with training phrases such as “Check my report”, “I have a follow-up code”, “Add information to my report”. Add an Ask survey action. Action title: Report follow-up

Field Variable Type Invalid reply
Report reference case_reference Text Please enter the reference you were given
Follow-up code follow_up_code Text Please enter your follow-up code

Add a Send API action (HTTP method: POST, so the code isn’t written into a URL) to your case system’s follow-up endpoint, with the resulting variable follow_up. Then add a Branch action:

Condition Send message
follow_up["status"] == "received" “Your report has been received and is waiting to be assessed.”
follow_up["status"] == "under_investigation" “Your report is being investigated. We can’t share details while this is ongoing.”
follow_up["status"] == "question" “An investigator has a question for you: {follow_up[“question”]}“
follow_up["status"] == "closed" “Your report has been assessed and the case is closed. {follow_up[“public_outcome”]}“
Else “Those details don’t match a report. Please check the reference and code.”

After each match, offer quick reply options: Add information | That’s all. Under Add information, add an Ask survey with a Text field and an Attachment field (with Enable skip on), then a Send API action (HTTP method: POST) that adds them to the case. Let your case system limit failed code attempts, so codes can’t be guessed.

8. Connect to an investigator only on request

Never move a reporter to a person they didn’t ask for.

After the confirmation in Step 5 and each follow-up result, include a Talk to an investigator quick reply. Under it, add a Send message:

“An investigator can join this chat. They’ll see this conversation, but not who you are unless you tell them.”

Then add a Live agent handoff action assigned to your integrity unit’s team, with Live agent availability check turned on. If nobody is online, use the If there is no live agent online branch to say when investigators are available, and remind the reporter that their reference and code work at any time.

9. Test the flow

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

  • Submit an anonymous report and confirm no question asks for a name, number or email, and the ticket shows Anonymous reporter.
  • Submit a confidential report with evidence and check the files and contact details reach the ticket.
  • Return in a new conversation with the reference and code, answer an investigator’s question, and confirm it reaches the case.
  • Enter a wrong code and confirm nothing about the report is shown.
  • Build and test in an undeployed version – Duplicate the live version on the Workflows tab – then Deploy when every path passes.

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