Generate Slack Weekly Team Activity Reports with n8n & Google Gemini

Automate the summarization and reporting of your team’s weekly Slack activity using n8n workflows combined with Google Gemini AI. This workflow gathers messages, analyzes threads, and posts insightful team reports to improve communication and save hours of manual effort.
Slack
Langchain - Google Gemini
Code
+11
Workflow Identifier: 1143
NODES in Use: Slack, Set, Code, Split Out, Aggregate, If, Switch, Execute Workflow, Split In Batches, NoOp, Langchain – Google Gemini, Schedule Trigger, Filter, Sticky Note

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Automation Does

This workflow collects Slack messages from last week and makes a summary report automatically.
It helps save hours of manual reading by showing what each team member did, their challenges, and wins.
The final report posts back to Slack every Monday morning.

The process gets messages by user, grabs replies, and uses AI to create easy-to-read summaries.
You get a full team overview and detailed individual reports without reading all messages yourself.


Tools and Services Used


Inputs, Processing Steps, and Output

Inputs

  • Slack channel ID to read messages from.
  • Slack API credentials to access messages and users.
  • Google Gemini API credentials to summon AI text summaries.
  • Schedule trigger set to Monday 6am.

Processing Steps

  • Fetch all Slack messages from past week.
  • Group messages by user ID.
  • Get replies for each message thread.
  • Fetch user details for both message senders and repliers.
  • Simplify data to main fields: timestamp, user ID, username, text.
  • Send grouped data to Google Gemini to summarize each thread.
  • Create personal weekly reports for each user.
  • Combine all personal reports into a final team report.
  • Post final report back to Slack channel.

Output

The final output is a clear, concise weekly report in Slack showing team activities, achievements, and challenges.


Who Should Use This Workflow

Team leaders or managers who use Slack for communication and want to save time reading messages.
It suits remote teams needing updates about conversations and progress.

Users who want AI-made summaries without technical steps for building from scratch.
People that want easy weekly reports automatically posted where the team already chats.


Beginner Step-by-Step: How To Use This Workflow in n8n

Step 1: Import Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open n8n editor where you want to run this workflow.
  3. Click “Import from File” and select the downloaded workflow.

Step 2: Set Credentials and IDs

  1. In n8n, open the Slack nodes and add Slack API credentials.
  2. Add Google Gemini API credentials in the respective AI nodes.
  3. Update the Slack channel ID in the “Get Last Week’s Messages” node to your team’s channel.
  4. If the workflow uses emails or folders, update those details accordingly.
  5. If a Code or AI prompt is shown, copy-paste them as is in the nodes.

Step 3: Test the Workflow

  1. Run the workflow manually once to see if messages are fetched properly.
  2. Check the AI summaries or debug output in n8n.

Step 4: Activate for Production

  1. Enable the Schedule Trigger node to start automatic runs every Monday at 6am.
  2. Monitor workflow runs and logs in n8n dashboard.
  3. If self hosting n8n, consider self-host n8n for better control.

Customization Ideas

  • Change the Slack channel monitored by updating the channel ID.
  • Modify AI prompts in Google Gemini nodes to change summary tone or focus.
  • Add an email node like SMTP to send the report by email.
  • Integrate project tools for deeper report insights.
  • Filter users to exclude some team members or focus on specific people.

Troubleshooting

  • Slack API token invalid or unauthorized
    Update Slack API credentials and verify permissions.
  • No messages fetched for last week
    Check channel ID correctness and that messages exist for the chosen period.
  • AI returns generic or irrelevant summaries
    Adjust AI prompts to be clearer about expected summary style and details.

Pre-Production Checklist

  • Test Slack credentials and channel ID manually.
  • Validate Google Gemini API credentials.
  • Run AI nodes with test data to check summary quality.
  • Confirm the scheduled trigger activates workflow as expected.
  • Backup workflow JSON before major edits.

Summary / Results

✓ Save over 3 hours weekly by automating Slack message reviews.
✓ Get clear, personalized insights for each team member.
✓ Receive a concise team-wide report showing wins and challenges.
✓ Avoid missed updates and improve team motivation.
✓ Post reports automatically in Slack every Monday morning.


Frequently Asked Questions

Yes, the Google Gemini Chat Model nodes can be swapped with other AI models supported by n8n, such as OpenAI GPT nodes.
Slack API requests and Google Gemini calls generate most of the usage. Using batching and limiting frequency helps control costs.
Slack data stays inside the workspace and the n8n instance. Google Gemini processes data per its policies. Using self-host n8n improves data control.
Yes, although performance depends on server resources and API rate limits. The workflow uses batching and splitting to process large data sets efficiently.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free