Automation library · Documents and files

Automatic workflow & credentials backup to GitHub

Started by a clock, and works across GitHub. 21 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large

21 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Logic 8Service 11

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2Hash MakerExecute Workflow triggerStarts it
  3. 3Set Workflow PathSetLogic
  4. 4Set Credential PathSetLogic
  5. 5Read FileRead Write FileService
  6. 6Get Old Workflow HashExecute WorkflowLogic
  7. 7Get Old Credential HashExecute WorkflowLogic
  8. 8Extract DataExtract From FileService
  9. 9Execute Workflow BackupExecute CommandService
  10. 10Execute Credential BackupExecute CommandService
  11. 11Hash DataCryptoService
  12. 12Get New Workflow HashExecute WorkflowLogic
  13. 13Get New Credential HashExecute WorkflowLogic
  14. 14If Workflow UpdatedIfLogic
  15. 15If Credential UpdatedIfLogic
  16. 16Read Workflow DataRead Write FileService
  17. 17Read Credential DataRead Write FileService
  18. 18Extract Workflow DataExtract From FileService
  19. 19Extract Credential DataExtract From FileService
  20. 20GitHub Workflow BackupGithubService
  21. 21GitHub Credential BackupGithubService

How it's built

Starts on
A clock
Steps
21, with 2 branches
Size
Large: read it before trusting it with anything live
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?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

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 21 steps before you point it at anything that matters.