Automation library · Documents and files

Auto-document and backup workflows with OpenAI and Airtable

Started by a clock, and works across Airtable. It hands the judgement calls to OpenAI. 27 steps, 2 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

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

The flow

Starts it 1Model 3Logic 11Service 12

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2OpenAI Chat Model1Lm Chat Open AiModel
  3. 3Get all n8n workflowsN8nService
  4. 4Search all existing snapshotsAirtableService
  5. 5Document workflow differencesChain LlmModel
  6. 6Re-summarise workflowChain LlmModel
  7. 7Match snapshot IDsMergeLogic
  8. 8Prepare edits since last snapshotSetLogic
  9. 9Store new workflow summaryAirtableService
  10. 10Only keep new snapshotsFilterLogic
  11. 11Consolidate edits since last snapshotSetLogic
  12. 12Store new snapshotAirtableService
  13. 13Loop Over ItemsSplit In BatchesLogic
  14. 14Needs new workflow summary?IfLogic
  15. 15Get full workflow JSONN8nService
  16. 16The backup is done!No OpLogic
  17. 17Create or update workflowAirtableService
  18. 18Move Binary DataMove Binary DataService
  19. 19Search all snapshotsAirtableService
  20. 20Extract from FileExtract From FileService
  21. 21Check workflow statusCodeLogic
  22. 22Store workflow file into AirtableHttp RequestService
  23. 23Existing workflow?IfLogic
  24. 24WaitWaitLogic
  25. 25Download previous snapshotAirtableService
  26. 26State that this is the first versionSetLogic
  27. 27Extract from File1Extract From FileService

How it's built

Starts on
A clock
Steps
27, with 2 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Airtable
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Airtable account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 27 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 27 steps before you point it at anything that matters.