Back to Templates
Automatically scans all public Slack channels weekly to detect those with no activity in the past 30 days, then generates and sends a detailed inactivity report to admins for review and action. Helps keep your Slack workspace clean, relevant, and clutter-free.
This workflow is built for:
This automated n8n workflow:
Configure your Slack App
channels:read
→ to get list of public channelschannels:history
→ to fetch message historyusers:read
→ to personalize report (optional)chat:write
→ to post the report to a Slack channelInstall the app in your workspace
Customize the schedule in the "Weekly Schedule Trigger" node to control report frequency.
Connect your Slack workspace to the workflow using your credentials.
channels:read
channels:history
chat:write
Component | Customization Options |
---|---|
⏱️ Schedule Trigger | Change to daily, monthly, etc. |
📅 Inactivity Threshold | Modify Filter channel with last discussion 30 days ago to 60/90 days |
📊 Report Formatting | Tweak the Consume slack report node to change formatting or summary |
💬 Output Channel | Change target channel in Send Channel Inactivity Report |
🚫 Auto-archiving | Add logic to archive channels with 0 members or activity (using Slack API) |
Action | Slack Scope Required |
---|---|
Get all public channels | channels:read |
Get message history of a channel | channels:history |
Post message to Slack | chat:write |
Get user info (optional) | users:read |