--- title: "Add an Action Flow to your Adoption Agent" slug: "add-action-flows-to-your-adoption-agent" updated: 2026-10-28T19:40:34Z published: 2026-10-28T19:40:34Z canonical: "help.userflow.com/add-action-flows-to-your-adoption-agent" --- > ## 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. # Add an Action Flow to your Adoption Agent This guide shows how to add a published Action Flow to your Adoption Agent in Userflow, so the agent can offer to run it when a user asks for that task. You add Action Flows as a source, choose which ones to suggest, then train, test and publish the agent. Publishing an Action Flow doesn't make it available to your users. The Adoption Agent only recommends Action Flows that have been added to it as a source and trained on. You'll need a published Action Flow before you start. See [Create an Action Flow](https://help.userflow.com/docs/create-an-action-flow). ## Step 1: Add Action Flows as a source 1. Open your Adoption Agent. 2. Click **Add source** (or **Add another source** if the agent already has sources). 3. Select **Action flows** (Suggest action flows). ![Adoption Agent Add source menu with Action flows selected](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/actionflowscreenshot1.jpg) The **Action flows source** panel opens on the right, showing **Action flows to suggest**. ![Action flows source panel showing the Action flows to suggest list](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/actionflowscreenshot2.jpg) ## Step 2: Select the Action Flows to suggest 1. In the **Action flows to suggest** panel, click **+ Add**. 2. Select the Action Flows you want this Agent to be able to run. 3. Click an Action Flow in the list to set its **Action flow icon**. Choose a built-in icon, upload an image, or point to an image URL. This is the icon users see alongside the flow when the Agent recommends it. 4. In the same panel, turn on **Only suggest action flow if…** to limit who the flow is offered to. **Only suggest action flow if…** works the same way as conditions on a Flow source: the Adoption Agent only suggests the Action Flow to users who match. If a task is only relevant to some of your users, such as admins, a particular segment or users on a specific setup, set the condition here rather than relying on the agent to work it out. ## Step 3: Train the Adoption Agent Click **Train**. As with every other change to an Adoption Agent, the new Action Flows source isn't live until the agent has been retrained. ## Step 4: Test the Action Flow in Test chat Open **Test chat** and ask for the task the way a user would, for example "I want to add a team member", not the Action Flow's internal name. The Adoption Agent should reply with a card showing the Action Flow's public name. If the agent also has a knowledge base answer for your question, it shows that answer first and the card below it. That's expected, so check for the card under the answer before deciding the Action Flow wasn't matched. Clicking the card in Test chat doesn't run anything, because running an Action Flow needs the Resource Center and the widget. Test chat checks that the *right Action Flow is recommended for the right question*. You check that it runs correctly when you preview it in the builder. If the wrong Action Flow comes back, or nothing does, the fix is almost always the **Summary of action flow** field on the Action Flow itself, not anything in the agent. See [Create an Action Flow](https://help.userflow.com/docs/create-an-action-flow#step-2-write-the-summary). Test chat doesn't use your plan's credits. It has its own monthly ceiling of 500 credits, shared across your account. See [Test chat vs. Preview: which one uses credits?](https://help.userflow.com/docs/usage-limits-vs-global-limits#test-chat-vs-preview) ## Step 5: Publish the Agent Click **Publish**, select the environments to publish to, and confirm. ![Publish adoption agent dialog with environment selection and Resource Center reminder](https://cdn.us.document360.io/9697557a-eb5d-476f-9b09-062b0f7bdcbd/Images/Documentation/actionflowscreenshot3.webp) If you haven't added this Adoption Agent to a Resource Center yet, do that now. The publish dialog reminds you. Go to your Resource Center, and under **Content**, add a new **Adoption Agent** block. Users can't reach the Agent, or any Action Flow, until that block exists. See [Step 6: Add the Adoption Agent to your Resource Center](https://help.userflow.com/docs/ai-assistant#step-6-add-the-adoption-agent-to-your-resource-center). ## What happens if a Flow and an Action Flow cover the same topic? When a Flow and an Action Flow both match what a user asked, the Adoption Agent recommends one of them, not both. Offering two ways to do the same thing puts another decision in front of someone who just asked for help. So you can build both for the same task and only ever see one offered. If you want a specific one offered, remove the other from the agent's sources. Knowledge base answers work differently. If the Adoption Agent also has a knowledge base answer for the question, it shows that answer first and the recommendation card below it. A knowledge base answer and one recommendation card can appear together, but two recommendation cards for the same topic won't. ## Why did my Action Flow stop working after a release? An Action Flow depends on the elements in your app it was built against. If you change the UI those steps point at, the Action Flow starts failing at that step. The Adoption Agent tries for the step's wait time, then stops the run. After any release that changes the screens an Action Flow uses, check the **Analytics** tab on the Action Flow. The step funnel shows which step users stop at, so you can see where it broke and rebuild that step. ## Related articles - [Action Flows: what they are and when to use one](https://help.userflow.com/docs/action-flows) - [Create an Action Flow](https://help.userflow.com/docs/create-an-action-flow) - [Set up your Adoption Agent: add sources, test, publish, and add it to your Resource Center](https://help.userflow.com/docs/ai-assistant) - [Adoption Agent credits and usage limits: how billing works and how to cap usage](https://help.userflow.com/docs/usage-limits-vs-global-limits)