Both the chat widget and email inboxes have the option to enable a Customer Satisfaction Score (CSAT) survey that will prompt the customer to leave a review of the customer service provided when a conversation is resolved. When CSAT is enabled and an agent resolves a conversation, then end customer will see the following button in the message:
To enable CSAT in the Shopify chat widget go to Settings > Inboxes > Shopify chat widget > Configuration > Enable CSAT.
To enable CSAT in the email inbox Settings > Inboxes > Email > CSAT.