πŸ”¬ Generate technical n8n workflow reports with GPT-4.1 and Google Docs

⚑ 14 views Β· πŸ”¬ Document Extraction & Analysis

Description

Who is this workflow for?

This workflow is designed for technical teams, automation owners, process auditors, and anyone who needs to document n8n workflows in a consistent, fast, and professional wayβ€”without manual work.

What problem does it solve? / Use case

Documenting n8n workflows is often slow and error-prone: you need to review nodes, configurations, connections, internal logic, and embedded code.

This workflow automates that process by generating a complete technical report, structured and ready to share, ensuring documentation is:

What this workflow does

High-level flow

  1. Manual workflow start
  2. Target workflow selection
  3. Workflow normalization (cleanup + structure)
  4. Main report generation with OpenAI
  5. Code node extraction
  6. Condition: Code nodes exist or not
  7. (Optional) technical analysis of Code nodes with OpenAI
  8. Merge main report + code analysis
  9. Create the final document in Google Docs

Setup

OpenAI

Configure OpenAI credentials (API Key).

The workflow uses OpenAI nodes to:

Google Drive

n8n (access to the target workflow)

If your instance requires it, configure access to read internal workflows.

The workflow fetches the selected workflow using an n8n Get Workflow node.

How to customize this workflow

Final outcome

A system that automatically generates a professional technical Google Docs document containing:

Do you want this workflow in Spanish?

πŸ“§ jrvillaverde@virodria.es
πŸ”— https://www.linkedin.com/in/ramonvillaverde

πŸ”— Nodes Used

HTTP Request, n8n, OpenAI

πŸ“₯ Import

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

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