Overview

A persona is a reusable set of starting variable values for a test conversation. It lets you try an agent as a particular customer type or account state without entering the same information each time.

When to use personas

Use personas when the same request should behave differently for different customers: a signed-in customer versus a guest, or a new account versus an existing subscriber.

Use personas when the same request should behave differently for different customers: a signed-in customer versus a guest, or a new account versus an existing subscriber. They are useful for repeating a test after changing your agent’s instructions or workflows.

How personas work

Choose or create a persona where you start the test, then give its variables the values your agent expects.

Choose or create a persona where you start the test, then give its variables the values your agent expects.

A persona supplies data. Your instructions and workflow conditions determine what the agent does with that data.

Example: guest and signed-in customer

Create is_logged_in and customer_name variables, then configure two personas with values matching the comparisons used by your workflow.

Create is_logged_in and customer_name variables, then configure two personas with values matching the comparisons used by your workflow. These are example variables, not built-in authentication fields.

In the Run panel, ask the same question with each persona: “Can you help with my order?” If your workflow checks is_logged_in, verify that the guest takes the sign-in path and the signed-in customer takes the order-help path. A persona does not authenticate a real customer.

Personas and environments

Personas are scoped to the environment where they were created.

Personas are scoped to the environment where they were created. Cloning an environment duplicates its personas. Merging an environment into Main replaces the personas there with those from the source.

Personas are for testing. They cannot be used to set real-user identity in an embedded live chat widget.

Next steps

Create a repeatable test · Configure variables · Branch with a Condition step

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.