Salesforce

How to Test Salesforce Agentforce Voice Agents

Rishabh Kumar

Published On

Test Salesforce Agentforce Voice Agents
eBook CTA Background
RECOMMENDED RESOURCES

Salesforce testing: Complex Element Selection Best Practice

While some applications are easy to automate, others, like Salesforce, need a little extra love and attention. This is our best practice guide to complex element selection.

Get the eBook →

Ebook image
eBook CTA Background
RECOMMENDED RESOURCES

Salesforce testing: Complex Element Selection Best Practice

While some applications are easy to automate, others, like Salesforce, need a little extra love and attention. This is our best practice guide to complex element selection.

Get the eBook →

Ebook image
eBook CTA Background
RECOMMENDED RESOURCES
Ebook image

Salesforce testing: Complex Element Selection Best Practice

While some applications are easy to automate, others, like Salesforce, need a little extra love and attention. This is our best practice guide to complex element selection.

Get the eBook →

eBook CTA Background
RECOMMENDED RESOURCES

Salesforce testing: Complex Element Selection Best Practice

While some applications are easy to automate, others, like Salesforce, need a little extra love and attention. This is our best practice guide to complex element selection.

Get the eBook →

Ebook image

Table of contents

Lorem ipsum

Lorem ipsum

Lorem ipsum

Lorem ipsum

Lorem ipsum

A chat agent that mishears nothing can still make mistakes. A voice agent adds a new one at the very first step. If it hears “policy 4-7-1” as “4-1-7”, it can act confidently, and politely, on the wrong customer.

Testing a voice agent means testing what it heard, how it sounded, and everything that happened behind the call.



What is Salesforce Agentforce Voice Testing?

Salesforce Agentforce Voice testing checks that an Agentforce agent handles phone conversations correctly.

It covers two things:

  • The voice experience: Speech recognition, response time, interruptions, background noise, accents and silence.

  • Everything behind the call: The topic and actions the agent chose, the records it changed, where it routed the call, and what a human agent saw after a handoff.

The second part is where most business risk lives, and it can be checked exactly. The first needs specialist voice testing tools alongside your other tests.



What Changes When a Salesforce Agentforce Agent Speaks

Salesforce describes Agentforce Voice as a channel, not a separate agent. The same agent, with the same topics, actions and instructions it uses in chat, handles phone calls. Underneath sits Salesforce Voice (formerly Service Cloud Voice), connected to a telephony provider such as Amazon Connect, or a contact-centre partner through Partner Telephony.

Salesforce has also announced voice for digital channels such as web chat and messaging apps, and Agent Script support for scripted voice flows.

That shared foundation is good news for testing, because the agent’s reasoning and actions can be tested once. But voice adds failure modes text never had.

New in Voice

What Can Go Wrong

Risk

Speech recognition

A policy number, postcode or name is misheard, and the agent acts on the wrong record

High

Latency

Pauses long enough that callers talk over the agent or hang up

Medium

Interruptions

The caller speaks while the agent is talking, and context is lost

Medium

Audio conditions

Background noise, accents and poor lines degrade understanding

Medium

Identity on the phone

Verification works differently without a signed-in session

High

Handoff to a person

The call transfers, but the human agent’s console shows nothing useful

Medium

Telephony layer

Routing, queues and call flows in the contact-centre platform change independently of Salesforce

Medium

The first and fifth rows matter most, because together they can lead to an agent confidently acting on the wrong customer.



The Three Layers of Voice Agent Testing

A voice agent can go wrong in three different places. It can reason badly. It can mishear or respond poorly on the call. Or it can change the wrong thing in Salesforce. Each needs a different kind of test, and the order matters. Test the agent through text first, then the voice experience, then everything behind the call.


Three Layers of Voice Agent Testing
  1. Test the Agent’s Reasoning and Actions Through Text First

