--- title: "Create an Action Flow" slug: "create-an-action-flow" updated: 2026-10-28T19:40:34Z published: 2026-10-28T19:40:34Z canonical: "help.userflow.com/create-an-action-flow" --- > ## 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. # Create an Action Flow This guide shows how to build an Action Flow in Userflow: create it, write the summary the Adoption Agent uses to recommend it, set the wait time and public name, build and connect the steps, then preview and publish it. To decide whether a task should be an Action Flow or a Flow, see [Action Flows: what they are and when to use one](https://help.userflow.com/docs/action-flows). An Action Flow is built the same way as a Flow: you select elements in your own app and Userflow records the sequence. The difference is what each step does. Instead of showing a tooltip, each step performs an action. Before you start, you need a published Resource Center with an Adoption Agent block. Without one, you can build an Action Flow but you can't preview it. See [Resource Center Implementation Guide](https://help.userflow.com/docs/resource-center). ## Step 1: Create the Action Flow 1. Select **Action flows** in the sidebar and create a new Action Flow. 2. Enter a name. This is the internal name you'll see in lists. ## Step 2: Write the summary The **Summary of action flow** field is the single most important thing you'll fill in. It's the only context the Adoption Agent has for deciding when to recommend this flow. A Flow carries its own content, such as headings, body text and button labels, and the Adoption Agent reads all of it. An Action Flow has none of that. It's a sequence of clicks on elements, so the summary is the only description of what the flow actually does. Describe the exact task the flow performs on the user's behalf, in the words a user would use to ask for it. - **Too thin:** "Add a team member" - **Better:** "Automatically provisions a new team member, assigns their workspace permissions, and sends an invitation." The flow will still work with a thin summary. What suffers is recommendation accuracy. The more Action Flows and Flows you add to an Adoption Agent, the more the summary determines whether the right one gets picked. Come back and refine it if you find the Adoption Agent surfacing the wrong flow. **Include the words users actually use.** Your team and your users rarely use the same vocabulary for the same task. If your interface calls it "provisioning a seat" and users ask to "add someone to my account," put both in the summary. The Adoption Agent scores the summary against the question the user asked, so a summary written only in internal language loses to content that happens to be phrased more like the question. Adding two or three natural alternatives costs nothing and is the cheapest accuracy improvement available. **Keep one task per Action Flow.** A summary that describes several loosely related tasks matches all of them weakly instead of one of them strongly. If you find yourself writing "and also" in a summary, that's usually two Action Flows. Split them and give each its own summary. ## Step 3: Set the wait time **Wait time before grabbing content** is how long the Adoption Agent keeps trying to find the element for a step before it gives up. The default is 30 seconds. This is a timeout, not a countdown shown to the user. It exists so a run can't hang forever. Without it, the Adoption Agent would keep retrying and the user would be stuck until they closed the widget. Match it to what the step is doing: | Step type | Suggested wait time | | --- | --- | | Clicking a button or link that's reliably present | 2–3 seconds | | Steps that depend on a page or panel loading | 5–10 seconds | | Steps where the user has to type something substantial | Longer, because the timer covers the time they spend typing | Set it too low on a step that waits for user input and the run will time out while the user is still typing. Set it high and the user can always click **Cancel** instead of waiting. When the wait time is exceeded, the Adoption Agent stops trying, the run ends there, and the user is told the step couldn't be completed. ## Step 4: Set the public name **Public name** is what your users see on the card the Adoption Agent shows when it recommends this flow. Write it as the task, from the user's side: "Add a team member," not "Team member provisioning v2." ## Step 5: Build the steps Each step is one action. Add a step, choose what it should do, then point it at an element. Steps can click an element, enter text, or make a dropdown selection. 1. Click **Select element** and pick the element in your app. The simulator loads your app so you can click directly on the target, the same way you select elements for a Flow. 2. If the element is hard to reach through the selector, use **Go manual** to enter the selector yourself. For steps that need something only the user can supply, add an input step and describe what the Agent should ask for. You're writing a prompt for the Adoption Agent, not the exact question. The agent phrases the question itself, asks in the chat, and confirms what it received before continuing. Describing the information you need is enough: "Ask which event the user wants to track." See [Selecting elements](https://help.userflow.com/docs/tooltip-element-selection) for element selection technique, which works the same as it does in the Flow builder. ## Step 6: Connect the steps with triggers Steps aren't connected automatically. Each one needs a trigger that says where to go next, added with **+ Add Trigger**. This is the part most people miss on their first Action Flow. If a step has no trigger, the run stops there. Two things to know about how conditions behave in an Action Flow: - **Use "Water is wet" unless you need branching.** "Water is wet" is a condition that always evaluates to true, and it's the one to reach for by default. On a trigger it just means "go to the next step," which is what you want whenever every user should follow the same path. Pick a real condition (a segment, an attribute) only where the task genuinely forks. - **Conditions are evaluated after the step's action runs**, not before. The Adoption Agent performs the click, then checks conditions to decide which step comes next. This is different from a Flow, where matched conditions can send a user straight to a later step. ![An Action Flow step with a trigger added](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(718).png) ![Choosing the condition for an Action Flow trigger](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/image(719).png) As a best practice, add a trigger with a dismiss action on your completion step so the run closes cleanly. ## Step 7: Preview and publish 1. Preview the Action Flow to watch it run end to end. Preview only works if you have a published Resource Center with an Adoption Agent block. See [Resource Center Implementation Guide](https://help.userflow.com/docs/resource-center). 2. Publish when it behaves the way you expect. Publishing an Action Flow doesn't make it available to users. Add it to an Adoption Agent as a source first. See [Add an Action Flow to your Adoption Agent](https://help.userflow.com/docs/add-action-flows-to-your-adoption-agent). ## Related articles - [Action Flows: what they are and when to use one](https://help.userflow.com/docs/action-flows) - [Add an Action Flow to your Adoption Agent](https://help.userflow.com/docs/add-action-flows-to-your-adoption-agent) - [Selecting elements](https://help.userflow.com/docs/tooltip-element-selection) - [Set up your Adoption Agent: add sources, test, publish, and add it to your Resource Center](https://help.userflow.com/docs/ai-assistant)