Salesforce Agentforce testing checklist

Use this checklist before an Agentforce pilot, an expansion to a new team, or a change to the data or actions a production agent uses. Start in a sandbox with synthetic or masked records and a specific workflow, such as handling order-status enquiries.

What to verify before rollout

1. Knowledge and grounding

Test an answer that needs a current knowledge article, one with conflicting sources, and one where the answer is missing. Record which answer and fallback you expect in each case.

2. Record matching and access

Try customers with similar names, duplicate records and users with different access. Check that the agent uses the intended customer record and respects what each user may see.

3. Actions and failures

Test a valid action, incomplete input and a simulated timeout. Check when the agent needs confirmation, what it tells the user on failure, and whether a retry repeats a write.

4. Human handoff

Ask for a person, try a request outside the agent’s remit, and simulate an unavailable queue. Check the destination, the summary and what the user is told to expect.

5. Regression checks

Save a repeatable set of prompts, test records and expected outcomes. Rerun it after changes to topics, instructions, actions, access rules or Data Cloud grounding.

6. Release criteria

Agree with the workflow owner which outcomes block release. Assign someone to review exceptions, approve the pilot and decide when to pause or roll back.

One test case to start with

Ask for an order update with an order reference that matches two test records. The expected outcome is a clarification request or human handoff with the minimum context the support team needs. The run fails if the agent guesses which record to use, reveals another customer’s details, or promises a status it cannot verify.

If you want help building a test suite for your own workflow, see our Agentforce consulting services.