Create an Agent Flow With Natural Language in Copilot Studio

Have you ever wished you could tell your app what you want it to do without spending hours figuring out which action to pick or how to connect the steps?

With Copilot Studio, that’s now possible. Thanks to the new natural language flow builder, you can create powerful Agent Flows simply by typing what you need in plain English. No technical background?

For example, you can write:

When a new item is added to the SharePoint list, send an email to the manager and update a Teams channel.

Copilot Studio will automatically understand your request and generate the flow for you.

In this tutorial, I will show you how to create an Agent flow with natural language in Copilot Studio.

What is Agent Flow?

An Agent Flow in Microsoft Copilot Studio is a type of workflow that enables your copilot (virtual agent) to take action behind the scenes, such as fetching data, updating records, or sending notifications in response to user requests.

Think of it as the logic and automation behind the copilot responses.

For example, when a user types something like:

Show me the status of my ticket

During that time, an Agent Flow can be triggered to connect to your database, retrieve the ticket status, and automatically return the answer to the user.

Agent Flows are built using Power Automate inside Copilot Studio, but the interesting thing is that you can create them using natural language. Just describe what you want to happen, and Copilot Studio helps you generate the flow.

Note:

Agent Flows are included as part of Microsoft Copilot Studio. There are no additional charges for using Agent Flows. They don’t consume Power Automate premium credits when triggered by a copilot.

Create an Agent Flow With Natural Language

Follow these steps to build an Agent Flow by simply describing what you want in plain English; no need to worry about actions, triggers, or connectors.

  1. Open your browser and go to Copilot Studio. Sign in with your Microsoft 365 account (if not already signed in). In the left-hand navigation menu, click on Flows.
Build an agent flow with natural language in Copilot Studio.
  1. Once you click “Flows” from the left menu, you’ll see the screen shown below:
    • New agent flow: Use natural language to describe what your flow should do. This is the easiest and fastest method using AI.
    • Start in designer – Begin from a blank canvas and manually add steps.

Click New agent flow to continue using natural language.

Agent Flows in Copilot Studio
  1. Once you click New agent flow, you’ll see a screen like this: In the “Describe your flow” box, type your request in plain English.
    • For example:
When an item is created in the SharePoint list Task Tracker, send an email to the assigned person.
  1. Once you finish typing, click the send icon in the bottom right corner to let Copilot Studio generate the flow.
copilot studio trigger selection screen
  1. Once you click the send icon, Copilot Studio will analyze your request and generate a draft Agent Flow. The screen will now appear as follows.
copilot studio choose connector screen

If you’re happy with the result, click “Keep it and continue” to proceed. Otherwise, click “Add more details for Copilot to work with” if you feel something’s missing.

  1. In my case, I also wanted to send a notification to a Microsoft Teams. I typed: Also notify the assigned person in Teams.
  2. Copilot Studio instantly understood and added the “Post message in a chat or channel” action to the flow.
copilot studio add condition to flow
  1. Once the flow looked just the way I wanted, I clicked “Keep it and continue.” Copilot Studio then automatically fetched the necessary connections for each action. You will see a green checkmark next to each one, which means the connection is ready and working correctly. Now, click “Create” in the top-right corner to create our flow.
copilot studio preview generated flow

Check out Is Copilot Better Than ChatGPT?

Customize the Agent Flow

At this point, Copilot Studio has created the structure of your Agent Flow based on your natural language input. But before it’s fully functional, you may need to make a few final adjustments.

  1. Click on the “When an item is created” trigger (or similar trigger action based on your flow) and fill in the required details:
    • Site Address – Choose the SharePoint site where your list is located.
    • List Name – Select the specific list you want to monitor (Task Tracker).
copilot studio edit generated steps
  1. Next, click on the “Send an email” action. Review and update the following fields as per your requirements:
    • To – Set this to the assigned person, manager, or a dynamic field like Assigned To.
    • Subject – Customize the subject line.
    • Body – Edit the message content to include relevant task details using dynamic content (task name, due date, description).
Hello @{triggerBody()?['AssignedTo/DisplayName']},
A new task has been assigned to you in the Task Tracker list.
Task Details:
Task ID: @{triggerBody()?['TaskID']}
Task Name: @{triggerBody()?['TaskName']}
Description: @{triggerBody()?['Description']}
Due Date: @{formatDateTime(triggerBody()?['DueDate'], 'dd/MM/yyyy')}
Status: @{triggerBody()?['TaskStatus/Value']}
Priority: @{triggerBody()?['Priority/Value']}
Please review and take the necessary action.
Thank you,
Your Automation Bot
Create an Agent Flow Using Natural Language
  1. Now, click on the “Post message in a chat or channel” action (added when you asked Copilot to notify someone in Teams). Here’s how to format the message for a clean and professional look:
🔔 New Task Assigned!

Hello @{triggerBody()?['AssignedTo/DisplayName']},
You have been assigned a new task in the Task Tracker list.

🆔 Task ID: @{triggerBody()?['TaskID']}
📝 Task Name: @{triggerBody()?['TaskName']}
📄 Description: @{triggerBody()?['Description']}
📅 Due Date: @{formatDateTime(triggerBody()?['DueDate'], 'dd/MM/yyyy')}
🚦 Status: @{triggerBody()?['TaskStatus/Value']}
⚡ Priority: @{triggerBody()?['Priority/Value']}

Please review and begin working on it at your earliest convenience. Let us know if you have any questions.

Thanks!
— Your friendly bot 🤖
Create an Agent Flow
  1. Click “Save draft” in the top-right corner to save your current progress. This ensures your changes are not lost and allows you to come back and edit later if needed.
  2. After saving, click “Publish” to make your Agent Flow live and available for your Copilot to use.
Create an Agent Flow Using Natural Language in Copilot Studio
  1. Then go to the SharePoint list Task Tracker, and add an item.
Create an Agent Flow Using Natural Language in Copilot Studio

You can also view or modify the same flow in Power Automate, but the Plan type will show as Copilot Studio.

Copilot Studio makes it easy to build flows just by typing what you need. No need to know all the actions or connectors, describe it in your own words.

Also, you may like some tutorials:

Power Apps functions free pdf

30 Power Apps Functions

This free guide walks you through the 30 most-used Power Apps functions with real business examples, exact syntax, and results you can see.

Download User registration canvas app

DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App