Skip to main content

Selectively import workflows from GitHub, including nested folders

Workflow preview

Selectively import workflows from GitHub, including nested folders preview
Open on n8n.io

Overview

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.