How to Automate Microsoft 365 workflow with Copilot

avatar
By
Atif K
avatar
Chief Editor
As the Chief Editor at Tech For All, I lead with a passion for clarity, innovation, and storytelling that connects people with technology. My focus is...
- Chief Editor
12 Min Read
-- AI Generated

I have designed this as a Comprehensive Masterclass Guide. It is densely packed with detailed, step-by-step instructions, real-world integrations (Outlook, Excel, Teams, SharePoint), and beginner-friendly explanations. 

This guide will take you from a complete novice to someone who can confidently orchestrate the entire Microsoft 365 ecosystem using Copilot and Power Automate. 

By the end of this tutorial, you will understand How to Automate Microsoft 365 workflow with Copilot, using nothing but plain English.  Microsoft Apps including Outlook, Excel, Teams, and OneDrive 

The Core Concepts 

Before we build, you need to understand the tools in your toolbelt. 

What is Power Automate? 

Power Automate is Microsoft’s engine for creating automated workflows. Think of it as a digital factory. It connects over 1,000 different applications (both Microsoft and third-party) and moves data between them based on rules you define. 

What is Copilot’s Role? 

Historically, building Power Automate requires understanding basic coding logic, API connections, and complex graphical interfaces. Copilot changes this. Copilot is an AI assistant embedded directly into Power Automate. Instead of dragging and dropping boxes or writing formulas, you simply type out what you want to happen, and Copilot builds the factory for you. 

The Anatomy of a Workflow (Flow) 

Every automation you ever build will rely on two fundamental building blocks: 

  1. The Trigger (The “When”): This is the event that kicks off the automation. A flow can only have one trigger. 
  • Examples: When an email arrives; When a new row is added to Excel; Every day at 8:00 AM. 
  1. The Action (The “Do”): These are the steps that happen after the trigger fires. A Flow can have many actions. 
  • Examples: Send an email; Create a file; Post a Teams message. 

Getting Started & Authentication 

To make apps talk to each other, you must prove you have the right to access them. 

