On a schedule
Post today's Outlook meetings to Teams each morning
Every weekday at 8, today's Outlook meetings with times and attendees are posted to your Teams channel.
- Runs
- On a schedule
- Apps
- Microsoft Teams, Outlook
- AI
- Not needed
- Access
- Calendars.Read; ChannelMessage.Send
Send this to your assistant
Create a ClickRuntime automation: every weekday at 8, post today's Outlook calendar events with times and attendees to my Teams channel.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A small operations team shares one Teams channel and a manager whose calendar decides who is free when. People message to ask whether she is in meetings, or book over each other, because nobody looks at her calendar until it is too late.
A short list of the day's meetings posted at 8 gives everyone the same picture before work starts. Planning around the day becomes easier for the manager and the team.
What you get out of it
The day at a glance
Times, titles and attendees in one message. You know what is coming before you open Outlook.
Fewer "are you free?" messages
The team can see when you are busy. Questions wait for gaps instead of interrupting meetings.
Prep starts earlier
Seeing a client call first thing gives you time to pull up notes. Meetings start better prepared.
Works with your existing calendar
Nothing changes in how you book meetings. The digest reads what is already in Outlook.
How it works
What happens, step by step
Every weekday at 8, ClickRuntime reads today's events from your Outlook calendar.
It lists each meeting with its start time, title and attendees, in time order.
The list is posted as one message in your Teams channel.
Before it runs live
- Connect Microsoft Teams
- Connect Outlook
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Run it at a different time, more or less often, or only on weekdays
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Microsoft Teams and Outlook steps into one automation
Under the hood
The code that runs this automation
from datetime import datetime, timedelta
from zoneinfo import ZoneInfo
from clickruntime import on_trigger, credentials, http
TZ, TEAM_ID, CHANNEL_ID = "Europe/London", "your-team-id", "your-channel-id"
@on_trigger
def run(event):
graph = {"Authorization": f"Bearer {credentials.connection('microsoft', 'work')}", "Prefer": f'outlook.timezone="{TZ}"'}
start = datetime.now(ZoneInfo(TZ)).replace(hour=0, minute=0, second=0, microsecond=0)
events = http.get("https://graph.microsoft.com/v1.0/me/calendarView", headers=graph, params={
"startDateTime": start.isoformat(), "endDateTime": (start + timedelta(days=1)).isoformat(),
"$orderby": "start/dateTime", "$select": "subject,start,attendees,sensitivity"}).json().get("value", [])
lines = []
for e in events:
title = "Busy" if e["sensitivity"] == "private" else e["subject"]
who = ", ".join(a["emailAddress"]["name"] for a in e.get("attendees", [])[:5])
lines.append(f"<b>{e['start']['dateTime'][11:16]}</b> {title}" + (f" ({who})" if who and title != "Busy" else ""))
content = "<br>".join(lines) or "No meetings today."
http.post(f"https://graph.microsoft.com/v1.0/teams/{TEAM_ID}/channels/{CHANNEL_ID}/messages", headers=graph,
json={"body": {"contentType": "html", "content": f"Today's meetings:<br>{content}"}})
return {"events": len(events)}FAQ
Common questions
Are private meetings included?
Can it post to a chat instead of a channel?
What happens on days with no meetings?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get a Teams briefing before important meetings
Before each meeting with external attendees, you get a Teams message summarising your recent Outlook emails with them.
See how it worksSave Outlook attachments to OneDrive and tell Teams
Attachments from new Outlook emails are saved to your OneDrive Attachments folder, and a Teams message lists what arrived.
See how it worksTurn action emails in Outlook into Planner tasks with a Teams alert
Flagged or action emails in Outlook become Planner tasks, and the team is told about each one in Teams.
See how it worksKeep exploring
Set up “Post today's Outlook meetings to Teams each morning” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.