Automate Daily Meeting Posts in Microsoft Teams Using Power Automate
Managing daily meetings can be a challenge, but automation makes it easier. In this guide, you’ll learn how to set up a Power Automate flow that retrieves your daily meetings, formats the details, and posts them in Microsoft Teams every weekday morning. Let’s dive in!
What Does This Automation Do?
This flow will:
Step-by-Step Setup
Step 1: Create a Scheduled Flow
Time Zone: (UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi.
Start Time: Set to 12:30 AM UTC (which is 6:00 AM IST).
Step 2: Retrieve Calendar Events
Start Time: Use below expression
utcNow()
End Time: Use below expression
addHours(startOfDay(utcNow()), 24)
This pulls all meetings from 6:00 AM IST to the end of the day.
Step 3: Sort Meetings by Start Time
sort(body('Get_calendar_view_of_events_(V3)')?['value'], 'start')
3. Rename the action to Sort Meetings.
Step 4: Parse the Sorted Data
Content: Use the outputs from the Sort Meetings action.
领英推荐
Schema: Use this example schema:
{
"type": "array",
"items": {
"type": "object",
"properties": {
"subject": { "type": "string" },
"start": { "type": "string" },
"end": { "type": "string" }
}
}
}
Step 5: Initialize a String Variable
Name: MeetingDetails.
Type: String.
Value: Leave it blank.
Step 6: Loop Through Sorted Meetings
Name: Select MeetingDetails.
Value: Use this expression:
concat(
'- ', items('Apply_to_each')?['subject'], ' (',
convertTimeZone(items('Apply_to_each')?['start'], 'UTC', 'India Standard Time', 'hh:mm tt'), ' - ',
convertTimeZone(items('Apply_to_each')?['end'], 'UTC', 'India Standard Time', 'hh:mm tt'), ')<br>'
)
Step 7: Post the Message in Teams
Here are your meetings for @{formatDateTime(utcNow(), 'dddd, dd MMMM yyyy')}<br>
@{variables('MeetingDetails')}
Final Touches
What to Expect
Once the flow is active, it will automatically post a message in Microsoft Teams every weekday morning, summarizing your daily meetings. Here’s an example:
Here are your meetings for Monday, 30 December 2024:
-Morning Standup (9:00 AM - 9:30 AM)
-Project Kickoff (11:00 AM - 12:00 PM)
-Team Lunch (1:00 PM - 2:00 PM)