Skip to content

On a schedule

Get a weekly digest of Slack and Teams discussions

Every Friday you get one email with the decisions and open questions from your chosen Slack and Teams channels.

Runs
On a schedule
Apps
Microsoft Teams, Slack
AI
Yes, uses the built-in AI allowance
Access
channels:history; ChannelMessage.Read.All

Send this to your assistant

Create a ClickRuntime automation: every Friday, read this week's messages in #product on Slack and the Product channel in Teams, and email me a summary of decisions and open questions.

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 product manager at a growing company works with engineers in Slack and with sales and support colleagues in Teams. Decisions get made in threads on both sides, and by Friday it is hard to say what was agreed, what is still open, and who is waiting on whom.

This automation reads the week's messages from one Slack channel and one Teams channel, has AI pick out decisions and open questions, and emails you a single digest. You go into the weekend, or the Monday planning meeting, with a clear list.

What you get out of it

  • Decisions written down

    Choices made in passing in a thread are captured in the digest. You have a record to point back to when someone asks why something changed.

  • Open questions do not drift

    Questions nobody answered are listed separately. Following up on them early prevents small blockers turning into missed deadlines.

  • Both tools in one view

    Discussions split between Slack and Teams are read together. You see the whole picture without switching apps and scrolling back a week.

  • Catch up after time away

    After a few days off, one email tells you what happened. It is faster than reading hundreds of messages.

How it works

What happens, step by step

  1. Every Friday, ClickRuntime collects the past week's messages from your chosen Slack channel.

  2. It also collects the past week's messages from your chosen Teams channel.

  3. AI reads them together and lists the decisions made and the questions still open.

  4. You receive the digest by email.

Before it runs live

  • Connect Microsoft Teams
  • Connect Slack, then invite the app to the channel (type /invite @ClickRuntime there)

What you get

RunsOn a schedule
Get a weekly digest of Slack and Teams discussionstoday, 9:00Succeeded
Email · Weekly discussions digestDecided: Contoso SSO ships in the 3 Nov release. Open: who owns the pricing page update? (raised in Teams)

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
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Google Sheets
  • Combine it with other Microsoft Teams and Slack 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.
weekly_ai_digest_of_slack_and_teams_discussions.pyexample
import re, time
from datetime import datetime, timedelta, timezone
from slack_sdk import WebClient
from clickruntime import on_trigger, credentials, http, ai, notify

SLACK_CHANNEL = "C0123456789"
TEAM_ID, CHANNEL_ID = "your-team-id", "your-channel-id"

@on_trigger
def run(event):
    week_ago = datetime.now(timezone.utc) - timedelta(days=7)
    slack = WebClient(token=credentials.connection("slack", "work")).conversations_history(channel=SLACK_CHANNEL, oldest=str(week_ago.timestamp()), limit=500)
    lines = [f"[Slack] {m.get('text', '')}" for m in reversed(slack["messages"])]
    teams = http.get(f"https://graph.microsoft.com/v1.0/teams/{TEAM_ID}/channels/{CHANNEL_ID}/messages",
                     headers={"Authorization": f"Bearer {credentials.connection('microsoft', 'work')}"}).json().get("value", [])
    lines += [f"[Teams] {re.sub('<[^>]+>', '', m['body']['content'])}" for m in teams if m["createdDateTime"] >= week_ago.isoformat()[:19]]
    if not lines:
        return {"messages": 0}
    try:
        digest = ai.generate("\n".join(l[:500] for l in lines)[:60000], system="List decisions made, then open questions with who raised them. Be brief.", max_output_tokens=1200).text
    except ai.AIError as e:
        digest = f"{len(lines)} messages this week; AI summary unavailable ({e.code})."
    notify.email_me("Weekly product discussions digest", digest)
    return {"messages": len(lines)}

FAQ

Common questions

Which channels can it read?
One Slack channel and one Teams channel by default. More can be added, though a longer list makes the digest longer.
Does it include private conversations?
Only the channels you choose. Direct messages and private chats are not read.
Can the digest go to the whole team?
The email goes to you, and you can forward it. Some teams prefer to post the digest in a channel instead, which works the same way.
What permissions does it need?
channels:history; ChannelMessage.Read.All. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly 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 “Get a weekly digest of Slack and Teams discussions” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.