> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firsttouch.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> For API operations, fetch https://gateway.firsttouch.ai/api/public/openapi.json for the complete input/output schemas, internal references, and x-mcp-annotations. Endpoint Markdown intentionally omits generated schema fragments. Select /api/public/tools/<tool_name> using the exact underscore-separated name. Send requests to https://gateway.firsttouch.ai; the canonical document currently omits servers. Start at https://docs.firsttouch.com/api-reference/agent-start.md.

# Replace Flow Root

> Replace an existing reusable flow-plan root with a complete node tree.

**Usage notes**

- Call get_guide with topic=flow_plan_creation before building root JSON, and call get_flow_available_variables before using variables in prompts or expressions.
- Do not use this for one-prospect action requests; use add_dynamic_action once per step.
- Never use this for the MCP Dynamic Actions flow plan; it is managed only by add_dynamic_action/remove_dynamic_action_prospect.
- The flow becomes a draft after replacement.



## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.firsttouch.com/llms.txt).