Step 1: Accessing the Studio 

  1. Open your web browser and navigate to make.powerautomate.com
  1. Sign in using your Microsoft 365 Work or School account(Note: Copilot for Power Automate is primarily a business feature and requires a commercial M365 license. 
  1. Ensure you are in the correct “Environment” (check the top right corner). If you don’t know what this is, leave it in the default setting. 

Step 2: Understanding “Connections” 

When Copilot builds a flow connecting Outlook and Excel, Power Automate needs permission to read your emails and edit your spreadsheets. 

  • When you create your first flow, you will be prompted to authenticate these apps. 
  • You will see a list of apps with Green Checkmarks (connected) or Red Warnings (needs sign-in). 
  • Fixing Connections: Simply click the red warning, log in with your M365 credentials, and authorize the connection. 

Integrating with Microsoft Outlook 

In my experience Email is the most common starting point for automation. Let’s look at how to master Outlook integrations. 

Common Outlook Triggers and Actions 

App Triggers (The “When”) Actions (The “Do”) 
Outlook (M365) When a new email arrives Send an email (V2) 
 When an email is flagged Reply to an email 
 When an upcoming event starts Create an event/meeting 

The Intelligent Attachment Extractor 

The Goal: Automatically save any invoice you receive in Outlook to a specific folder in OneDrive and notify you in Teams. 

Step 1: The Copilot Prompt 

Go to the Power Automate home page. In the Copilot text box, type: 

“When I receive an email to my inbox that contains an attachment and has the word ‘Invoice’ in the subject line, save that attachment to my OneDrive and send me a message in Teams.” 

Step 2: Review the Build 

Copilot will generate a visual map. It should show: 

  • Trigger: When a new email arrives (V3) 
  • Action: Create file (OneDrive) 
  • Action: Post message in a chat or channel (Teams) 

Click Next and verify your connections. Click Create Flow

Step 3: Refining with the Copilot Designer 

You are now in the Designer. The steps are built, but they need specifics. 

  1. Click on the “Create file” (OneDrive) step. 
  1. In the left-hand settings pane, you need to tell where to save the file. Click the folder icon and select your “Invoices” folder. 
  1. Click on the “Post message” (Teams) step. 
  1. In the message box, you can use Dynamic Content (data pulled from previous steps). You can type: “Hey, a new invoice arrived from [Select ‘From’ from the dynamic content menu]. I saved it to OneDrive.” 

Step 4: Save and Test 

Click Save at the top right. Then click Test -> Manually. Send yourself an email with the subject “New Invoice” and a dummy attachment to watch the magic happen. 

Integrating with Microsoft Excel 

Integrating Excel is incredibly powerful, but it comes with a strict rule that trips many beginners. 

CRITICAL RULE FOR EXCEL: Power Automate cannot read a random spreadsheet of data. Your data must be formatted as an “Excel Table.” To do this in Excel, highlight your data, press Ctrl + T (or Insert > Table) and name the table. 

Common Excel Triggers and Actions 

App Triggers (The “When”) Actions (The “Do”) 
Excel Online For a selected row (Manual) Add a row into a table 
 When a row is created/modified Update a row 
  List rows present in a table 

The Automated Data Logger 

The Goal: Every time someone fills out a Microsoft Form, take their answers and add them as a new row in an Excel spreadsheet. 

Prep Work: 

  1. Create a simple Microsoft Form with three questions: Name, Email, and Department. 
  1. Create an Excel file in OneDrive. Add three columns: Name, Email, Department. Highlight them, press Ctrl + T to create a Table. Name the table “EmployeeData”. 

Step 1: The Copilot Prompt 

“When a new response is submitted to Microsoft Forms, get the response details and add a row into an Excel table.” 

Step 2: Configuring the Flow 

  1. Forms Trigger: Click the Trigger. From the dropdown, select the name of the Form you just created. 
  1. Forms Action: Click “Get response details.” Select the Form name again, and for the “Response ID”, select the dynamic content Response ID from the trigger. 
  1. Excel Action: Click “Add a row into a table”. 
  • Location: Select OneDrive for Business. 
  • Document Library: Select OneDrive. 
  • File: Click the folder icon and select your Excel file. 
  • Table: Select “EmployeeData”. 

Mapping the Data: Once you select the table, Power Automate will automatically reveal your three Excel columns (Name, Email, Department). Click into each box and select the corresponding Form answer from the Dynamic Content menu. 

Integrating with Microsoft Teams 

Teams is the hub for notifications and approvals. You can automate messages, so you don’t have to constantly switch apps. 

Common Teams Triggers and Actions 

App Triggers (The “When”) Actions (The “Do”) 
Teams When a new channel message is added Post a message in a chat or channel 
 When I am mentioned in a channel Post an Adaptive Card 
  Create a Teams meeting 

The VIP Alert System 

The Goal: If your CEO emails you, immediately ping your mobile device via a Teams chat so you don’t miss it. 

Step 1: The Copilot Prompt 

“When an email arrives from ceo@mycompany.com, post a message in a chat with the Flow bot to me in Microsoft Teams.” 

Step 2: Tweaking the Flow 

  1. In the Trigger step, ensure the “From” field exactly matches the VIP’s email address. 
  1. In the Teams Action step, set “Post as” to Flow bot. (This makes it look like an automated system alert). 
  1. Set “Post in” to Chat with Flow bot
  1. Set the “Recipient” to your own email address. 
  1. In the “Message” field, construct your alert using Dynamic Content: “🚨 URGENT: Email from the CEO! Subject: [Insert Subject dynamic content].” 

Advanced Beginner Tactics using Copilot 

Once you master moving data from A to B, you can use Copilot to add complex logic to your workflows. 

1. Adding Conditions (If/Then Logic) 

You don’t want every email to trigger an alert, only specific ones. You can ask Copilot to add a condition. 

  • How to do it: In the right-hand Copilot chat panel while editing a flow, type: “Add a condition after the trigger. If the email subject contains ‘Urgent’, then post the Teams message. If it does not, do nothing.” 
  • Copilot will literally build a branching path (a “Yes” side and a “No” side) on your canvas. 

2. Using AI Prompts (AI Builder) 

You can embed AI directly inside your automation. 

  • The Scenario: You get long, rambling emails from clients and want a summary. 
  • The Prompt: “When an email arrives, use AI Builder to summarize the email body, and send that summary to me in Teams.” 
  • The Result: Copilot will insert an action called “Create text with GPT using a prompt.” It will take the body of the email, summarize it, and pass the short version to Teams. 

3. Approvals 

Power Automate has a built-in Approval engine. 

  • The Prompt: “When a new file is added to SharePoint, start an approval process and send it to my manager. If approved, send an email to the team.” 
  • This creates interactive buttons (Approve/Reject) directly inside an email or Teams message. The flow pauses until the manager clicks a button, then proceeds down the Yes/No path. 

Troubleshooting and Best Practices 

Automation requires maintenance. Here is how to keep your flow healthy. 

1. Naming Conventions 

Never leave your flows named “Flow 1” or “Update Row.” 

  • Best Practice: Use the format [Trigger] -> [Action] (Purpose). 
  • Example: Forms -> Excel (Log Employee Onboarding Responses). 

2. The Flow Checker 

Before saving, always look at the top right of the screen for the Stethoscope Icon (Flow Checker). If there is a red dot, click on it. It will tell you exactly which step is missing information (e.g., “You forgot to select a Table in step 3”). 

3. Understanding Run History 

If a flow fails, Power Automate will send you an email. 

  • Go to the details page of your flow. 
  • Look at the 28-day run history
  • Click on the run that says “Failed.” 
  • The system will show you your visual map, with a green check on successful steps and a red X on the step that broke. Click on the broken step to read the exact error message (usually an expired password or a deleted Excel file). 

4. Talk to Copilot to Fix Errors 

If you get an error message you don’t understand, you don’t need to search the internet. Copy the error message, paste it into the Copilot chat panel on the right side of the designer, and say, “I am getting this error on my Excel step. What does it mean and how do I fix it?” Copilot will read the context of your flow and explain the solution in plain English. 

Share This Article
avatar
Chief Editor
Follow:
As the Chief Editor at Tech For All, I lead with a passion for clarity, innovation, and storytelling that connects people with technology. My focus is on ensuring every article reflects accuracy, depth, and purpose — from breaking news and in-depth analysis to expert reviews and future insights. With a strong belief that technology should be accessible to everyone, I strive to make Tech For All a space where ideas inspire, knowledge empowers, and readers stay ahead in the digital era.