Selectively import workflows from GitHub, including nested folders

Go to Workflow
2 views
Built by Stephen Anindo Stephen Anindo
Created on June 08, 2026

Description

This template lets you selectively import n8n workflows from a GitHub repository, even when your repository uses deeply nested folder structures.

Unlike most import workflows, this template does not load everything automatically. Instead, it:
• Traverses all nested folders in your repository
• Collects every workflow JSON file found
• Dynamically generates a selection form
• Allows you to choose exactly which workflows to load
• Cleans incompatible fields for n8n API compatibility
• Creates workflows directly in your instance

This makes it ideal for users who:
• Work across multiple n8n instances
• Store workflows in structured GitHub directories (e.g. YYYY/MM/)
• Want precise control over which workflows are restored
• Manage staging, production, or client environments

If you maintain workflows in GitHub and need controlled, selective imports, especially across structured folder hierarchies, this template is built for that use case.

Nodes Used (2)

Code
n8n-nodes-base.code
GitHub
n8n-nodes-base.github