Templates / Github webhook-based n8n workflow import template

Github webhook-based n8n workflow import template

Ready for 3.0

by Dave Bernier · 1,864 views · created 2025-05-28 · DevOps

Ready 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.

📬 Weekly n8n 3.0 breakage alerts, free

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.

  1. create workflows sub folder if not exist (Execute Command): runs a shell command on the n8n host
  2. List files from specified repo root (GitHub): list (file)
  3. Loop Over Files (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Call n8n import and cleanup folder (Execute Command): runs a shell command on the n8n host
  5. If: checks a condition and branches into true / false
  6. Download file (GitHub): get (file)
  7. Store file locally (Read/Write Files from Disk): writes a file to disk

Services it uses

GitHub

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)

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…

Excerpt from Dave Bernier's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.