Examples library
Product-Market Fit (PMF) survey
Measure product-market fit in your React app with a non-intrusive survey popover using the Sean Ellis method.
PMF survey example application - Flows
This PMF survey example shows how to measure product-market fit in a React app using the built-in Survey Popover component from @flows/react-components. The survey uses the Sean Ellis method, asking users how they would feel if they could no longer use the product - the single fastest way to gauge whether you have achieved product-market fit.
PMF surveys work best when triggered after users have had enough time to experience real value from the product. Running them in-product rather than via email captures responses from active users, which produces more accurate and actionable data.
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:
- PMF question: a single-choice question asking "How would you feel if you could no longer use this product?" with three options: "Very disappointed", "Somewhat disappointed", and "Not disappointed".
- Follow-up question: an open-ended freeform text field asking what the main benefit of the product is for them. 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 close after submit option to close the popover once the end screen is reached, and Dismissible to let users close the survey without answering.
Below is a screenshot of how the workflow is set up in Flows:

Getting started
- Sign up for Flows if you haven't already. You can create a free account here.
- Clone the repository from GitHub and install the required dependencies in the project directory.
- Add your organization ID in the providers.tsx file.
- Recreate the PMF survey workflow using the Survey block in your organization and publish it.
- 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
Explore more examples
Survey Popover
Collect user feedback with a non-intrusive survey popover that floats in the corner of the screen.


Customer Satisfaction (CSAT) survey
Collect Customer Satisfaction Score feedback in your React app with a non-intrusive survey popover.


Getting started dashboard
Show users learning resources and onboarding tips when they first sign up.


Build anything with Flows
Build the product adoption experiences you've always wanted.
No credit card required. Free forever.