Autonomous Agents in Copilot Studio
At the last Microsoft Ignite, Satya Nadella, CEO of Microsoft, unveiled the availability of Autonomous Agents, marking a significant leap for the Copilot Studio platform. With Generative AI, Microsoft has revolutionized the way digital agents operate.
The recent update to Agents in Copilot Studio redefines the capabilities of customer service chatbots. With just a few clicks, you can now create an intelligent virtual assistant that interacts with your users in natural language, improving their experience and providing better answers through AI. Let’s explore how you can achieve this.
Enabling Autonomous Agents in Copilot Studio
New Action and Trigger features
With GenAI enabled, your agent is fully powered by AI. Now, it’s time to equip it with the skills it needs to effectively assist your users. This is where Actions come into play.
Actions allow you to:
- Create your Agents faster,
- Use End User Access rights when running queries to SharePoint or Dataverse tables.
An Action can execute a Power Automate Cloud Flow or search for a specific record in a Dataverse Table via List rows actions. You can also define Triggers (for example, “when a new record is created”) that your Agent can react to.
Each action has several attributes, including Name, Description, Inputs, and Outputs. Some attributes also allow you to specify the authentication type for the action, letting you decide whether the Agent uses its creator’s credentials or the user’s credentials.
It is absolutely critical to properly describe all parameters of your Agent, such as actions, triggers, knowledge sources, and variables. These descriptions serve as instructions for the AI Agent as it determines the appropriate step to take. Think of them as prompts for the AI model.
How to set up an Action for a GenAI Agent?
Let’s look at the details of setting up a specific action. In this example, we will define a ‘List rows’ action.
First, you need to specify the Name and Displayed name for your new Action. The highlighted field is where you will provide a detailed description of the Action. Remember, the AI will reference this description when deciding how to respond to a user’s request! You can also select the authentication method at this stage.
In our example, we are instructing the AI to take the Request ID provided by the user and use it to filter the Expenses table by column cr55b_expense1 (which represents the Expense ID column).
Last but not least, you need to decide what the Output of the answer will look like.
Here, the Description provides instructions for our AI model on how to create a response for the user. The second highlighted option allows you to choose how the message will be generated: the Agent can create it autonomously, or you can provide your own predefined message.
So, how does this look in practice? Here’s the output to a question asked by a user.
Analyzing Generative Agent sessions on the Activity Map
In this example, we managed to:
- Create an Action for an Autonomous Agent
- Ensure that, with the proper description, the Agent was able to choose that action in response to the user’s question.
- Enable the Agent to extract the Request ID from the text provided by the user.
- Allow the Agent to find the proper row in a selected table and respond to a user with its details.
Get started with AI-powered Agents
Copilot Studio
See the latest insights from Netwise
CDP vs CRM: Understanding the key differences between the main customer management systems
In this article, we dive into the key differences between a Customer Data Platform (CDP) and Customer Relationship Management (CRM).
Read moreHow Customer Data Platforms support a unified customer view
Discover how Customer Data Platforms turn data into a unified Customer 360° view, enabling real-time personalization with Customer Insights.
Read moreCreative use of relationship behaviors in Dynamics 365: How removing data from the Target field saved our project
In this article, we show how a unique client need led to a simple, creative solution beyond standard Dataverse features.
Read more