Automation library · Documents and files

Generate workflow documentation and node names with OpenAI

Started by someone submitting a form, and works across n8n data table. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 51 steps, 5 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

51 stepsLarge: read it before trusting it with anything live
5Branches: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 12Logic 22Service 16

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

  1. 1Form TriggerForm triggerStarts it
  2. 2DocsGoogle Docs ToolService
  3. 3ThinkTool ThinkModel
  4. 4ParseOutput Parser StructuredModel
  5. 5n8n DataData Table ToolService
  6. 6MemoryMemory Buffer WindowModel
  7. 7OpenAILm Chat Open AiModel
  8. 8Structured ParserOutput Parser StructuredModel
  9. 9Select Work ProcessFormService
  10. 10ResearchAgent ToolModel
  11. 11AI Agent (sticky-notes editor)AgentModel
  12. 12AI Agent (node editor)AgentModel
  13. 13Auto-fixing Output ParserOutput Parser AutofixingModel
  14. 14AI Agent (workflow name editor)AgentModel
  15. 15Auto-fixing Output Parser1Output Parser AutofixingModel
  16. 16Basic LLM ChainChain LlmModel
  17. 17Get All WorkflowsN8nService
  18. 18Loop Over ItemsSplit In BatchesLogic
  19. 19Prepare LLM Verify DataSetLogic
  20. 20Edit NameSetLogic
  21. 21Merge1MergeLogic
  22. 22AggregateAggregateLogic
  23. 23Display Workflow DescriptionFormService
  24. 24Get Idea Form n8n Data TableData TableService
  25. 25Verify Update NodesIfLogic
  26. 26Display SEO type Workflow Name/TitleFormService
  27. 27Create DOCSSetLogic
  28. 28Select Workflow form Dynamic Workflow ListFormService
  29. 29Apply Update Nodes ConnectionsSetLogic
  30. 30Convert Text FileConvert To FileService
  31. 31Check the action edit againIfLogic
  32. 32Code (Clean FlocFlow ID)CodeLogic
  33. 33Assemble Update Workflow ObjectSetLogic
  34. 34Display Workflow Text fileFormService
  35. 35Edit PageHtmlLogic
  36. 36Workflow md contentHtmlLogic
  37. 37Get Specified WorkflowN8nService
  38. 38Save Renamed WorkflowN8nService
  39. 39Display Workflow DocumentationFormService
  40. 40Display Workflow Documentation1FormService
  41. 41SwitchSwitchLogic
  42. 42Create Workflow Update LinksSetLogic
  43. 43Get Workflow Nodes ConnectionsSetLogic
  44. 44Code (Separate notes Form Workflow)CodeLogic
  45. 45Get Single Workflow Using IDN8nService
  46. 46Check Trigger Source TypeIfLogic
  47. 47Create a mermaid chartCodeLogic
  48. 48MergeMergeLogic
  49. 49Display Update & Old Workflow LinksFormService
  50. 50Check ActionIfLogic
  51. 51Blank DOCS fileSetLogic

How it's built

Starts on
Someone submitting a form
Steps
51, with 5 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
n8n data table
Model
OpenAI
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

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

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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