๐Ÿค–๐Ÿ“ 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.

0
Downloads
1
Views
7.03
Quality Score
beginner
Complexity
Author:Luis Acosta(View Original โ†’)
Created:9/10/2025
Updated:11/17/2025

๐Ÿ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments