Team morale monitoring from Teams/Slack messages with Gemini AI
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs on a schedule (every week at 09:00). Along the way it connects Google Gemini and Slack.
How it runs
Trigger: On a schedule (every week at 09:00).
- Workflow Configuration (Edit Fields (Set)): sets 4 fields: teamId, channelId, managerUserId…
- Fetch Teams Messages (Simulated) (Code): runs custom JavaScript code
- Split In Batches (Loop Over Items (Split in Batches)): loops over the items in batches
- Sentiment Analysis (OpenAI) (Google Gemini): work with document
- Log Progress (Code): runs custom JavaScript code
- Aggregate: combines items into one
- Calculate Weekly Statistics (Code): runs custom JavaScript code
- Generate Morale Report (OpenAI) (Google Gemini): work with document
- Send a message (Slack): uses Slack
Services it uses
Other Google Gemini + Slack templates (309)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Aggregate
n8n-nodes-base.aggregate - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Slack
n8n-nodes-base.slack
From the author
AI Team Morale Monitor Who’s it for For team leads, HR, and managers who want to monitor the emotional tone and morale of their teams based on message sentiment. How it works 1. Trigger: Runs every Monday at 9 AM. 2. Config: Defines your Teams and Slack…