Log inSign up

Examples library

Customer Effort Score (CES) survey

Collect Customer Effort Score feedback in your React app with a non-intrusive survey popover.

CES survey example application - Flows

This CES survey example shows how to collect Customer Effort Score feedback in a React app using the built-in Survey Popover component from @flows/react-components. The survey triggers automatically, appears in the corner of the screen, and asks users how easy it was to complete a task, without interrupting their workflow.

CES surveys measure how much effort users have to expend to accomplish a goal, making them ideal for identifying friction in key flows like support interactions, onboarding steps, or feature completion. Lower effort scores are strongly linked to higher retention and loyalty.

Features

When a user enters the workflow, the survey popover appears in the bottom-right corner of the screen. The survey walks users through three steps:

  • Effort rating: a 1-7 scale asking how easy it was to complete the task, with "Very difficult" and "Very easy" labels at each end.
  • Follow-up question: an open-ended freeform text field asking what could be made easier. Marked as optional so users can skip it.
  • End screen: a thank-you message acknowledging the response before the popover closes automatically.

The workflow uses the Auto proceed after answer option on the rating step so the popover advances as soon as the user selects a score, reducing friction. The Auto close after submit option closes the popover once the end screen is reached.

Below is a screenshot of how the workflow is set up in Flows:

Flows workflow setup for the CES survey example: effort rating, follow-up freeform, and thank-you end screen

Getting started

  1. Sign up for Flows if you haven't already. You can create a free account here.
  2. Clone the repository from GitHub and install the required dependencies in the project directory.
  3. Add your organization ID in the providers.tsx file.
  4. Recreate the CES survey workflow using the Survey block in your organization and publish it.
  5. Run the development server with pnpm dev.

Learn more

To learn more about Flows take a look at the following resources:

Framework

Next.js

Tags

CES
Survey
Feedback
Customer Effort Score
User Research
Engagement
Retention

Explore more examples

Build anything with Flows

Build the product adoption experiences you've always wanted.

Get started for free

No credit card required. Free forever.