Sub topic 16
Choosing between a service agent and an employee agent
This chapter assumes you know the basics of Salesforce objects and permission sets. It also assumes you have read the earlier chapters on topics, actions, agent identity, and channels. Here you will use that knowledge to pick the right agent type for a business use case.
The deciding questions
Both agent types are built from topics, instructions, and actions. The choice depends on who is asking and whose access applies. Ask these questions in order.
- Who is the audience? Customers or prospects point to a service agent. Employees point to an employee agent.
- Whose access should limit the data? A service agent runs as an agent user, so its access is the permission set you grant to that user. An employee agent works within the permissions of the employee who is using it.
- Where will people reach it? Service agents run in customer channels such as a website chat or messaging. Employee agents run inside internal surfaces such as Salesforce or Slack.
- Is a human handoff needed? Service agents commonly escalate to a human through Omni-Channel. Employee agents usually tell the user to contact an administrator or a colleague.
Comparison
| Factor | Service agent | Employee agent |
|---|---|---|
| Audience | Customers and prospects | Internal users |
| Identity | Agent user with its own permission set | Running user, the employee |
| Data limit | Whatever the agent user can see | Whatever the employee can see |
| Typical channel | Web chat, messaging | Salesforce, Slack |
| Escalation | Omni-Channel to a human agent | Refer to an administrator or team |
| Example topic | Order Status | My Open Cases |
Applying the criteria
Consider three requests.
- Customers ask where their order is. The audience is external and the data is narrow. Use a service agent with the Order Status topic. Give the agent user read access only to the order fields the action needs.
- Support staff want a summary of their open cases. The audience is internal and each person should see only their own records. Use an employee agent with a My Open Cases topic. Sharing and field access come from the employee, so you do not copy those rules into the agent.
- Customers and staff both ask about order status. Do not use one agent for both. Build a service agent for customers and an employee agent for staff. They can share the same action, but each runs under a different identity.
Common mistakes
- Picking a service agent for internal data. The agent user's access applies to every conversation, so every employee who talks to it gets the same view. Use an employee agent when the answer should differ by person.
- Giving an agent user broad permissions to make testing easier. Customers can then reach that data. Grant the minimum and test with realistic prompts.
- Assuming escalation works the same way in both. Plan Omni-Channel routing for service agents. For employee agents, write an instruction that tells users what to do when the agent cannot help.
Exercise
A sales manager wants an assistant in Slack that lists only the opportunities each rep is allowed to see. Which agent type fits, and why?
Show answer
An employee agent. The audience is internal, the channel is Slack, and the data must follow each rep's own permissions. A service agent would apply one agent user's access to everyone.
Exercise
A company wants a website chat that tells customers their order status and hands off to a person when the order is not found. Which agent type fits, and what two things must you configure?
Show answer
A service agent. Configure an agent user whose permission set allows only the needed order data, and configure Omni-Channel routing so the agent can escalate to a human.