🎯 πŸ€–πŸ“ Auto-document workflows with GPT-4o-mini sticky notes

⚑ 1,152 views · 🎯 AI Summarization & Classification

Description

πŸ€–πŸ“ Auto-Document Workflows with GPT-4o-mini Sticky Notes

Skip the tedious part of writing documentation and turn your n8n workflows into clear, shareable blueprints β€” fully automated.

This workflow takes any workflow JSON, parses its nodes, generates structured sticky notes (both per-node and a general overview), and arranges them neatly on your canvas. No more messy layouts or missing documentation β€” everything is handled in one click.

It’s perfect if you want to publish to the n8n marketplace, onboard teammates quickly, or just keep your own automations easy to understand months later.


πŸ’‘ What this workflow does

βœ… Loads your existing workflow from a JSON file
πŸ” Parses and unwraps real nodes (ignoring old stickies)
πŸ€– Uses AI to create concise sticky notes for each node
πŸ“ Adds a general overview sticky with goals, flow, parameters, and gotchas
πŸ“ Arranges all nodes + stickies (node above, sticky below, right-to-left)
πŸ’Ύ Saves a new documented workflow JSON, ready to reuse or share


βš™οΈ Step-by-step setup

  1. Prepare your workflow file

    • Export your n8n workflow JSON or point to an existing file path.
  2. Configure the β€œLoad Workflow” node

    • Update the file selector to your JSON path, e.g. /workflows/myflow.json.
  3. Add your OpenAI credentials

    • In the OpenAI API nodes (Node Sticky Notes + Overall Sticky Note), insert your API key.
  4. Run the workflow

    • Trigger manually with the Execute Workflow node.
    • The script will parse your nodes, generate stickies, and align them on the canvas.
  5. Save the result

    • The β€œSave Documented Workflow” node writes a new file, e.g. /workflows/myflow-with-sticky.json.

πŸ›  Customization


⚠️ Limitations / Gotchas


🎯 Expected result

After execution, you’ll get a fully documented workflow JSON where each node is paired with a clean sticky note, plus an overview note neatly placed on the canvas. You can open this new file in n8n, share it, or submit it directly to the marketplace.


πŸ“¬ Contact & Feedback

Need help customizing this? Have ideas for improvement?

πŸ“© Luis.acosta@news2podcast.com
🐦 DM me on Twitter @guanchehacker

If you’re working on advanced workflow documentation + AI, let’s talk β€” this template can be a foundation for more powerful tools.

πŸ”— Nodes Used

Read/Write Files from Disk, Extract from File, OpenAI

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup