File a complaint on behalf of a family member
Workflow purpose
This guide demonstrates how to use Proto's AI agent to let a person file a complaint for a family member – an elderly parent, a partner in hospital, a relative with a disability, or someone who has died.
The workflow asks who the complaint is for, the relationship and why the person can't file it themselves. It collects the representative's details and the complainant's details separately, asks for a signed consent form, power of attorney or death certificate, and explains what the representative will and won't be told. It then continues into your standard complaints intake, so the ticket is logged the same way – marked Filed by: Representative for staff to verify before any outcome is shared.
The people most affected by a problem are often the least able to complain about it. Accepting complaints from representatives, with the right checks, keeps the door open for them without sharing anyone's information with the wrong person.
Who can benefit from this guide:
- Grievance-redress units and ombudsman offices accepting complaints from representatives
- Banks, insurers and mobile money providers handling complaints about a relative's account
- Hospitals and health services receiving complaints from carers and next of kin
- Telecom operators dealing with accounts of elderly or deceased customers
- Government agencies serving citizens who need help to use digital channels
File a complaint for someone else
This workflow lets an authorised representative file a complaint, with proof of authority, for staff to verify. See how to build a representative complaint workflow.
1. Create a trigger
Start the flow when a person says they’re complaining for someone else.
- 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. “Complaint for Someone Else”) and add a short description (e.g. “Triggers if user wants to make a complaint for another person, such as a parent, partner, child or relative, or for someone who has died.”).
- Add training phrases (e.g. “Complain on behalf of my mother”, “My father can’t use his phone”, “I want to file a complaint for my husband”, “My aunt passed away and the bank won’t help”, “I’m her carer”).
Many people won’t say it up front, so also add the question to your complaints intake workflow. After its opening message, add a Send message – “Is this complaint for yourself or for someone else?” – with quick replies Myself | Someone else. Under Someone else, add a Jump to the first action of this workflow. Under Myself, add a Set variable action setting filed_by to Self and representation_note to an empty value, then carry on with the intake as before.
2. Ask about the relationship and the reason
Find out who the representative is and why they’re filing.
Add an Ask survey action. Action title: Relationship
| Field | Variable | Type | Invalid reply |
|---|---|---|---|
| What is your relationship to the person? (e.g. daughter, husband, carer) | relationship |
Text | Please tell me how you’re related to the person |
Then add a Send message – “Why can’t they make the complaint themselves?” – with quick replies: They’re elderly | They have a disability | They’re unwell or in hospital | They have died | Another reason.
Under a Message received sub-trigger for each option, add a Set variable action storing rep_reason (e.g. Elderly, Disability, Unwell, Deceased, Other). Under They have died, add a Send message before anything else:
“I’m very sorry for your loss. I’ll keep this as short as I can.”
Under Another reason, add an Ask survey Text field for rep_reason_detail, so staff can judge the case.
3. Collect the representative’s details
Capture who is filing, so replies go to the right person.
Add an Ask survey action. Action title: Representative details
| Field | Variable | Type | Invalid reply |
|---|---|---|---|
| Your first name | rep_first_name |
Text | Please provide your first name |
| Your last name | rep_last_name |
Text | Please provide your last name |
| Your email | rep_email |
Please provide a valid email address | |
| Your phone number | rep_phone |
Phone | Please provide a valid phone number |
Keep Enable skip off for every field. On WhatsApp, you can fill rep_phone from {_channel_profile.phone_number} instead of asking for it.
4. Collect the complainant’s details
Capture the person the complaint is about, kept apart from the representative.
Add a second Ask survey action. Action title: Complainant details
| Field | Variable | Type | Invalid reply |
|---|---|---|---|
| Their full name | complainant_name |
Text | Please provide their full name |
| Their account, policy, patient or ID number | complainant_ref |
Text | Please provide the number, or skip if you don’t have it |
| Their phone number | complainant_phone |
Phone | Please provide a valid phone number |
Turn Enable skip on for the reference and phone fields – a representative may not know them, and a person who has died may no longer have a phone. Keep it off for the name.
Never use the complainant’s details to look up and show their records in this conversation. Until staff have checked the representative’s authority, the AI agent only records what it’s told.
5. Ask for proof of authority
Collect the document that shows the representative can act.
Add a Branch action:
| Condition | What to ask for |
|---|---|
rep_reason == "Deceased" |
A death certificate and proof that they’re the executor or administrator of the estate, such as a grant of probate or letters of administration |
| Else | A signed consent form from the person, or a power of attorney |
Under Else, first add a Send attachment action with your consent form template – File format: Document, Source: Upload file – and a Send message:
“If {complainant_name} can sign, please ask them to complete this form and send me a photo or scan. If you hold a power of attorney, you can send that instead.”
Add quick replies: I have a signed form | I have a power of attorney | I’ll send it later, and store the answer in authority_type with a Set variable under each sub-trigger. Under the deceased branch, set authority_type to Death certificate and executor proof.
Then add an Ask survey action with Enable skip on:
| Field | Variable | Type | Invalid reply |
|---|---|---|---|
| Proof of authority | authority_files |
Attachment(s) | Please upload a photo or scan of the document |
Skipping keeps people from getting stuck when the document is at home. Under I’ll send it later, or when the field is skipped, set authority_type to Pending. Staff can’t share anything with the representative until it arrives – Step 6 says so.
6. Explain what the representative will and won’t be told
Set expectations before the complaint is filed, so nothing feels like a refusal later.
Add a Send message:
“Before we continue, here is how we’ll handle this. We’ll confirm to you that the complaint was received. Our team will check your documents before we share anything about {complainant_name}’s case. Once they’re checked, we’ll update you on this complaint only – we won’t share other information about their accounts or records. {complainant_name} can ask us to stop dealing with you at any time.”
Add quick replies: I understand | Cancel. Under Cancel, add a Send message (“No problem. Nothing has been sent to our team.”) and a Close chat action.
Put your full policy on representatives in the AI agent’s Knowledge base, so it can answer questions such as “Why can’t you tell me the outcome yet?”.
7. Continue into complaints intake
Hand over to your standard intake, with the representative’s details already set.
Under I understand, add Set variable actions:
first_name={rep_first_name},last_name={rep_last_name},email={rep_email},phone={rep_phone}– the intake’s own variables, so the ticket’s contact is the representative and replies go to themfiled_by= Representativerepresentation_note= Filed by {rep_first_name} {rep_last_name} ({relationship}) for {complainant_name}, ref {complainant_ref}. Reason: {rep_reason}. Authority: {authority_type}. Documents: {authority_files}
Then add a Jump to the complaint description step of the complaints intake workflow (Step 4 there). The person describes the problem, adds evidence and confirms – the contact details step is skipped because it’s already filled. A file variable gives a link to the file, so the documents appear in the note.
8. Mark the ticket for verification
Make representative complaints easy to spot and impossible to close by mistake.
Navigate to Settings › Custom fields, open Conversation fields and create two Dropdown fields:
- Filed by – options Self and Representative
- Authority check – options Not needed, Waiting for documents, To verify, Verified and Rejected
Before the intake’s Create ticket, add a Branch that sets authority_check: Not needed when filed_by == "Self", Waiting for documents when authority_type == "Pending", and To verify otherwise. Then, in the intake’s Create ticket action:
- Description:
{representation_note} {complaint_description} - Custom fields: Filed by =
{filed_by}, Authority check ={authority_check} - Auto-apply tags: complaint, as before – the custom fields, not tags, mark representative cases, so the same Create ticket works for both paths
If you’ve made Filed by mandatory in Settings › Tickets, every Create ticket in the teamspace must supply it, or the ticket isn’t created – the filed_by variable covers both paths here.
Create an Inbox view filtered on Authority check = To verify, so a named team checks documents every day. Until a ticket is Verified, live agents confirm receipt and ask for missing documents only. If they reject the authority, they reply from the ticket in the Inbox to explain why and what’s needed. Proto doesn’t email the representative when a field or status changes, so every update is a reply.
9. Limit status checks to verified representatives
Stop a status check from revealing what verification would have protected.
If you use check complaint status, have your case lookup return Filed by and Authority check with the status. Before the status messages, add a Branch: if filed_by == "Representative" and authority_check != "Verified", send only:
“Your complaint {case_reference} has been received. Our team is still checking your documents, so I can’t share any updates yet. If we need anything else, we’ll email {email}.”
Then stop – no status, team or dates. Once the representative is verified, the normal status messages apply.
10. Test the flow
Validate every path before going live using the AI agent tester side panel.
- File for an elderly parent with a signed form and check the ticket’s contact is the representative, Filed by is Representative and the note names the complainant.
- Choose They have died and confirm the condolence message, the death certificate request and
authority_typeset correctly. - Skip the document and check Authority check is Waiting for documents.
- Run a status check as an unverified representative and confirm no case details are shown. Choose Myself at the start of intake and confirm Filed by is Self.
- 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.
.png)