--- title: "Creating AI-generated Smartflows" slug: "creating-smartflows" description: "Transform your onboarding with Smartflows—AI-driven flows that save time, enhance user engagement, and require no technical skills to create." tags: ["Smartflow Creation", "AI Onboarding", "AI"] updated: 2026-11-13T16:29:34Z published: 2026-11-13T16:29:34Z canonical: "help.userflow.com/creating-smartflows" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.userflow.com/llms.txt > Use this file to discover all available pages before exploring further. # Creating AI-generated Smartflows A Smartflow is a flow that Userflow's AI builds for you. You click through a task in your app once while Smartflow records, and the AI turns the recording into an editable flow of up to 30 steps, with the step types, copy, and element selection done for you. This page shows how to create one, use the recording bar, and handle longer processes. ## When should I use a Smartflow? Smartflows work well for: - **A quick first version** of onboarding for a new feature or product. - **Feature adoption**, to get more users trying a feature they don't use yet. - **Ideas**, when you want the AI's take on how to guide users through a task. You can edit a Smartflow like any other flow afterwards. To compare Smartflows with flows you build by hand, see [Getting started with flows and Smartflows](/userflow/docs/getting-started-with-flows). ## Can I create a flow from a prompt, without recording? Yes. Smartflow Creator needs you to click through your app once, but there are two ways to create a flow without recording: - **Describe it to your AI tool with the Userflow MCP.** Connect the Userflow MCP to Claude, ChatGPT, or another AI tool, then describe the flow you want, for example "Create a welcome modal for new users that explains how to set up their first project." Your AI tool creates the flow in Userflow as an unpublished draft and gives you a link to check it. If a step needs to point at an element on your page, it gives you a link to finish that step in the Builder. See [MCP write tools: create flows, segments, and charts from your AI tool](https://help.userflow.com/docs/mcp-write-tools). To connect, see [Connect Userflow to Claude, ChatGPT, and other AI tools with the Userflow MCP](https://help.userflow.com/docs/mcp). - **Build it yourself in the Flow builder.** Choose **Start from scratch** instead of **Smartflow Creator** and add each step. See [Flow builder basics](/userflow/docs/flow-builder-basics). ## How do I create a Smartflow? > [!NOTE] > Privacy Assurance and Smartflow Creation > > Userflow prioritizes your privacy by ensuring that no personally identifiable information (PII) is shared with OpenAI during the Smartflow creation process. Only screenshots are captured to construct the flow steps, and these are never used to train AI models or any other purposes. To maintain the highest standards of data security, we strongly recommend using non-sensitive, sample data when building your Smartflows—this gives you complete control over what is included. Refer to our [Terms of Service](https://www.userflow.com/policies/terms) for additional details. 1. Select **Flows** in the sidebar, then click **Create flow**. ![The Create flow button on the Flows page](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(420).png) 2. Select **Smartflow Creator**, enter a name for your Smartflow, and describe its purpose. ![The Smartflow Creator form with name and purpose fields](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(423).png) > [!NOTE] > Your purpose statement shapes the flow > > The purpose tells the AI what the flow does and why users need it, and has a direct effect on the quality of the result. See [Writing effective purpose statements for Smartflow creation](/userflow/docs/smartflows-purpose-statement). 3. Click **Create flow with Smartflow AI**. 4. Enter the URL where the recording should start and click **Start click-through**. ![The start URL field and Start click-through button](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(427).png) 5. Click through the task in your app. The Smartflow creation bar at the bottom of the screen counts the steps recorded. Click **Done** when you've finished. See "What can I do from the Smartflow creation bar?" on this page for the other options. ![The Smartflow creation bar showing the number of steps recorded](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(610).png) 6. Wait while Smartflow builds your flow. You can leave the page: we'll email you when it's ready. ![The status message shown while a Smartflow is being generated](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(424).png) 7. Review the steps and preview the flow to check it captured what you intended. Edit the text and steps as you would in any other flow. See [Flow builder basics](/userflow/docs/flow-builder-basics). > [!TIP] > Tip > > To improve the text or change its tone or length, use [AI Rephrase](/userflow/docs/ai-rephrase). ![A generated Smartflow open in the Flow builder](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(425).png) 8. **Publish** your flow when it's ready. ## What can I do from the Smartflow creation bar? The Smartflow creation bar appears while Smartflow is recording. ![The Smartflow creation bar with its Pause, Start Over, Done and Cancel buttons](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(612).png) From the bar you can: - See how many steps have been recorded. - **Pause** the recording, go to another screen, and carry on recording. - Click **Start Over** to throw away what you've recorded and start again. - Click **Done** when you've finished, or **Cancel** to discard the recording. - Click the up or down arrow to move the bar to the top or bottom of the screen, if it's covering something you need to click. ## What if my process needs more than 30 steps? A Smartflow recording captures up to 30 steps. If the process is longer, such as a long form or a setup spread over several screens, you have two options. **Use an Action Flow instead.** If the task is form-filling or another repetitive sequence where the user doesn't need to learn the steps, an Action Flow does it for them instead of guiding them, and isn't limited by the recording cap. This is usually the right answer for long forms. See [what Action Flows are and when to use one](/userflow/docs/action-flows). **Split it into linked flows.** Record the first part as one Smartflow and the next part as a second. On the last step of the first flow, add a button with a **Start new flow/checklist** action that starts the second. To the user it runs as one experience. Splitting is often the better choice anyway: completion rates fall sharply on long flows, so a 60-step tour is unlikely to be finished even if you could record it in one go. See [Flow best practices](/userflow/docs/flow-best-practices). Two recordings can't be merged into one flow. Within one recording, you can click **Pause** on the creation bar, go somewhere else, and carry on. ## Why did my recording miss some steps? The AI records what it can identify. Steps get missed when an element's class names change between page loads, or when an element hadn't finished loading when you clicked it. Slow-loading screens are the most common cause. Record that part again more slowly, and check the generated steps before you publish. For elements the recorder struggles with, set the selector yourself. See [Element inference and dynamic class names](/userflow/docs/element-inference-and-dynamic-class-names) and [Selecting elements](/userflow/docs/tooltip-element-selection). ## Smartflow AI and data privacy ### What data does Userflow send to OpenAI when creating a Smartflow? When you create a Smartflow, Userflow sends a description of the element you selected (its position, label, and surrounding context) and your purpose statement to an AI model. This is used to generate the flow steps. Userflow does **not** send your users' data, user attributes, or personally identifiable information (PII) to OpenAI during Smartflow creation. Only the structural and UI context needed to generate the flow is included. For full details on third-party AI processing, see section 4.4 of the Userflow Terms of Service. ### Can I turn off AI features for specific accounts? Yes. AI features, including Smartflows and the Adoption Agent, can be turned off for specific accounts. Email [support@userflow.com](mailto:support@userflow.com) to ask for this. ### Does Userflow use my content to train AI models? No. Content you give Userflow, including the knowledge base content you use to train your Adoption Agent, isn't used to train shared AI models. It's only used to generate responses for your agent. ## Related articles - [Writing effective purpose statements for Smartflow creation](/userflow/docs/smartflows-purpose-statement) - [Getting started with flows and Smartflows](/userflow/docs/getting-started-with-flows) - [Flow builder basics](/userflow/docs/flow-builder-basics) - [Element not found](/userflow/docs/element-not-found) ## Related - [Getting started with flows and Smartflows](/getting-started-with-flows.md) - [Smartflow purpose statements](/smartflows-purpose-statement.md)