Contact Centres
Patient Experience

Collect CSAT at the end of a conversation

Workflow purpose

This guide demonstrates how to use Proto's AI agent to collect a customer satisfaction (CSAT) rating at the end of a conversation – whether it was handled by the AI agent alone or by a live agent.

The workflow asks the person to rate their experience on a five-point scale, then asks one or two follow-up questions, such as what could have been better. Ratings are saved against the conversation and appear in Proto's CSAT analytics, where team leads can filter for low-rated chats and review them.

CSAT is the simplest way to see whether automation is helping people or frustrating them, and to compare AI agent and live agent conversations side by side.

Who can benefit from this guide:

  • Customer support and contact centre teams tracking service quality
  • Government agencies measuring citizen satisfaction
  • Hospitals and health plans measuring patient experience
  • CX and operations managers reporting on AI agent performance

Collect CSAT

This workflow collects a rating and feedback at the end of each conversation and reports it in CSAT analytics. See how to build a CSAT 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. Decide where to ask for feedback

Ask at the moment a conversation is finished, not part-way through.

Add the Collect feedback action at the end of each flow where the person’s request is complete, for example:

  • After the last message of a self-service flow, once the person taps a quick reply such as That’s all.
  • Under a Live agent handoff action’s When live agent transfers back to AI agent branch, so people rate conversations that a live agent handled.

Ask once per conversation. Collecting feedback isn’t supported on the email channel or in group conversations, so the action is skipped there.

2. Add the rating

Navigate to the Workflows tab in the AI agent settings, open the flow, and add a Collect feedback action. Turn on Enable rating.

  • Rating request message: what the person sees on messaging channels, e.g. “How would you rate your experience today, from 1 (very poor) to 5 (excellent)?”
  • Webchat rating title: the heading above the rating in Webchat, e.g. “How did we do?”

The rating uses a five-level scale. On Webchat it appears as a rating form, and on messaging channels the person replies in the chat.

3. Add follow-up questions

A short comment explains the score. Keep it to one or two questions, so people finish the form.

Turn on Enable survey and click Add field for each question:

Question Field type Set chat variable
What could we have done better? Open response csat_comment
Did we resolve your request today? Open response csat_resolved

Use Webchat field placeholder to show a hint in the Webchat text box, e.g. “Tell us in a few words”. People can type skip to leave a question out.

4. Thank the person

Set the Feedback submission text, which is sent once the form is complete:

“Thank you for your feedback – it helps us improve.”

5. Follow up on low ratings

Turn a poor score into a chance to recover.

After the Collect feedback action, add a Branch action that checks the follow-up answers, e.g. csat_resolved == "No". Under it:

  • Add a Send message offering more help, with quick reply options: Speak to an agent | No thanks.
  • Under Speak to an agent, add a Live agent handoff action, or a Create ticket action with Auto-apply tags such as csat-follow-up, so a team lead can call the person back.

6. Review CSAT in analytics

Ratings appear in Analytics, under CSAT, split between conversations handled only by the AI agent and those handled by a live agent. Under Analytics > Chats, filter by CSAT rating to find low-rated conversations, then open them to read the full chat and the comments that came with it.

Review low-rated AI agent conversations regularly. They often point to a missing trigger, an unclear answer or a gap in the knowledge base.

7. Test the flow

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

  • Complete a self-service flow and confirm the rating request appears once, at the end.
  • Test a conversation handed to a live agent and returned, and confirm feedback is requested after the live agent finishes.
  • Submit a low rating with No to the resolution question and confirm the follow-up is offered.
  • Test the form on Webchat and on a messaging channel such as WhatsApp.
  • Check that test ratings appear in CSAT analytics.
  • 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.