Short walkthroughs that turn the platform into your operations team: automated pipelines, instant follow-ups, AI-handled admin. One video, one less thing to do manually.
How to use the visual flow editor to build conversation flows — nodes, edges, the Global Prompt, custom tools, global nodes, and publishing.
The script editor is where you write your voice agent's brain. Every node is a moment in the conversation — the agent says something, listens, then decides where to go next. You connect those moments with edges, and the edges carry plain-English conditions that tell the agent when to move on. Get it right here and the agent handles calls on its own.
Open the editor by going to https://app.trustpager.com/auto/voice-agents, clicking into your agent, and then clicking Edit Script. The URL becomes /auto/voice-agents/:id/script once you are inside.
The left side of the screen shows a tree of all your nodes. The right side is the editor panel — click any node or edge in the tree to edit it. Changes are held locally until you save.
The tree expands as you add nodes. Loops are detected automatically and shown with a "Back to" indicator so the canvas stays readable even for complex flows.
Each node in the flow is one of the following types:
Function, Branch, Transfer Call, SMS, and MCP nodes are read-only in the script editor — their logic is defined in the voice platform. You manage the instruction text for Conversation and End Call nodes only.
Connect nodes with edges. Each edge has a condition — write it in plain English describing when the agent should move from one node to the next. For example:
There are also two special edge types:
Click any edge label in the canvas tree to edit its condition. The condition field accepts free-text prompts or structured equations.
The Global Prompt applies to every node in the flow. Click Global Prompt at the top of the canvas tree to open it. Write it as instructions to the agent: who it is, what business it represents, what it should and should not say, and any factual guardrails you need enforced throughout the call.
A good Global Prompt typically covers:
If the flow has dynamic variables — for example {{caller_name}} or {{business_name}} — you can set their default values in the Global Prompt panel. The actual values are injected at call time by your integration.
Attach knowledge bases to give the agent factual grounding during a call. Knowledge base IDs are visible in the Global Prompt panel. Add them in the agent configuration and they become available for the agent to query. The flow builder shows which IDs are attached but does not manage them directly — use the TrustPager API or raise a service request at https://app.trustpager.com/settings/service-requests to add or remove knowledge bases.
Function nodes call HTTP endpoints mid-conversation. You register custom tools in the agent configuration and they appear as Function nodes in your flow. The script editor lets you set the instruction text for how the agent introduces or explains the function call — the actual endpoint configuration lives in the agent settings. Good uses include checking appointment availability, looking up a contact record, or creating a booking without putting the caller on hold.
A global node can fire from any point in the conversation, regardless of where the agent currently is in the flow. To make a node global, enable its global node setting and write a trigger condition — for example: "Caller asks a factual question about our services". The agent will jump to that node whenever the condition is met, then return to the previous point in the flow.
Global nodes are useful for knowledge base lookups, FAQ handling, or escalation paths that should be reachable from anywhere in the script.
When you are ready to save, click Save Draft. A confirmation modal shows every change you have made — node instructions, edge conditions, global prompt updates, and settings changes — so you can review before committing. Changes saved as a draft do not go live yet.
Once you are happy with the draft, click Publish on the agent detail page. Publishing syncs the flow to the voice platform and makes it live for incoming and outbound calls. The Save Draft modal reminds you of this distinction, but it is easy to miss on your first build.
Talk to Evie right now, or book a real human for a deeper walkthrough. Whichever feels right.
Hear her in 10 seconds.

60 minutes with a real human · Google Meet · Free.