Skip to content

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.

Paste it into your assistant. It tells you what it will send or change before it runs live.

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

  1. Every weekday at 8, ClickRuntime reads today's events from your Outlook calendar.

  2. It lists each meeting with its start time, title and attendees, in time order.

  3. The list is posted as one message in your Teams channel.

Before it runs live

  • Connect Microsoft Teams
  • Connect Outlook

What you get

RunsOn a schedule
Post today's Outlook meetings to Teams each morningtoday, 9:00Succeeded
Teams · #opsToday's meetings: 09:30 Northwind renewal call (3 attendees) · 14:00 Weekly ops review

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • 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

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
daily_outlook_calendar_digest_in_teams.pyexample
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?
Events marked private show only as busy with their time, without title or attendees. You can also leave them out completely.
Can it post to a chat instead of a channel?
Yes. It can post to a team channel or to a one-to-one or group chat, depending on where you want the digest.
What happens on days with no meetings?
A short message says the calendar is clear. You can turn that off if you prefer no post on empty days.
What permissions does it need?
Calendars.Read; ChannelMessage.Send. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it runs (on a schedule). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

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.