Introduction

Microsoft Teams is like a digital office where teams in different places can talk and work together. But did you know you can make Teams even cooler by adding a super helper called Power Automate? Power Automate helps you do things automatically, which makes your work easier and faster. In this blog, we'll learn how to ask for permission or approval right inside Microsoft Teams using Power Automate. This makes decisions easier and teamwork better.

Why Use Approval Flows in Microsoft Teams?

Implementation

Let's examine a scenario in which when an employee requests time off, they initiate an entry in a SharePoint list, triggering an approval notification to be sent to their manager via Microsoft Teams.

1. Create a SharePoint list (Travel Request)

Construct a SharePoint list that mirrors the layout depicted in the provided image. Additionally, configure the 'Approval Status' column to include the following choices: 'Pending,' 'Approved,' and 'Rejected'.

List Structure

2. Create a flow

Move to the Power Automate > Click on Create a Flow> Select Automated flow.

Enter a flow name and select a trigger When an item is created by SharePoint as below,

Step 1. When an item is created

When item is created

Step 2. Create an approval

Customize the approval card to align with your specific requirements.

Create an approval

Step 3. Post card in a chat or channel

Choose a configuration (including Post in, Post as, Team, and Channel) that best fits your preferences and employ the Teams adaptive card within the adaptive card property.

Post card

Step 4. Wait for an approval

Retrieve the approval ID from the 'Create an approval' action.

Wait for an approval

Step 5. Condition

Check the outcome whether it's approved or rejected, and then modify the status in the SharePoint list accordingly.

Condition

In the end, our workflow will appear as follows:

Final flow

Output

Final Output

Conclusion

Sending approvals in Microsoft Teams using Power Automate is a powerful way to streamline decision-making processes, improve collaboration, and save time. By integrating approvals directly into your Teams environment, you can keep everything in one place and make faster, more informed decisions. Start automating your approval workflows today and experience the benefits of a more efficient and collaborative workplace.