This n8n workflow automates the process of importing workflows directly from a GitHub repository into n8n, streamlining development and deployment. It starts with a secured webhook trigger that receives GitHub repository details. The workflow creates a local directory for workflows if it doesn’t exist, then queries the specified GitHub repo to list all files in the root directory. It filters for JSON files, downloads each relevant workflow JSON file, and saves them locally. Finally, it utilizes the n8n CLI to import all downloaded workflows into the environment and cleans up the temporary JSON files. This setup is particularly useful for teams managing multiple workflows, enabling seamless updates and version control through GitHub integration.
Automated GitHub Workflow Importer for n8n
Node Count | 6 – 10 Nodes |
---|---|
Nodes Used | executeCommand, github, if, noOp, readWriteFile, splitInBatches, stickyNote, webhook |
Reviews
There are no reviews yet.