The Agentforce agent powers your automated conversations. Before routing email replies,
configure an Agentforce Service agent that supports email conversations. This setup ensures
responses follow approved templates and comply with legal and brand guidelines. The agent uses
these templates to generate consistent, compliant email responses.
Required Editions
Available in: Salesforce Enterprise and
Unlimited Editions with Marketing Cloud Next
Advanced Edition
To set up agents for conversational email:
From the App Launcher, enter Agentforce and select the Agentforce
Studio app.
Click New Agent.
Select the Agentforce Service Agent.
Provide a name to the agent (for example, Email Service Agent) and complete the remaining
fields.
Select or create an Agent’s User Record for this agent.
Add subagents and actions that align with the common questions or tasks your agent
handles.
Subagents and actions define the specific subjects that your agent understands and the tasks
it can execute. For more information, see Subagents and Actions.
Within the Agent Builder, go to Agent
Definition > Connections.
Click the + button and then click Add
Connection.
Select the Marketing Email connection, and click Add to
Agent.
A connection determines which communication channels the agent can monitor and respond to.
If you don’t add the Marketing Email connection, incoming email replies aren't routed to this
agent. For more information, see Agent Connections.
Note Currently, the agent only supports Plain Text response formats. Ensure your agent
instructions account for a text-only output.
Select your Escalation Flow, enter an Escalation
Message, and click Save.
Email is an asynchronous channel and this escalation message is used for system transition
logging and routing context. It isn’t sent as a visible email reply to the end-user.
Follow the on-screen instructions and click Create.
Within the Agent Builder, go to Agent
Definition > Settings >
System.
Remove the Welcome Message and click
Save.
Important Due to a current product limitation, remove the welcome message. If the
welcome message remains active, end users must reply to the email thread twice before
receiving the agent’s first response.
Click Commit.
After the commit is successful, click Activate to make the agent
available for routing.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.