Because voice and chat share the same agent, test topics, actions, outcomes and boundary cases in Agentforce Testing Center and through text-based end-to-end journeys before any calls are placed. Every defect found here is one you won’t have to diagnose on a phone line, where it’s slower and harder to reproduce.


  1. Test the Voice Experience, Simulated and With Real Calls

Start inside Salesforce. Agentforce Testing Center’s conversation-level tests now support voice agents, simulating whole conversations with personas such as a frustrated customer or a non-native English speaker, and you can play back the AI-generated voice conversations used in a run.

The Testing API returns voice metrics for voice agents too. That catches a lot early, but simulated voices aren’t real phone lines.

Then place real calls with telephony and voice agent testing tools, which can call the agent’s number, hold a conversation and grade the result, and cover the conditions your customers actually call from.

Scenario

What to Check

Clear speech, quiet room

A baseline for recognition accuracy and response time

Regional accents and non-native speakers

Recognition of names, numbers and addresses

Background noise, such as traffic or a busy office

Recognition, and whether the agent asks to repeat rather than guessing

Interruptions mid-sentence

The agent stops, listens and keeps the context

Long silence

A sensible prompt, then a graceful end or transfer

Change of mind mid-call

The agent follows the new request without losing earlier details

Spelled-out and grouped numbers, such as “four seven one” vs “forty-seven, one”

The value the agent acts on is exactly right

Failed identity verification

The agent stops before any sensitive action, and routes appropriately

Measure two numbers on every run. Response latency, the gap between the caller finishing and the agent starting, and recognition accuracy for the values that matter most, such as account numbers and dates of birth.


  1. Check Everything Behind the Call

After each test call, check what actually happened. These checks are deterministic, so they should pass every time.

  • Records: the case, booking or update was created on the right customer, with the right field values, once.

  • Routing: the call or case reached the right queue, with the right priority.

  • Handoff context: the human agent’s console showed the transcript, the customer and the relevant records, so the customer didn’t have to repeat themselves.

  • Connected systems: any downstream update, such as a claims or billing system, received the right data.



Testing Identity Verification on Salesforce Voice Calls

On a phone line there’s no signed-in session, so verification carries more weight. Test it as carefully as any security control.

  • Correct details pass, and the agent proceeds.

  • One wrong detail fails, and the agent doesn’t reveal or change anything.

  • Misheard details fail safely, with the agent asking again rather than matching a similar record.

  • Repeated failures route to a person or end the call, as your policy requires.

  • Callers who verify as one customer can’t act on another customer’s account in the same call.



A Worked Salesforce Agentforce Voice Test Plan

Worked example (illustrative)

An insurer’s voice agent lets policyholders report a car windscreen claim.

Here’s how one journey is tested across all three layers.

Step

Layer

Test

Pass When

Caller asks to report a claim

1. Text

The same request in Testing Center and a web chat journey

Claim topic chosen, Create claim action called

Caller gives their policy number with a regional accent

2. Voice

Real call from a voice testing tool, three accents

The number the agent repeats back matches exactly

Caller verifies with date of birth and postcode

2. Voice

One correct and two incorrect attempts

Correct passes, incorrect stops before any change

Caller interrupts to add that the car is undrivable

2. Voice

Interruption mid-response

The detail is captured, not lost

Agent creates the claim

3. Behind the call

Check the claim record in Salesforce

One claim, right policy, right damage type, flagged undrivable

Agent routes the urgent claim

3. Behind the call

Check the queue and priority

Claim in the urgent repairs queue

Caller asks for a person

3. Behind the call

Check the human agent’s console

Transcript, customer and claim visible on arrival

Seven checks, three layers, one journey. The behind-the-call checks are exact and should pass on every run. The voice checks are measured across many calls.



When to Rerun Agentforce Voice Agent Tests

Trigger

What to Rerun

Any change to the agent’s topics, actions or instructions

All three layers, starting with text

A Salesforce release in your sandbox preview window

All three layers, compared against your baseline

A change in the telephony platform, such as call flows or queues

