Real-time GitHub Star Notifications for Your Team
detail.loadingPreview
Stay instantly updated on community engagement with your GitHub projects. This workflow automatically sends real-time notifications to Slack whenever your repository gains or loses a star. Keep your team informed and celebrate project growth.
About This Workflow
This n8n workflow provides a seamless way to monitor GitHub repository activity, specifically star events. It leverages the GitHub Trigger to listen for new stars on a specified repository. An IF node then differentiates between a star being added and a star being removed. Based on this condition, it sends a tailored message to a designated Slack channel. The messages include crucial details like the stargazer's username, their avatar, and the current total star count of the repository. This ensures your team is always in the loop regarding your project's popularity and community appreciation, fostering a sense of progress and encouraging further development.
Key Features
- Real-time GitHub Star Tracking: Get instant alerts for new stars on your repository.
- Star Addition/Removal Differentiation: Understand both positive and negative engagement trends.
- Customizable Slack Notifications: Configure messages with stargazer details and current star count.
- Visual Engagement Indicators: See stargazer avatars and links directly in Slack messages.
- Easy Integration: Connects GitHub and Slack with minimal setup.
How To Use
- GitHub Trigger Setup:
- Select the
Github Triggernode. - Enter your GitHub
owner(e.g.,n8n-io). - Specify the
repositoryname (e.g.,n8n). - Choose the
eventsto monitor, ensuringstaris included. - Authenticate with your GitHub credentials.
- Select the
- Conditional Logic Setup (IF Node):
- Connect the
Github Triggernode to theIFnode. - In the
IFnode parameters, configure a string condition. - Set
value1to={{$node["Github Trigger"].data["body"]["action"]}}to capture the event action. - Set
value2tocreatedto trigger notifications for new stars.
- Connect the
- Slack Notification for New Stars:
- Connect the
IFnode's first output (true condition) to theSlack - Addnode. - In the
Slack - Addnode, specify your target Slackchannel(e.g.,#general). - Customize the
attachmentswith dynamic data. For example:title:=Got new star from: {{$node["Github Trigger"].data["body"]["sender"]["login"]}}text:=The project has now: {{$node["Github Trigger"].data["body"]["repository"]["stargazers_count"]}} Starsimage_url:={{$node["Github Trigger"].data["body"]["sender"]["avatar_url"]}}title_link:={{$node["Github Trigger"].data["body"]["sender"]["html_url"]}}
- Authenticate with your Slack credentials.
- Connect the
- Slack Notification for Star Removal:
- Connect the
IFnode's second output (false condition) to theSlack - Removenode. - In the
Slack - Removenode, specify your target Slackchannel(e.g.,#general). - Customize the
attachmentssimilarly to theSlack - Addnode, but adjust thetitleto reflect a star removal:title:=Star got removed by: {{$node["Github Trigger"].data["body"]["sender"]["login"]}}text:=The project has now: {{$node["Github Trigger"].data["body"]["repository"]["stargazers_count"]}} Starscolor:#ff0000(for visual distinction).
- Authenticate with your Slack credentials.
- Connect the
Apps Used
Workflow JSON
{
"id": "a264a648-5846-43b2-8f19-4018c6f9a3ba",
"name": "Real-time GitHub Star Notifications for Your Team",
"nodes": 12,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: a264a648-5846...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.