AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
docs(agents): how to run a saved agent from a flow step (#16023)
Hazem Adelc2ecf8cdb8c5
diff --git a/docs/agents/in-flows.mdx b/docs/agents/in-flows.mdxindex fdc9839d0b3..d0f52ad81b1 100644--- a/docs/agents/in-flows.mdx+++ b/docs/agents/in-flows.mdx@@ -25,6 +25,22 @@ Drop an agent into a [flow](/flows/building-flows) as a step. The flow handles wIf you can write the rule in one sentence without saying "depends", it's a condition, not an agent.</Tip>+## Run one of your saved agents++Add a **Run Agent** step from the **AI** piece, then pick the agent in **Agent**. Its instructions, tools and model come from the agent, so leave **AI Model** empty. An agent marked **Not published yet** is listed too, but a flow can only run it once it's published.++<Steps>+ <Step title="The step runs the published agent">+ Edits you make to the agent reach your flows once you publish them from the agent's Configure panel. Until then, flows keep running the version that was live.+ </Step>+ <Step title="Each run shows up on the agent">+ The agent's **Runs** tab lists the runs flows started, with the flow that triggered each one. A run refused before it started isn't listed.+ </Step>+ <Step title="A published flow keeps the agent in place">+ While a published flow runs the agent, it can't be deleted or moved to another project. The dialog links the flows that use it (members who can't read flows see a count instead). Take the agent out of each flow and publish the flow, then try again.+ </Step>+</Steps>+## Get a result you can build onProse is hard to branch on, because the phrasing drifts every run.diff --git a/docs/agents/manage.mdx b/docs/agents/manage.mdxindex f4ccb77007b..3ec0341cc96 100644--- a/docs/agents/manage.mdx+++ b/docs/agents/manage.mdx@@ -41,7 +41,7 @@ Only the person who created the agent, or a project admin, can move or delete itDeleting is permanent: the instructions, the tools and every conversation held with the agent go with it. A draft flow step pointing at the agent will break, and the dialog says so.-If a **published flow** still runs the agent, deleting is refused and the flows are named. Take the agent out of those flows first.+If a **published flow** still runs the agent, deleting is refused and the dialog links those flows (members who can't read flows see a count instead). Take the agent out of each flow and publish the flow, then delete.## Who can see it