Advanced Builder
Use the advanced agent tabs when you need reusable state, stricter safety rules, workflow branching, or human handoff.
Advanced Builder Overview
The agent editor exposes several specialized tabs after the basics are configured. Use them to shape how the agent behaves in production, not just what it says in a single reply.
Variables
Variables hold reusable state such as customer tier, company name, appointment type, or secret tokens. They are available across prompts, playbooks, and tool flows.
- ●Use global variables for values shared across many agents.
- ●Use playbook-local variables when a flow needs temporary state.
- ●Mark secrets as sensitive so they stay redacted in responses.
Documents
The Documents tab is your knowledge base. It now supports PDF, DOCX, Markdown, and TXT uploads, plus authored text docs for structured facts.
- Upload source files that customers actually ask about.
- Author concise text docs for policies, hours, pricing, and exceptions.
- Keep one topic per document so retrieval stays sharp.
- Refresh documents when the business changes so answers stay current.
Guardrails
Guardrails are where you set the boundaries for the agent. The page supports profanity filtering, blocked topics, safety phrasing, and custom rules.
- ●Choose the level that matches the risk profile of the business.
- ●Add custom rules for things the agent should always avoid or always say.
- ●Review guardrails when you add a new channel, region, or regulated workflow.
Workflows
Workflows are the structured, multi-step paths behind complex tasks. Use them when a single playbook is not enough and the agent needs to branch, collect variables, or call tools in sequence.
A good workflow has one clear goal, explicit handoffs, and a fallback if the user gives incomplete information.
Escalation & Simulator
Escalation defines when and how the agent hands off to a human, while the simulator lets you test those routes before customers hit them.
- ●Configure voice, chat, or callback escalation depending on the channel.
- ●Use the simulator to test greeting, workflow, and fallback behavior end to end.
- ●Confirm the handoff is visible to the team before you turn the agent live.
Need the next layer?
If you are ready to ship, the next guide to read is Agent Operations so you can monitor the live system and improve it with real data.