Monitor GitHub repositories and send Slack alerts
Workflow Description
An automation that monitors GitHub repository activities and sends real-time notifications to designated Slack channels, keeping your development team informed of critical changes, issues, and pull requests as they happen.
How it works
- 1.Trigger the workflow manually or on a schedule to start monitoring GitHub repositories
- 2.Retrieve repository data, issues, and pull requests via GitHub API
- 3.Process and categorize the data by priority, status, and type
- 4.Format messages and send them to appropriate Slack channels
- 5.Log activities and store data for audit and historical review
Use cases
- Send instant alerts when critical issues or pull requests are opened in main repositories
- Compile daily activity reports and deliver them to the development team
- Notify the team when issues are closed or code is merged into the main branch
- Track comments and reviews on pull requests and alert responsible developers
Requirements
- GitHub account with Personal Access Token (PAT) having read permissions
- Slack workspace with permissions to post messages and manage apps
- Pre-configured Slack channels for different notification types
- Active n8n instance (cloud or self-hosted) for continuous execution
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (26)
On clicking 'execute'
Manual Trigger
Sticky Note
Sticky Note
Execute Workflow Trigger
Execute Workflow Trigger
n8n
N8N
Return
Set
Get File
HTTP Request
If file too large
If
Merge Items
Merge
isDiffOrNew
Code
Check Status
Switch
Same file - Do nothing
No Op
File is different
No Op
File is new
No Op
Create new file
Github
Edit existing file
Github
Loop Over Items
Split In Batches
Schedule Trigger
Schedule Trigger
Create sub path
Set
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Starting Message
Slack
Execute Workflow
Execute Workflow
Completed Notification
Slack
Failed Flows
Slack
Get file data
Github
Config
Set