GitHub Trigger
The workflow fires automatically whenever a GitHub event occurs on the repository — issue created, issue commented, or issue updated.
Case study · event-driven automation
An n8n workflow triggered by GitHub events that automatically manages repository issues — assigning issue creators, detecting contributor work requests from comments, checking assignment status, assigning the right person, and adding automated comments. Zero manual issue management.
The project
Managing GitHub issues manually is time-consuming — especially for open-source projects or development teams where contributors need to be assigned quickly and communication needs to stay consistent.
This n8n automation listens for GitHub events and handles all issue assignment logic automatically — from assigning the original issue creator to detecting when a contributor comments “I want to work on this” and assigning them if the issue is still available.

Full n8n workflow — GitHub trigger, 4-way switch, conditional logic, and auto-assignment
How the automation works
The original workflow turns a repository event into a controlled route: it checks the state of the issue, decides what action is appropriate, and adds a clear automated outcome.
The workflow fires automatically whenever a GitHub event occurs on the repository — issue created, issue commented, or issue updated.
A 4-way Switch node routes the event to the correct branch based on the event type — ensuring each scenario is handled with its own specific logic.
Checks if the issue has no assignee. If true → automatically assigns the issue creator to the issue. If false → NoOp (no action needed).
Detects if a contributor has commented expressing interest in working on the issue, for example “I want to work on this”.
If the contributor wants to work on it, the system checks if the issue is already assigned. If not assigned → assigns the commenter. If already assigned → adds a comment informing them it’s taken.
Automatically edits the GitHub issue to assign the requesting contributor — keeping the project moving without any maintainer intervention.
Creates an automated comment on the issue — confirming assignment, or informing the contributor that someone is already working on it.
Tools & integrations
The original setup combines event listening, switch routing, conditional checks, GitHub issue updates, assignment actions, and automated project communication.
“The GitHub automation saved our team hours every week. Issues get assigned instantly, contributors get responses automatically, and our maintainers can focus on actual code review instead of admin work.”Client — GitHub Issue Management Project · n8n + GitHub API Automation
Build your next system
I build end-to-end n8n automations that eliminate manual work — from GitHub workflows to AI-powered outreach systems. Let’s talk about what you need.