Templates / Generate C API HTML docs from Google Drive headers with GPT-4o and Gmail

Generate C API HTML docs from Google Drive headers with GPT-4o and Gmail

Ready for 3.0

by Tejasv Makkar ✓ · 35 views · created 2026-03-16 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive, Gmail and OpenAI.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Get all files from folder (Google Drive): work with file folder
  2. Filter .h files only (Code): runs custom JavaScript code
  3. Process one file at a time (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Build email body (Code): runs custom JavaScript code
  5. Download file (Google Drive): download
  6. Send completion email (Gmail): uses Gmail
  7. Extract from File: extracts data from a file (text)
  8. Extract structured docs (GPT-4o) (OpenAI): uses OpenAI
  9. Parse JSON response (Code): runs custom JavaScript code
  10. Generate HTML (Code): runs custom JavaScript code

…plus 1 more step. See the full node list below.

Services it uses

Google DriveGmailOpenAI

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

🚀 Overview This n8n workflow automatically generates professional API documentation from C header (.h) files using AI. It scans a Google Drive folder for header files, extracts the source code, sends it to GPT-4o for structured analysis, and generates a…

Excerpt from Tejasv Makkar's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.