Agent scripts are available within the Productivity pane in the Customer Service workspace and Omnichannel for the Customer Service app.
Agent scripts contains series of steps that will guide the agents while working, helping them to be more efficient.
More on Customer Service Workspace – https://nishantrana.me/2020/08/13/new-customer-service-workspace-app-preview-in-dynamics-365-2020-release-wave-2/
Omnichannel for Customer Service –https://nishantrana.me/category/omnichannel/
Smart Assist –https://nishantrana.me/2020/08/17/ai-suggestions-for-similar-knowledge-articles-and-cases-in-dynamics-365-2020-release-2020-wave-2/
To define Agent Scripts – navigate to Customer Service Hub > Service Management > Agent Scripts or Omnichannel Administration > Agent Experience > Agent Scripts
Create a new Agent script record, and specify steps for the same by creating new agent script step record.
We can define 3 different types of Action – Text, Macro, and Script.
For simplicity, we have selected Text here.
We have defined 2 script steps for the agent script as shown below.
Next, we need to associate the Agent Script with the Session template.
Inside the Omnichannel Administration > Agent Experience > Sessions, select the template we want the script to be associated.
Here let us select the Case entity session – default template
We can also define the conditions for the default agent script to be applied using the Enable Build expression option.
For now to make the example simple, we leave it as No (default).
Back in Customer Service Workspace or Omnichannel for Customer Service App– Shift + click the case record to open the new session in the Active Cases grid.
We can see the script populated there for the agent on the case record opened.
If we have multiple scripts associated with the Session template – the agent has the option to select the appropriate script.
Hope it helps..