Voice and behind-the-call layers

A new phone number, region or language

Voice layer for that route, then behind-the-call checks

A spike in misrouted or repeated calls in production

The scenarios closest to the real calls

For the dates that set each Salesforce release window, see the Salesforce release cycle.



Common Voice Agent Testing Mistakes

  • Testing only in a quiet office, with clear speech and no interruptions.

  • Treating a polite conversation as a pass, without checking the record behind it.

  • Skipping failed verification tests, which are where the most serious risks sit.

  • Testing voice before text, so reasoning defects are diagnosed the slow way.

  • Forgetting the telephony platform, which changes on its own schedule.



Where Virtuoso QA Fits in Agentforce Voice Testing

Most of the business risk in a voice agent sits in layers 1 and 3, what the agent decided and what it changed. That’s where Virtuoso QA works. Its journeys hold conversations with the same agent through its web channels, checking the actions, records and handoffs that result. After calls placed by your telephony testing tools, journeys check the records, routing and console context in Salesforce and, through API steps, in connected systems. Touchstone’s agents can propose these journeys from your agent’s documentation, for a named person to approve, and every run is recorded as evidence.

To be clear about the boundary, Virtuoso QA tests browser-based applications and APIs. It doesn’t place phone calls or evaluate speech and audio, so recognition and call-quality testing need dedicated telephony testing tools alongside it.

💡Virtuoso QA’s Salesforce test automation checks the records, routing and handoff context behind your voice agent’s calls, across Salesforce and connected systems, on every release.



Related Reads

Salesforce Agentforce Voice Testing FAQs

What is Salesforce Agentforce Voice?

How do you test a Salesforce Agentforce Voice agent?

Can Agentforce Testing Center test voice agents?

Is Agentforce Voice the same as Service Cloud Voice?

What’s the biggest risk in a voice agent?

Should voice agents be tested separately from chat agents?

Written by

Rishabh Kumar

AI Testing & Quality Engineering Contributor

Rishabh leads business development and marketing at Virtuoso QA. He writes about AI-powered test automation, end-to-end testing, self-healing tests, and quality engineering, exploring how these capabilities can improve test coverage, reduce test maintenance, and support reliable software releases.

See what your next release looks like with Virtuoso

Book a walkthrough on your applications and your workflows. Bring a requirement, a user journey, or a brittle Selenium script, and watch the loop run on something you recognise.

See what your next release looks like with Virtuoso

Book a walkthrough on your applications and your workflows. Bring a requirement, a user journey, or a brittle Selenium script, and watch the loop run on something you recognise.

See what your next release looks like with Virtuoso

Book a walkthrough on your applications and your workflows. Bring a requirement, a user journey, or a brittle Selenium script, and watch the loop run on something you recognise.

Virtuoso QA is establishing the standard of proof for software releases. Its governed QA loop turns business requirements into tests for any browser-based application: AI proposes, a deterministic engine executes, a person approves what matters, and every decision leaves evidence.

Trust Center

AICPA

SOC

WAVE STRONG PERFORMER

@ Copyright 2026 SpotQA, Creators of Virtuoso QA

Virtuoso QA is establishing the standard of proof for software releases. Its governed QA loop turns business requirements into tests for any browser-based application: AI proposes, a deterministic engine executes, a person approves what matters, and every decision leaves evidence.

Trust Center

AICPA

SOC

WAVE STRONG PERFORMER

@ Copyright 2026 SpotQA, Creators of Virtuoso QA

Virtuoso QA is establishing the standard of proof for software releases. Its governed QA loop turns business requirements into tests for any browser-based application: AI proposes, a deterministic engine executes, a person approves what matters, and every decision leaves evidence.

Trust Center

AICPA

SOC

WAVE STRONG PERFORMER

@ Copyright 2026 SpotQA, Creators of Virtuoso QA

Platform

Solutions

Resources

Platform

Solutions

Resources

Platform

Solutions

Resources