We have setup Messaging Setting and Embedded Deployment Setting v2 in part 1 of this blog. Let us setup the remaining steps:
Create a routing configuration
- In the Setup Quick Find, search for and select Routing Configurations.
- Click on New.
- Set field values as follows:

Make sure you have a queue
- Click on Save.
Create a new Agentforce Service Agent
- In the Setup Quick Find, search for and select Agentforce Agents.
- Click +New Agent.
- Select the Agentforce Service Agent template and click Next.
- Deselect all of the pre-configured Topics
- Set field values as follows:

- Click Save
- Now, Add a topic with these detail

- Now add the action inside Topic by following steps here: https://developer.salesforce.com/docs/einstein/genai/guide/lightning-types-example-full-editor-renderer.html
Your action shold look like this:
- Once done, Make sure to add the all the class access in service agent user

Configure Omni Channel routing in Messsaging Channel
Now Go to Messaging setting you created and update the omni channel routing, Select the values like this:

Publish the Embedded Deployment Setting v2 again

Test the Service Agent using Embedded Deployment Setting
Click on Test Enhanced Web Chat in your Embeed Deployment Setting v2, it will open a testing page

The page will look like this:

Click on Ask Me Anything:
Demo – Using Custom Lightning Type in Service Agent
Do you need help?
Are you stuck while working on this requirement? Do you want to get review of your solution? Now, you can book dedicated 1:1 with me on Lightning Web Component and Agentforce completely free.
GET IN TOUCH

One comment