Github webhook-based n8n workflow import template
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.
What this workflow does
This workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects GitHub.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- create workflows sub folder if not exist (Execute Command): runs a shell command on the n8n host
- List files from specified repo root (GitHub): list (file)
- Loop Over Files (Loop Over Items (Split in Batches)): loops over the items in batches
- Call n8n import and cleanup folder (Execute Command): runs a shell command on the n8n host
- If: checks a condition and branches into true / false
- Download file (GitHub): get (file)
- Store file locally (Read/Write Files from Disk): writes a file to disk
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - No Operation, do nothing
n8n-nodes-base.noOp - Execute Command
n8n-nodes-base.executeCommand - GitHub
n8n-nodes-base.github - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - Read/Write Files from Disk
n8n-nodes-base.readWriteFile
From the author
This n8n workflow template uses community nodes and is only compatible with the self-hosted version of n8n. This template aims to ease the process of deploying workflows from github. It has a companion repository that developers might find useful{. See below…