TrustPager Docs

← Help Center

Communications

How to Test a Voice Agent with Chat Tests

Test a voice agent in seconds without a phone call: save pretend callers with pass checks, run them against your latest saved script, read why each one passed or failed, then make one test call to hear how it sounds.

Chat tests let you check what your voice agent says and does before anyone rings it. A pretend caller chats with your agent in text, following instructions you write, and each conversation is checked against what should happen. A test takes seconds and costs a fraction of a test call, so test this way first and make a real call only at the end to hear how the agent sounds.

Where to find it

Tests always run against your latest saved draft, so you can test a change before you publish it. Save the draft first; unsaved edits are not tested.

Writing a test

Click Add test and fill in three things:

Open a saved test to edit it. Each field saves on its own when you click away. You can also fill in what the agent knows about the caller, one per line (for example first_name=Jordan), for agents that greet people by name.

Nothing real happens during a test

Bookings, emails, review links, messages and CRM updates are pretended during a test: the agent is told they worked, but nothing is saved and nobody is contacted. The calendar check answers with two sample times so a booking conversation can run all the way through. Leave Let tools run for real off unless you are testing in a practice workspace and want the actions to really happen.

Running tests and reading results

Each test conversation costs 300 credits. See https://app.trustpager.com/settings/billing for your balance.

Then make one test call

Once your chat tests pass, switch to the Voice call tab and make one call from your browser to hear the voice, the pace and how it handles interruptions. Chat tests check what the agent says; a call checks how it sounds.

Using the API or an AI assistant

Everything here is also available through the TrustPager API and AI tools: list_voice_agent_tests, create_voice_agent_test, update_voice_agent_test, delete_voice_agent_test, run_voice_agent_tests, list_voice_agent_test_runs and get_voice_agent_test_run. See https://docs.trustpager.com for the full reference.

← Back to Help Center Open on trustpager.com ↗