Contact Us

May 18, 2025

May 13, 2026 1:35 pm

Migrating to Embedded Service Deployment Version 2 in Agentforce

Share with

Introduction to ESD Version 2

ESD Version 2 offers enhanced features and improvements over Version 1, but it also introduces some changes that need to be considered when migrating.

Migration Steps

To migrate to ESD Version 2, follow these general steps: test thoroughly in a Sandbox, check code snippets after changing to Version 2, and be aware that some features from Version 1 are not yet supported.

The root cause of migration issues is often the lack of understanding of the changes introduced in ESD Version 2 and the unsupported features.

For example, Chat Events are not yet supported in ESD Version 2, so it is essential to plan accordingly.

Triggering Agent Actions from Button Clicks

When it comes to triggering agent actions from button clicks in ESD Version 2, there is no recommended way to do so yet, and workarounds may be necessary.

However, it is possible to use other approaches, such as using LWC components, to display buttons and trigger agent actions.

example.html

<button onclick="triggerAgentAction()">Find a Product</button>

Best Practices and Recommendations

When migrating to ESD Version 2, it is essential to follow best practices and recommendations to ensure a smooth transition.

Heads up: Be aware of the unsupported features in ESD Version 2 and plan accordingly.

Pre-Migration Checklist

  • Test thoroughly in a Sandbox
  • Check code snippets after changing to Version 2
  • Be aware of unsupported features like Chat Events
  • Plan for triggering agent actions from button clicks
  • Use LWC components to display buttons and trigger agent actions
  • Follow best practices and recommendations
  • Monitor and adjust the migration process as needed

What are the benefits of migrating to ESD Version 2?

The benefits of migrating to ESD Version 2 include enhanced features and improvements over Version 1.

How do I trigger agent actions from button clicks in ESD Version 2?

There is no recommended way to trigger agent actions from button clicks in ESD Version 2 yet, and workarounds may be necessary.

Can I use LWC components to display buttons in ESD Version 2?

Yes, it is possible to use LWC components to display buttons in ESD Version 2, but it may require additional configuration and setup.

What are the unsupported features in ESD Version 2?

Some features from Version 1, such as Chat Events, are not yet supported in ESD Version 2.

How do I ensure a smooth transition when migrating to ESD Version 2?

To ensure a smooth transition, it is essential to follow best practices and recommendations, test thoroughly in a Sandbox, and be aware of unsupported features.

Genetrix Technology · Salesforce Marketing Cloud Partner

Need help shipping this in production?

Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.

Get in Touch with Genetrix →

Blogs for the

Business-Savvy!​

Let’s Connect

A 30 min no cost strategy session
with cloud support expert

Let’s Connect

A 30 min no cost strategy session
with cloud support expert