Monitor Multiple Github Repos
Configured with HTTP Request, Slack, Split Out, Telegram, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Transform
- Web / API
- Messaging
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| When clicking ‘Test workflow’ | Trigger | Manual Trigger | See node parameters |
| Split Out | Transform | Split Out | See node parameters |
| Register Github Webhook | Web / API | HTTP Request | POST |
| Split Out1 | Transform | Split Out | See node parameters |
| Delete Github Webhook | Web / API | HTTP Request | DELETE |
| Fields | Transform | Edit Fields | See node parameters |
| Notify Slack | Messaging | Slack | See node parameters |
| Telegram | Messaging | Telegram | See node parameters |
| Repos to Monitor | Transform | Edit Fields | See node parameters |
| Webhook Trigger | Trigger | Webhook | See node parameters |
| Repos to Monitor1 | Transform | Edit Fields | See node parameters |
| Get Existing Hook | Web / API | HTTP Request | See node parameters |
| Hook URL | Transform | Edit Fields | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
httpHeaderAuthtelegramApi
Workflow notes
Monitor Multiple Github Repos
Monitor Multiple Github Repos
This workflow allows you to monitor multiple Github repos simultaneously without polling due to use of Webhooks. It programmatically allows for adding and deleting of repos to your watchlist to make management convenient.
Test
Test
1. Register Webhooks
- In
Repos to Monitor, add any repo you want to monitor changes for. - Disable
Webhook Trigger, ClickTest Workflowand if your Github credentials were set correctly, it will automatically register the webhooks. - You can test this by running the single nodeGet Existing Webhookand confirming it outputs the repo addresses.
2. Handle Github Events
- Now that you have registered the webhooks, reenable
Webhook Triggerand activate the workflow. - Make a commit to any of the registered repos.
- Confirm that the notification went through. That's it!
Setup
Setup
1. Creating Credentials on Github
Generate a personal access token on github by following these esteps;
- Right hand side of page -> Settings -> scroll to bottom -> Developer Settings > Personal Access Token > Tokens (classic) > Generate New Token
- Give scopes: admin:repo_hook repo (if you want to use it for your own private repo)
if you need more help, see here: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
2. Setting Credentials in n8n
In Register Github Webhook
Authenticaion > Generic Credential Type
Generic Auth Type > Header Auth
Header Auth > Create New Credential with Name set to 'Authorization' and Value set to 'Bearer '.
(You can reuse this for Delete Github Webhook and Get Existing Webhooks).
Now in Register Github Webhook, scroll down to Send Body > JSON and inside the JSON, change the value of "url" to the webhook address given as Production URL in the node Webhook Trigger.
3. Notification settings
In the third row, link up the Webhook Trigger to any API of your choice. Slack and Telegram are given as examples. You can also format the notification message as you wish.
Monitor Multiple Github Repos
Monitor Multiple Github Repos
Purpose and structure
This folder contains the Monitor Multiple Github Repos workflow. Its executable nodes use httpRequest, manualTrigger, set, slack, splitOut, telegram, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When clicking ‘Test workflow’, Webhook Trigger
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Telegram/0585_Telegram_Splitout_Automation_Webhook.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- Delete All Webhooks
- Register Webhooks
- Handle Github Event