knowledgecenter-breadcrum

Knowledge Center

06 Aug, 2024

Agent Scripts in the omnichannel for Customer service

Posted on 06 Aug, 2024 by Mihir Khot, Posted in Dynamics 365 Customer Service

Blogs

What are Agent Scripts in Omnichannel?

Agent scripts in Omnichannel for Customer Service provide structured guidance for handling customer issues. These scripts ensure that agents share only accurate, company-approved information, helping them to be precise and efficient in their customer interactions.
Agent scripts contain series of steps that will guide the agents while working, helping them to be more efficient. Each script can contain many steps. Based on the type of agent script the administrator has configured, you might see the following types:

  • Text instructions
  • Macro
  • Agent script

Prerequisites:

Make sure the user (Agent and Supervisor) have the Productivity Tools User security role.

Agent Script Use Cases:

1. Handling Technical support issues : A customer contacts support with a technical issue. The agent follows the script, executes the macros, and resolves the technical issue efficiently.

2. Ensuring Compliance : An agent needs to handle a complaint related to regulatory compliance.

3. Training for New Product Launches : Agents follow the script during interactions, ensuring they provide accurate and up-to-date information about the new product.

4. Handling High-Priority Escalations : The agent script includes steps for high-priority escalation handling, including contacting relevant departments and logging actions.

Steps to add Agent scripts:

  1. To define Agent Scripts – navigate to Customer Service Admin center and select Productivity. On clicking Productivity, you see Agent Scripts.


     
  2. Click on New to create an Agent Script


     
  3. Fill in all the details for Agent script and click on Save. Once Saved, there appears a sub grid to define agent script steps. Click on New Agent Script Step to add step(s).


     
  4. Here we define the agent script step with the order and type of action for the step and click on Save.


     
  5. In this way, we define agent script steps and then select the steps and click on Activate.


     
  6. Now we need to associate the agent script with the session template. So navigate to Workspaces and choose Session Templates.


     
  7. Select session template where we want the script to be associated. Here we select Chat session – default and click on agent scripts and then click on Add existing agent scripts.


     
  8. Now we search for agent script which we created i.e. Chatbot Agent Script and click on Add.


     
  9. Now we see the Agent script added in the session template.


     
  10. Now go to Customer service Workspace, after clicking on Inbox tab, we see agent scripts symbol.


     
  11. When a new chat is initiated and routed to an agent, the required or added Agent Scripts appears.


     
  12. The agent script has an icon next to it. On clicking that Mark as Done icon, a new tab is opened. Our agent script step is set to green and checked and passes to the next step of the Agent script.


     
  13. Here, On the next following step, we click on the Run symbol. This is to run the created macro which is a set of instructions that tells the system how to complete the task. When a Macro runs, the system performs each instruction. 


     
  14. Now on clicking the view icon, the system loads the agent script. You can see that newly loaded script replaces the current script in the Agent script menu.



    In this way, Agent scripts in Omnichannel empower customer service agents with structured, step-by-step guidance, ensuring consistent and accurate communication.
     

Comment

This is a Required Field

Loading

Recent Updates

Blogs
20 Jan, 2026

How to Add Dataverse as a Data Source in Power Apps Code Apps

In my previous blog, I explained what Power Apps Code Apps are and how we can build apps using React…

READ MORE
Blogs
12 Jan, 2026

Why Power Apps Component Framework (PCF) Is Becoming a Game-Changer in Power Apps Development

Introduction Power Apps is one of the most widely used platforms for building business applications. As organizations grow, they expect…

READ MORE
Blogs
01 Dec, 2025

Dynamics 365: Why One User Could Edit a Field and Another Couldn’t

Recently, we faced an issue in Dynamics 365 where the field was locked for one user but editable for another. The field…

READ MORE