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.
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
Every Friday, ClickRuntime collects the past week's messages from your chosen Slack channel.
It also collects the past week's messages from your chosen Teams channel.
AI reads them together and lists the decisions made and the questions still open.
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
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
- 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
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?
Does it include private conversations?
Can the digest go to the whole team?
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
Post daily signup numbers to Slack and Microsoft Teams
Every morning, yesterday's signups are posted to the same channel in both Slack and Teams.
See how it worksGet a daily news digest in Slack
Each morning your team gets a short summary of what's new on the sites and blogs you follow.
See how it worksFollow your stocks and crypto in Slack
During market hours you get a short update on the tickers you care about, with a heads-up on big moves.
See how it worksKeep exploring
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.