๐ค๐ Auto-Document Workflows with GPT-4o-mini Sticky Notes
๐ค๐ 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
Prepare your workflow file
Export your n8n workflow JSON or point to an existing file path.
Configure the โLoad Workflowโ node
Update the file selector to your JSON path, e.g. /workflows/myflow.json.
Add your OpenAI credentials
In the OpenAI API nodes (Node Sticky Notes + Overall Sticky Note), insert your API key.
Run the workflow
Trigger manually with the Execute Workflow node.
The script will parse your nodes, generate stickies, and align them on the canvas.
Save the result
The โSave Documented Workflowโ node writes a new file, e.g. /workflows/myflow-with-sticky.json.
๐ Customization
Sticky layout:** Adjust spacing, colors, and alignment in the Layout Blocks RTL node (tweak GAP_X, GAP_Y, or STICKY_COLOR).
Word count & style:** Edit prompts inside the OpenAI nodes to make notes shorter, longer, or more technical.
Overview focus:** Customize the Your Workflow Description node to pass context (e.g., project goals, intended audience).
File outputs:** Save to a new path/version for version control of your documentation.
โ ๏ธ Limitations / Gotchas
Maximum of ~50 nodes are summarized in the overview for brevity.
Old sticky notes are removed and replaced โ you canโt preserve them unless you fork the workflow.
Complex nodes (large Code / AI prompts) may require manual edits for clarity.
Ensure n8n has read/write access to your workflow JSON paths.
๐ฏ 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.
Related Templates
Reply to Outlook Emails with OpenAI
Who is this template for? This template is for any Microsoft Outlook user who wants a trained AI agent to reason and rep...
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
๐ Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments