Build agentic flows in Agent Studio
Design, test, and deploy agentic flows in ACEIRT™ Fusion AI Studio using the Agent Studio canvas with variables, branching, and tools.
Access Agent Studio
Agent Studio lives inside AI-focused tooling in ACEIRT™ Fusion and provides the visual canvas for agentic flows.
Open AI Studio
From your ACEIRT™ Fusion workspace, go to the area labeled for AI creation tools and open AI Studio.
Switch to Agent Studio
In AI Studio, look for the section labeled Agent Studio or AI Agents and select it. This opens the visual canvas used to design agent flows.
Create or open an agent flow
Create a new agent flow or open an existing one to view the canvas with a Start node on the left and an End node on the right.
Treat Agent Studio flows as living systems. Start with a minimal version that works end to end, then iterate by adding nodes, variables, and branches as you test.
Understand the canvas model
Agent Studio uses a node-based canvas. Every runnable flow connects from a Start node through one or more agent nodes to an End node.
- Start node: Entry point for the flow and any input variables.
- Agent nodes: The work steps, either sequential actions or AI agents with tools.
- End node: Marks completion and final output.
A valid flow meets two rules:
- Every path starting at Start must eventually reach End.
- Every agent node must be reachable from Start and lead toward End (no isolated or dead-end nodes in published flows).
A simple sequential flow might look like:
When you add new nodes, always connect them with edges so that there is a continuous path from Start to End for all branches.
Work with variables
Agent Studio uses variables to pass data between nodes and control behavior. Variables fall into three main types.
- Global variables: Configuration or settings shared across runs.
- Input variables: Values that come into the flow when it starts.
- Runtime variables: Values computed or captured while the flow runs.
Variable types at a glance
| Variable type | Scope | Typical examples |
|---|---|---|
| Global | Shared across all executions | Default model name, base API URL, workspace or brand name |
| Input | Provided at flow invocation | User message, lead email, selected product identifier |
| Runtime | Created or updated during run | AI agent analysis, API response status, collected user input |
Global variables
Global variables store configuration that rarely changes per run.
Examples:
- A global
default_modelstring used by multiple AI nodes. - A global
support_hourstext used in messaging across flows.
Define global variables when you want to avoid repeating the same configuration in many places.
Input variables
Input variables capture data passed into the flow when it starts, from a UI, integration, or API call.
Examples:
user_questionfrom an Ask AI text field.lead_emailfrom a form in a funnel or page.
Map these variables in the Start node so downstream nodes can reference them in prompts, conditions, or API calls.
Runtime variables
Runtime variables hold values produced while the flow executes.
Examples:
qualification_scoreset by an AI agent that rates a lead.api_statusandapi_payloadfrom an API call node.user_preferencecollected from a single-choice collection node.
Use runtime variables for branching, reusing outputs, and building more complex logic as the flow progresses.
Choose node types
Agent nodes perform the work in your flow. You typically choose between a Sequential agent (explicit step-by-step nodes) and an AI agent (LLM-driven orchestration with tools).
A sequential agent runs nodes in a defined order. Each node performs a specific function and passes its output to the next step.
Typical node types include:
| Node type | What it does | Typical output |
|---|---|---|
| API call | Calls external or internal APIs | JSON payload, status code, headers |
| Text generation | Uses a model to generate text from a prompt | Text string |
| Image generation | Creates images from text prompts | Image URLs or IDs |
| Audio generation | Produces audio (for example, voice) from prompts | Audio file URLs |
| Video generation | Generates video content from prompts or scripts | Video URLs |
| Collections | Collects structured input from users | Email, phone, choices, constrained text |
Use sequential agents when you want strict, predictable ordering and clear control over each step in the pipeline.
An AI agent uses a model plus tools to decide what to do next based on your instructions and the current state of variables.
Key elements:
- Prompt and model: You provide system-level instructions and choose an underlying model. The agent uses this to reason about user inputs and runtime variables.
- Tool use: The agent can call tools as needed:
- Knowledge bases: Query curated content or documentation inside ACEIRT™ Fusion for grounded responses.
- Web search: Look up recent or external information when allowed.
- MCP servers: Call external capabilities exposed via Model Context Protocol, such as internal systems or services.
- Basic tools: Perform utility actions like formatting, simple calculations, or content transformation.
AI agents can also extract structured values into runtime variables, which you can reference later or use in conditions to branch the flow.
Add collections for user input
Collections nodes let the flow ask users for information and store it as variables.
Collections can capture:
- Email: For follow-ups or lead capture.
- Phone: For SMS or call workflows.
- Single-choice buttons: For quick preferences or routing decisions (for example, "Sales", "Support").
- Text with min/max length: For constrained answers like short descriptions or detailed questions.
Map each collection field to a runtime variable. Downstream nodes can then use that variable in prompts, API calls, or conditions.
Use branching and conditions
Branching lets a flow follow different paths based on runtime variables. This is how you build more adaptive and personalized behavior.
Common patterns:
- Route leads by
qualification_score(for example, greater than 80 goes to high-priority path). - Choose between knowledge base and web search depending on a
topic_categoryvariable set by an AI agent. - Send users to different sequences based on a
user_intentlabel like "support", "sales", or "billing".
To add branching:
- Configure a condition node or condition section on an existing node.
- Reference runtime variables and define rules (for example, equals, contains, greater than).
- Connect each condition outcome to the next appropriate node, and ensure all paths eventually rejoin or reach the End node.
Branching logic is evaluated at runtime, so updating conditions can change behavior without rebuilding the entire flow.
Test and publish your agent
Use test mode to validate flows before making them available to real users or systems.
Run in test mode
Use the built-in test experience to start the agent, provide input values, and observe node-by-node execution, including variable values at each step.
Inspect variables and paths
Check which branches executed, what each node produced, and how runtime variables changed. Adjust prompts, conditions, or node order based on these results.
Publish to production
Once the flow behaves as expected, publish it. Publishing promotes the current version so other ACEIRT™ Fusion features and integrations can use it.
Handle sensitive or regulated data carefully. Before publishing, confirm your agent does not expose confidential information through tools, logs, or responses, and that you only collect data you actually need.
Deploy and connect your agent
After you publish, you can connect the agentic flow to other parts of ACEIRT™ Fusion or external systems.
- Execute via API: Trigger the agent from your own applications or integrations by sending inputs that map to the flow's input variables and reading outputs and runtime variables in the response.
- Use inside Ask AI: Configure Ask AI in ACEIRT™ Fusion to route certain queries into your published agent flow so end users or teammates benefit from its logic and tools.
Keep deployment setups aligned with how you defined input and output variables in the Start and End nodes so behavior remains predictable.
Common patterns
These patterns show how to combine nodes, variables, and branching in Agent Studio.
-
Lead qualification
- Start with input variables like
lead_emailandlead_message. - Use an AI agent node with tools (knowledge base or MCP) to analyze fit and produce a
qualification_scoreruntime variable. - Branch by score to different follow-up sequences or assign priority labels.
- Start with input variables like
-
Content generator
- Accept topic, audience, and tone as input variables or via collection nodes.
- Use a text generation node or AI agent to draft content and store it in a runtime variable.
- Optionally pass this variable to image, audio, or video generation nodes to create supporting media assets.
-
Support triage
- Capture a
user_questionandcategory_choicevia collections. - Run an AI agent with knowledge base and web search tools to classify intent and propose answers.
- Branch to different paths (for example, self-service response, escalation summary, or handoff) based on runtime variables like
intent_labelandurgency_level.
- Capture a
What’s next
Deepen your Agent Studio work with related AI Studio capabilities.
AI Studio overview
Understand how Agent Studio fits with apps, pages, and other AI building blocks.
Prompting best practices
Learn how to write clear, constrained prompts that improve AI agent behavior.
Create apps
Turn your agent flows into interactive applications that users can launch and control.
Build funnels
Connect agents to multi-step funnels that collect leads and guide users through journeys.
Last updated today
Built with Documentation.AI