Automation library · Documents and files

Restore workflows and credentials from remote FTP backup storage

Started by an event in a connected app, and works across Email and FTP. 20 steps, 2 branches: a working afternoon to understand properly.

Medium

20 stepsMedium: a working afternoon
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Logic 6Service 13

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

  1. 1Start RestoreManual triggerStarts it
  2. 2InitCodeLogic
  3. 3List Credentials FoldersFtpService
  4. 4Find Last BackupCodeLogic
  5. 5Create Temp FolderExecute CommandService
  6. 6ERROR: Find Most Recent Credentials FolderStop And ErrorLogic
  7. 7Restore Credentials?IfLogic
  8. 8Restore Workflows?IfLogic
  9. 9List Credentials FilesFtpService
  10. 10List Most Recent Workflows FolderFtpService
  11. 11Download Credential FilesFtpService
  12. 12Download Workflow FilesFtpService
  13. 13Write Credential Files To DiskRead Write FileService
  14. 14Filter out Credentials sub-folderFilterLogic
  15. 15Restore CredentialsExecute CommandService
  16. 16Write Workflow Files To DiskRead Write FileService
  17. 17SUCCESS email CredentialsEmail SendService
  18. 18Exclude Current Workflow From SelectionExecute CommandService
  19. 19Restore WorkflowsExecute CommandService
  20. 20SUCCESS email WorkflowsEmail SendService

How it's built

Starts on
An event in a connected app
Steps
20, with 2 branches
Size
Medium: a working afternoon
Connects to
Email, FTP
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

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

What starts it?

It starts on an event in a connected app.

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.