# Summarise Slack channel activity for weekly reports: n8n workflow

> Started by a clock, and works across Slack. It hands the judgement calls to Gemini. 40 steps, 2 branches, 1 loop or waits: large, and worth reading before...

Source: https://millionrounds.com/workflow/summarise-slack-channel-activity-for-weekly-reports (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Summarise Slack channel activity for weekly reports

Started by a clock, and works across Slack. It hands the judgement calls to Gemini. 40 steps, 2 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsummarise-slack-channel-activity-for-weekly-reports)

**40 steps** Large: read it before trusting it with anything live

**2** Branches: places the flow splits

**1** Loop or waits

**1** Service it connects to

## The flow

Starts it 2 Model 6 Logic 27 Service 5

The steps in the order they run, from what starts it.

- 1 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 2 **Google Gemini Chat Model1** Lm Chat Google Gemini *Model*
- 3 **When Executed by Another Workflow** Execute Workflow trigger *Starts it*
- 4 **Google Gemini Chat Model2** Lm Chat Google Gemini *Model*
- 5 **Monday @ 6am** Schedule trigger *Starts it*
- 6 **Summarise Threads** Chain Llm *Model*
- 7 **Team Member Weekly Report Agent** Chain Llm *Model*
- 8 **Switch** Switch *Logic*
- 9 **Team Weekly Report Agent** Chain Llm *Model*
- 10 **Get Last Week's Messages** Slack *Service*
- 11 **Aggregate2** Aggregate *Logic*
- 12 **Merge with Results** Set *Logic*
- 13 **Get User** Slack *Service*
- 14 **Split Out1** Split Out *Logic*
- 15 **Map Reply UserIds** Set *Logic*
- 16 **Post Report in Team Channel** Slack *Service*
- 17 **Group By User** Code *Logic*
- 18 **Messages to Items** Code *Logic*
- 19 **Loop Over Items** Split In Batches *Logic*
- 20 **Has ReplyUsers?** If *Logic*
- 21 **Split Out** Split Out *Logic*
- 22 **Simplify Message** Set *Logic*
- 23 **Aggregate3** Set *Logic*
- 24 **Message Ref** No Op *Logic*
- 25 **Split Out2** Split Out *Logic*
- 26 **Reply Users** Set *Logic*
- 27 **Map Users to Messages** Execute Workflow *Logic*
- 28 **Aggregate** Aggregate *Logic*
- 29 **Aggregate4** Aggregate *Logic*
- 30 **Get Thread** Slack *Service*
- 31 **Get Reply Users** Slack *Service*
- 32 **Messages to Items1** Code *Logic*
- 33 **Fetch Message Replies** Execute Workflow *Logic*
- 34 **Get User Info** Set *Logic*
- 35 **Filter** Filter *Logic*
- 36 **Aggregate Reply Users** Aggregate *Logic*
- 37 **Summarize Message Threads** Execute Workflow *Logic*
- 38 **Simplify Thread Comments** Set *Logic*
- 39 **Aggregate Results** Set *Logic*
- 40 **Aggregate1** Aggregate *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 40, with 2 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Slack
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own Slack account, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 40 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 40 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsummarise-slack-channel-activity-for-weekly-reports)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Advanced multi-source AI research with Bright Data and OpenAI** 37 steps · calls a model · Email, Redis](https://millionrounds.com/workflow/advanced-multi-source-ai-research-with-bright-data-and-opena)
- [**Send weekly TMetric time reports to employees on Slack** 34 steps · Slack, n8n data table](https://millionrounds.com/workflow/send-weekly-tmetric-time-reports-to-employees-on-slack)
- [**Orchestrate sustainability lifecycle analytics with OpenAI** 33 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/orchestrate-sustainability-lifecycle-analytics-with-openai)
- [**Automate ESG compliance routing and reporting with OpenAI** 30 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/automate-esg-compliance-routing-and-reporting-with-openai)
- [**Collect viral Instagram AI art with OpenAI and Telegram** 28 steps · calls a model · Apify, Google Sheets](https://millionrounds.com/workflow/collect-viral-instagram-ai-art-with-openai-and-telegram)
- [**Competitive & market intelligence scanner with OpenAI** 28 steps · calls a model · Google Sheets, RSS](https://millionrounds.com/workflow/competitive-and-market-intelligence-scanner-with-openai)
