Collect public consultation feedback through AI chat
Workflow purpose
This guide demonstrates how a ministry or regulator can use Proto's AI agent to run a public consultation on a draft policy, law or regulation – reaching people who would never read a 60-page consultation paper or fill in a web form.
The workflow explains the proposal in plain language, answers questions about it from the consultation documents, and asks a short set of questions: agree or disagree scales with quick replies, and open questions people can answer by typing or by sending a voice message in their own language. Each person chooses whether their response may be published anonymously. Every open answer is tagged with its main themes as it arrives, so analysts start with a structured dataset instead of thousands of unread comments.
Consultations are often answered by the same few organisations. Meeting people on the messaging channels they already use, in their own language, widens who takes part – and tagging themes as responses arrive makes the summary report faster and easier to defend.
Who can benefit from this guide:
- Ministries consulting on draft policies and laws
- Regulators consulting on new rules, tariffs or licence conditions
- Parliamentary committees inviting public submissions
- Local governments consulting on budgets, plans and by-laws
- Policy and research units that analyse consultation responses
Collect public consultation feedback
This workflow explains a proposal, collects scaled and open answers and tags each response by theme 24/7. See how to build a public consultation workflow.
1. Create a trigger
Start the flow when a person wants to take part in the consultation or learn about the proposal.
- 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. “Water Policy Consultation”) and add a short description (e.g. “Triggers if a person wants to give feedback on, respond to or learn about the draft national water policy consultation.”).
- Add training phrases (e.g. “I want to respond to the consultation”, “Give feedback on the water policy”, “Have your say”, “What is the new water policy”).
Run one workflow per consultation, and name it after the consultation, so responses to different proposals never mix. When the consultation closes, replace the questions with a Send message saying it has closed and when the outcome will be published.
2. Add the consultation documents to the knowledge base
Answer questions about the proposal from the official text, not from general knowledge.
In the AI agent’s Knowledge tab, add the consultation paper, the draft text and any summary or FAQ as a File or URL, in each language you publish them in. People can then ask “Will this change my water bill?” or “Who does this apply to?” before or during the questions, and get an answer drawn from your documents.
3. Choose a language and summarise the proposal
Let people take part in the language they’re most comfortable in, then explain what is being proposed in a few lines.
Add a Send message with a quick reply for each language you support (e.g. English | Kiswahili | Français). Under each, add a Switch language action, so the summary, the questions and the quick replies all appear in that language.
Then add a Send message:
“The Ministry is proposing a new national water policy. In short, it would: 1) set a minimum daily water allowance for every household, 2) move responsibility for rural water schemes to districts, and 3) introduce stepped tariffs, so heavy users pay more. The consultation closes on 31 March. It takes about 5 minutes to respond.”
If you publish a summary leaflet, add a Send attachment action with the PDF. Add quick replies: Start the questions | Ask about the proposal | Not now. Under Ask about the proposal, let the AI agent answer from the knowledge base, then offer Start the questions again.
4. Turn on voice answers
Let people answer open questions by speaking instead of typing.
- Open the AI agent’s Voice tab and, under Speech-to-text, turn on Enable speech-to-text recognition, then select the languages people will use.
- On Webchat, turn on Enable audio messaging in the channel settings. WhatsApp voice messages are transcribed automatically.
Each voice message is transcribed and treated as a typed answer, so the questions in Step 5 accept voice and text alike. Analysts see the transcript in the response, and the original audio stays in the conversation in the Inbox if a transcript needs checking.
5. Ask the consultation questions
Use quick replies for scaled questions, so answers can be counted, and open text for the reasons behind them.
Add an Ask survey action. Action title: Consultation questions
| Field | Variable | Type | Invalid reply |
|---|---|---|---|
| Do you agree with a minimum daily water allowance for every household? | q1_allowance |
Text, with quick replies Strongly agree, Agree, Neither, Disagree, Strongly disagree | Please choose one of the options |
| Why? You can type or send a voice message | q1_reason |
Text | Please type your answer or send a voice message |
| Do you agree that districts should run rural water schemes? | q2_districts |
Text, with the same five quick replies | Please choose one of the options |
| Why? | q2_reason |
Text | Please type your answer or send a voice message |
| Do you agree with stepped tariffs? | q3_tariffs |
Text, with the same five quick replies | Please choose one of the options |
| Why? | q3_reason |
Text | Please type your answer or send a voice message |
| Is there anything else you’d like to say about the proposal? | other_comments |
Text | Please type your answer or send a voice message |
Turn Enable skip on for every open question, so people can give a view without a reason. Keep the scaled questions required. Keep to the questions that will shape the decision – fewer, clearer questions get more complete answers.
6. Ask about the respondent and consent to publish
Collect only what the analysis needs, and let each person decide how their response is used.
Add an Ask survey action. Action title: About you
| Field | Variable | Type | Invalid reply |
|---|---|---|---|
| Are you responding as an individual or for an organisation? | respondent_type |
Text, with quick replies Individual, Organisation | Please choose one of the options |
| Which region do you live in? | region |
Text, with quick replies for each region | Please choose your region |
Then add a Send message:
“We publish a selection of responses with the consultation report. May we publish your answers without your name or contact details?”
Add quick replies: Yes, publish anonymously | No, don’t publish. Under each, add a Set variable action setting publish_consent to yes or no. Responses are used in the analysis either way – say so, so nobody feels their view is lost by saying no.
Don’t ask for a name, phone number or email unless your consultation rules require it. If organisations must be named, add a single Text field for the organisation name under the Organisation reply.
7. Tag the themes in each answer
Turn free-text answers into themes analysts can count, as each response arrives.
Add an LLM Processing action:
- Input:
Q1: {q1_reason} Q2: {q2_reason} Q3: {q3_reason} Other: {other_comments} - Model: your preferred model, with a low temperature for consistent tagging
- System prompt: “Tag the main themes in this consultation response. Use only these themes: affordability, water quality, rural access, district capacity, tariff fairness, implementation timeline, other. Return up to 3 themes as a comma-separated list, then a one-sentence neutral summary. Do not add opinions. If the answers are empty, return ‘none’.”
- Knowledge: off
- Resulting variable:
themes
Agree the theme list with the policy team before launch, and keep it fixed for the life of the consultation, so tags stay comparable from the first response to the last. The tags are a starting point for analysts, not a replacement for reading responses.
8. Store each response for analysis
Send every response to one place, in the same shape, so it can be counted and reported.
Add a Send API action:
- HTTP method: POST
- URL endpoint: your consultation database or analysis tool
- Body: the consultation name,
respondent_type,region, the answer to every question,themesandpublish_consent - Resulting variable:
stored_response
Under Error and Timed out, add a Create ticket action instead, so no response is lost:
- Assignee: the policy analysis team
- Subject: Consultation response – water policy – {region}
- Description: every answer, the theme summary and the publishing consent
- Auto-apply tags: consultation-water-policy, plus publish-ok or do-not-publish
- Custom fields: region, respondent type and
{themes}, so the policy team can filter responses in the Inbox
If you don’t have a consultation database, use Create ticket for every response. Use a Branch on publish_consent to choose between the publish-ok and do-not-publish tags.
9. Thank the respondent and invite more people
Close every response with what happens next.
Add a Send message:
“Thank you – your response has been recorded. The consultation closes on 31 March, and the Ministry will publish a summary of the responses and its decision. You can share this chat with anyone else who’d like to respond.”
Then add a Close chat action.
To invite visitors to respond, add a proactive message in the Webchat channel settings: turn on Enable proactive message, list the consultation pages on your website and a time delay, and add a button that starts this workflow. Proactive messages work only on Webchat – on WhatsApp and other channels the AI agent replies only when a person messages first. Promote the WhatsApp number through your own press releases, posters and radio announcements instead.
10. Test the flow
Validate every path before going live using the AI agent tester side panel.
- Complete the consultation in each language and check the summary, questions and quick replies all switch language.
- Answer the open questions by voice message on Webchat and confirm the transcripts are stored and tagged.
- Answer with a mix of themes and check
themesuses only the agreed list. - Make the Send API fail and confirm a ticket is created with the right consent tag.
- Build and test in an undeployed version – Duplicate the live version first – then Deploy when every path passes.
Finalise the AI agent deployment by configuring your preferred channels and languages.
.png)