Grievance Redress
Contact Centres

Add evidence to an existing complaint through AI chat

Workflow purpose

This guide demonstrates how to use Proto's AI agent to let a person add supporting documents to a complaint they've already lodged – a receipt, a bill, a screenshot of a message, a letter from the provider.

The workflow verifies the person against their case reference, asks what they're sending, collects one or more files and sends them to your case management system against the right case. Case officers get the evidence attached to the case, not as an email to match up by hand.

Evidence often arrives days after a complaint is lodged, once a person finds the paperwork or the provider replies. This workflow complements complaints intake, which collects attachments when the complaint is first made.

Who can benefit from this guide:

  • Regulators and ombudsman schemes investigating complaints
  • Grievance-redress units requesting further information
  • Customer support teams handling disputes and claims
  • Any organisation whose cases depend on documents from the public

Add evidence to a complaint

This workflow collects evidence 24/7 on web and messaging channels and attaches it to the right case. See how to build an evidence upload 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 send something for a complaint they’ve already made.

  • 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. “Add Evidence”) and add a short description (e.g. “Triggers if user wants to send documents, photos or evidence for a complaint they have already submitted.”).
  • Add training phrases (e.g. “I have more evidence for my complaint”, “Can I send a receipt”, “I want to upload a document for my case”, “The officer asked me for a copy of my bill”).

2. Identify the complaint

Make sure evidence is attached to the right case, by the person who made it.

Add an Ask survey action. Action title: Case lookup

Field Variable Type Invalid reply
Complaint reference case_reference Text Please enter the reference number from your confirmation email
Email email Email Please provide a valid email address

Then add a Send API action (HTTP method: GET) that looks up the case by case_reference and email, with the resulting variable case_lookup.

Add a Branch action. If no case is found, add a Send message asking the person to check both details, and a Jump action back to this step. If the case is closed, tell the person and offer a Live agent handoff, as closed cases usually can’t take new evidence.

3. Ask what’s being sent

A short label helps case officers know what each file is before opening it.

Add an Ask survey action. Action title: Evidence details

Field Variable Type Invalid reply
What are you sending? evidence_type Text Please choose one of the options below
Anything you’d like to add about it? evidence_note Text Not applicable

Add Quick answers to the first field: Receipt or bill | Screenshot | Letter or email from the provider | Contract | Other. Turn Enable skip on for the note only.

4. Collect the files

Let the person upload one or several files at once.

Add an Ask survey action. Action title: Evidence upload

Field Variable Type Invalid reply
Please upload your files evidence_files Attachment(s) Please upload at least one file

Keep Enable skip off. People can upload photos taken on their phone as well as documents.

5. Send the evidence to the case

Attach the files to the right case in your case management system.

Add a Send API action:

  • HTTP method: POST
  • URL endpoint: your case management system’s endpoint for adding documents to a case
  • Headers: the authorisation key your system requires
  • Payload (JSON): case_reference, evidence_type, evidence_note and evidence_files
  • Resulting variable: upload_result

Under the Success branch, add a Send message:

“Thanks – your {evidence_type} has been added to complaint {case_reference}. The case officer will review it.”

Under the Error and Timed out branches, add a Send message apologising and a Live agent handoff, so the files aren’t lost.

6. Offer to add more

Let the person send several kinds of evidence in one chat.

Add a Send message with quick reply options: Add another file | That’s all. Under a Message received sub-trigger for Add another file, add a Jump action back to Step 3.

The full chat, including every uploaded file, is also kept in the Inbox, so a live agent can see what was sent if the person gets in touch later.

7. Test the flow

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

  • Upload a single file and several files at once, and confirm both reach the case.
  • Upload a photo and a PDF, and check both arrive intact.
  • Test a wrong reference and a closed case, and confirm the right message appears.
  • Simulate an API error and confirm the handoff carries the files.
  • 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.