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 for more details
Automatically import and deploy n8n workflows from your GitHub repository to your production n8n instance using a secured webhook-based approach. This template enables teams to maintain version control of their workflows while ensuring seamless deployment through a CI/CD pipeline.
.json
workflow filesTo trigger the deployment, send a POST request to your webhook with the set up credentials (basic auth) with the following body:
{
"owner": "GITHUB_REPO_OWNER_NAME",
"repository": "GITHUB_REPOSITORY_NAME"
}
Once importing this template in n8n :
There is a companion repository located at https://github.com/dynamicNerdsSolutions/n8n-git-flow-template that has a Github action already setup to work with this workflow.
It provides a complete development environment with:
This setup allows teams to maintain a clean separation between development and production environments while ensuring reliable workflow deployment.