Templates / Generate structured exams from PDFs with OpenAI GPT-4o and HTML to PDF

Generate structured exams from PDFs with OpenAI GPT-4o and HTML to PDF

Unknown

by Ramdoni ✓ · 405 views · created 2026-02-22 · Document Extraction, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI, Telegram and Htmlcsstopdf (community).

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Validate Parameter & PDF (Code): runs custom JavaScript code
  2. Condition Valid (If): checks a condition and branches into true / false
  3. Extract from File: extracts data from a file (pdf)
  4. Respond Valid Parameter (Respond to Webhook): sends the response back to the webhook caller
  5. Clean Text (Code): runs custom JavaScript code
  6. Length Estimation Layer (Code): runs custom JavaScript code
  7. Validate Token > 8. (If): checks a condition and branches into true / false
  8. Respond to Webhook: sends the response back to the webhook caller
  9. Message a model (OpenAI): uses OpenAI
  10. Parse JSON (Code): runs custom JavaScript code

…plus 5 more steps. See the full node list below.

Services it uses

OpenAITelegramHtmlcsstopdf (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-htmlcsstopdf is verified or supports 3.0 (used in Convert HTML to PDF - Exam, Convert HTML to PDF - Answer).

Nodes used (8)

From the author

🚀 ExamForge AI Automated PDF to Structured Exam Generator (MCQ + Essay + Answer Key) Generate structured exams automatically from text-based PDF materials using AI. ExamForge AI is a production-ready n8n workflow that transforms educational content into…

Excerpt from Ramdoni'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.