Testing & Publishing โ
Test your agent with real calls, use the Customize Behavior chatbox to tweak instructions, and publish when it's ready! ๐งชโ
๐ฌ Customize Behavior (Chatbox) โ
The Customize Behavior chatbox lets you change your agent's instructions using plain English โ no need to edit the prompt by hand!
๐ How It Works โ
- Open the Customize Behavior section in the agent editor
- Type what you want to change in normal words
- The AI reads your request and suggests changes to the prompt
- Changes are highlighted so you can review them ๐
- Accept or reject the changes
๐ก Example Instructions โ
- "Make the agent more formal and professional"
- "Add a step to ask about the client's insurance company"
- "Don't let the agent talk about fees or pricing"
- "If the client says they already have a lawyer, end the call politely"
- "Add Spanish language support" ๐ช๐ธ
โก Quick Suggestions โ
After each change, the chatbox might suggest more tweaks. Click a suggestion to apply it right away!
๐ Document Upload โ
You can upload documents to help the chatbox write better instructions:
| Supported Formats | Max Size |
|---|---|
| PDF, CSV, XLS, XLSX, DOC, DOCX, JPG, JPEG, PNG | 10 MB per file |
Upload up to 20 documents. The AI reads the text from them and uses it to make smarter prompt changes. ๐
๐ Draft Mode โ
When you're building a new agent (before saving it), the chatbox works in draft mode. Your instructions and chat are saved to a temporary session. Once you save the agent, everything moves over to the saved version.
๐ Test Calls โ
Try out your agent with real phone calls before going live!
๐ฏ Making a Test Call โ
- Open the Test Call panel in the agent editor (right side)
- Pick a Testing Number โ the phone number the call comes from
- Enter Your Number โ the phone number to call (saved automatically per agent)
- Optionally go to the Variables tab to pre-fill dynamic variable values for the test
- Click Test to start the call ๐
๐ก During the Test Call โ
The panel shows what's happening in real time:
| Status | Description |
|---|---|
| Registered | The call is being set up โณ |
| Ongoing | The call is happening right now ๐ด |
| Ended | The call is over โ |
๐ After the Call โ
When the call ends, you'll see:
| Data | Description |
|---|---|
| Call Summary | A short recap of the conversation written by AI ๐ |
| Sentiment | How the caller was feeling (positive, neutral, negative) ๐๐๐ |
| Success | Did the call go well? |
| Voicemail Detection | Was a voicemail found? |
| Saved Fields | Values extracted by post-call analysis (e.g. intake answers, custom fields) |
| Transcript | The full word-for-word conversation |
| Disconnection Reason | Why the call ended |
๐ง Dynamic Variables โ
If your prompt uses placeholders, open the Variables tab before testing to pre-fill values. This shows how the agent behaves with real client data.
Variables are displayed with human-readable labels derived from your form's task titles and field definitions. For example, a variable like t1_value shows up as the task's actual question name rather than a raw key.
Auto-managed variables
Some variables โ such as task statuses (t1_case_task_status) โ are pre-filled with a default value (e.g. todo) and shown as a dropdown so you can test different status paths without editing the prompt manually.
Variable values are saved per agent in your browser, so they persist between sessions and reopen automatically the next time you run a test call.
๐ Agent Versions โ
Every time you publish, a full version snapshot is saved. This captures all your agent's settings โ form, phone number, transfer, email, SMS, welcome messages โ so you can restore any past version completely.
๐ฐ๏ธ Version History โ
- Click the History button in the agent editor
- The Agent History sidebar shows all your published versions
- Each version shows its version number, title (if set), and status (Published or Draft)
- Use the search box to find versions by name, title, description, or status ๐
- Click a version to load it into the editor
๐ Version Details โ
| Field | Description |
|---|---|
| Version Number | A number that goes up with each publish |
| Version Title | An optional short label you set when publishing |
| Version Description | An optional note about what changed in this version |
| Agent Name | The agent's name at that time |
| Last Modified | When this version was last changed ๐ |
| Status | Published or Draft |
๐๏ธ Viewing a Historical Version โ
When you load a past version, the editor header shows a grey Viewing V{n} badge with the version title. This is a read-only preview โ your live agent is unchanged until you explicitly publish again.
๐ Publishing โ
Publishing makes your agent's current settings go live. All calls handled by this agent will use the published version.
โ How to Publish โ
- Check your agent settings
- Make a test call to make sure it works
- Click Save & Publish in the agent editor
- A Publish dialog opens โ add an optional version title and description to label this release
- Click Publish to confirm โ the current draft becomes the live version ๐
๐ท๏ธ Publish Dialog โ
When you click Save & Publish, a dialog appears before the agent goes live:
| Field | Description |
|---|---|
| Version Title | A short label for this version (e.g. "Added Spanish support") โ shown in version history |
| Version Description | A longer note about what changed โ shown in the editor header and history sidebar |
Both fields are optional. Skip them and click Publish to publish without a label.
๐ What Publishing Does โ
- Saves a full snapshot of the current agent settings to version history
- Marks the current version as published
- All incoming and outgoing calls now use this version
- The old published version is replaced
- Phone number connections are updated
WARNING
Publishing happens right away! Once you publish, all active calls will use the new settings. Always test well before publishing. โ ๏ธ
โช Reverting to a Previous Version โ
- Open the Agent History sidebar
- Find the version you want to go back to
- Click it to load the settings into the editor โ the header will show a grey Viewing V{n} badge
- Make any changes you need
- Click Save & Publish to make it live again
๐ Best Practices โ
- Test before publishing โ Always make at least one test call before you publish changes ๐งช
- Use the chatbox โ Typing in plain English is faster than editing the prompt by hand for most changes ๐ฌ
- Start with a starter flow โ Don't start from scratch unless you have a special reason
- Keep prompts short and clear โ Shorter instructions work better than long, complicated ones โ๏ธ
- Use variables โ Dynamic variables make agents work for different clients and campaigns
- Set up post-call analysis โ Get organized data from every call ๐
- Test tricky situations โ Try calls where the client is confused, upset, or speaks a different language
- Check things after publishing โ Look at call transcripts and analytics after launching a new version ๐
- Use knowledge bases โ Upload documents so the agent can answer specific questions correctly ๐
- Label your versions โ Add a version title and description when publishing so you can find and restore specific versions easily ๐ท๏ธ