Skip to content

On a schedule

Get a morning summary of a Mattermost channel

One email each morning tells you what was discussed and decided in the channel yesterday.

Runs
On a schedule
Apps
Mattermost
AI
Yes, uses the built-in AI allowance
Access
read channel

Send this to your assistant

Create a ClickRuntime automation: every morning at 8, summarise yesterday's posts in our Mattermost 'dev' channel, listing decisions and open questions, and email it to me.

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 busy Mattermost channel, such as an incident room, a support queue or a project channel, can see two hundred messages overnight. People who start their day without having been online face a choice: scroll through everything or risk missing the decision made at 11 p.m. Many simply skim, miss an important thread and ask a question that was already answered.

Each morning, ClickRuntime reads the posts in the channel since the last run, passes them to its built-in AI to write a short summary of the topics, decisions and open questions, and emails the summary to you. You do not need an OpenAI or Anthropic key for the AI step.

It is especially useful for managers who follow several channels, and for teams spread over time zones where the conversation continues while some members sleep.

What you get out of it

  • Catch up in two minutes

    A summary of overnight activity lets you start the day informed. You read decisions and open questions instead of scrolling past reactions and side conversations. You get the key points before the first meeting of the day begins, with no scrolling.

  • Decisions are not lost in the thread

    Important agreements often appear halfway through a long discussion. A written summary pulls them to the top, so nobody acts on outdated information the next morning. It pulls the final agreement out of a long back and forth, so people do not act on an old idea.

  • Time zones matter less

    A teammate in another region can read what happened while they were away, and respond with context. Work moves forward without waiting for a live conversation. Everyone starts from the same facts regardless of where they live or when they log on.

  • Several channels become manageable

    If you follow five channels, you cannot read them all. One short email per channel lets you pick which deserve a closer look and which can safely be ignored. That saves attention for the conversations that really need your input.

  • Open questions get answered sooner

    The digest highlights unresolved questions, so the person who can answer them sees them early. Fewer threads sit unanswered until someone remembers to come back. Unanswered questions stop piling up overnight.

  • A searchable memory of the channel

    Emails accumulate into a short history of what each channel decided and when. That is far easier to search than thousands of messages when you need to recall a past choice.

How it works

What happens, step by step

  1. Every morning ClickRuntime collects the last 24 hours of posts from your chosen Mattermost channel.

  2. AI reads them in order and writes a short summary of what was decided and which questions are still open.

  3. The summary is emailed to you. On a quiet day you get a short note saying there were no posts.

Before it runs live

  • Connect Mattermost

What you get

RunsOn a schedule
Get a morning summary of a Mattermost channeltoday, 9:00Succeeded
Email · Yesterday in ~devDecisions: freeze the API on Thursday. Open questions: who owns the Northwind migration?

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 Slack
  • Combine it with other Mattermost 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_ai_channel_digest.pyexample
import time
from clickruntime import on_trigger, credentials, http, ai, notify

BASE = "https://chat.acme.com/api/v4"
DEV_CHANNEL_ID = "devchannel123"

@on_trigger
def run(event):
    h = {"Authorization": f"Bearer {credentials.secret('MATTERMOST_TOKEN')}"}
    since = int((time.time() - 86400) * 1000)
    data = http.get(f"{BASE}/channels/{DEV_CHANNEL_ID}/posts", params={"since": since}, headers=h).json()
    posts = sorted(data["posts"].values(), key=lambda p: p["create_at"])
    if not posts:
        notify.email_me("Dev channel: quiet day", "No posts yesterday.")
        return {"posts": 0}
    text = "\n".join(p["message"][:500] for p in posts)[:30000]
    summary = ai.generate(f"Summarise these chat posts. List decisions, then open questions.\n\n{text}",
                          max_output_tokens=600).text
    notify.email_me("Yesterday in ~dev", summary)
    return {"posts": len(posts)}

FAQ

Common questions

Does the AI see private messages?
It reads only the channel you connect, using the access token you provide, and cannot read channels the token has no access to. Private channels can be included if the token's user is a member of them.
What if there were very few messages?
With only a handful of posts, the summary will be short, and when nothing was posted the email can say so or the run can skip sending. The behavior can be chosen when you set it up.
Can the digest be posted to Mattermost instead of email?
Yes. The summary can be sent to a different channel, or to a person as a direct message, instead of an email. Tell your AI assistant where it should go and approve the change. The AI step runs on ClickRuntime's built-in AI.
What permissions does it need?
read channel. 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 morning summary of a Mattermost channel” from your assistant

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