# [n8n v^1.37.3] GitHub backup of workflows and credentials: n8n workflow

> Started by a clock, and works across GitHub. 20 steps: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/n8n-v-1-37-3-github-backup-of-workflows-and-credentials (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Setup and learning](https://millionrounds.com/workflows?category=Setup+and+learning#library)

# [n8n v^1.37.3] GitHub backup of workflows and credentials

Started by a clock, and works across GitHub. 20 steps: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fn8n-v-1-37-3-github-backup-of-workflows-and-credentials)

**20 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Logic 3 Service 15

The steps in the order they run, from what starts it.

- 1 **On clicking 'execute'** Manual trigger *Starts it*
- 2 **Todo dias as 20hrs** Schedule trigger *Starts it*
- 3 **Display name Folder** Execute Command *Service*
- 4 **Config** Set *Logic*
- 5 **Export Workflows** Execute Command *Service*
- 6 **Get files workflows** Execute Command *Service*
- 7 **Split workflows** Code *Logic*
- 8 **Ler arquivo do workflows** Read Write File *Service*
- 9 **Obter JSON em TXT dos arquivos de workflows** Extract From File *Service*
- 10 **O arquivo de workflow existe no GitHub?** Github *Service*
- 11 **Editar aquivo de workflow** Github *Service*
- 12 **Criar aquivo de workflow** Github *Service*
- 13 **Export Credentials** Execute Command *Service*
- 14 **Get files credentials** Execute Command *Service*
- 15 **Split credentials** Code *Logic*
- 16 **Ler arquivo do credentials** Read Write File *Service*
- 17 **Obter JSON em TXT dos arquivos de credentials** Extract From File *Service*
- 18 **O arquivo de credential existe no GitHub?** Github *Service*
- 19 **Editar aquivo de credential** Github *Service*
- 20 **Criar aquivo de credential** Github *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 20
- **Size:** Medium: a working afternoon
- **Connects to:** GitHub
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own GitHub account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 20 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fn8n-v-1-37-3-github-backup-of-workflows-and-credentials)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[GitHub](https://millionrounds.com/workflows?service=GitHub#library)

## Workflows like it

Also setup and learning, with the same services where possible, closest in size first.

- [**INST - the n8n installer: deploy workflows with GitHub** 22 steps · GitHub](https://millionrounds.com/workflow/inst-the-n8n-installer-deploy-workflows-with-github)
- [**Build your own GitHub MCP server** 15 steps · GitHub](https://millionrounds.com/workflow/build-your-own-github-mcp-server)
- [**[n8n v^0.221.2] GitHub backup of workflows and credentials** 26 steps · GitHub](https://millionrounds.com/workflow/n8n-v-0-221-2-github-backup-of-workflows-and-credentials)
- [**GitHub webhook-based n8n workflow import template** 9 steps · GitHub](https://millionrounds.com/workflow/github-webhook-based-n8n-workflow-import-template)
- [**Back up and restore n8n workflows and credentials with GitHub** 41 steps · FTP, GitHub](https://millionrounds.com/workflow/back-up-and-restore-n8n-workflows-and-credentials-with-githu)
