The customer finishes their chat with an agent and closes the chat window. The conversation is complete, and the system registers the session ending as its own distinct event.
The system automatically checks whether this was a genuine end to a real customer support chat. Only genuine session closures trigger the next step.
Before the session fully closes, a short automated message appears inside the chat window asking the customer to rate their experience.
Whatever the customer provides is captured immediately: rating, a numeric score, an additional comment, or any combination.
The system looks up the original chat session and attaches the rating data directly to that session record. The feedback and the conversation are now permanently linked.
Managers, quality reviewers, and reporting dashboards can now see customer satisfaction scores sitting alongside the full chat transcript.
Rating: Good Score: The numeric equivalent Comment: "Agent was really helpful but I waited a while to get connected."

- Chat completion triggers the post-chat survey workflow.
- Customer feedback is captured after survey submission.
- AWS Lambda processes the CSAT response.
- Rating, score, and comments are stored in Contact Attributes.
- Required attributes are updated in Contact Search for reporting visibility.





