AutomationMart
Home/Browse/Generate structured exams from PDFs with OpenAI GPT-4o and HTML to PDF
n8n

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

n8nn8n16 modulesv1.0
OpenAITelegram

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 multiple-choice and essay questions with customizable difficulty and automatic answer key generation. --- ✨ Features - πŸ“„ Upload PDF via Webhook - βœ… File size validation (default: max 5MB) - 🧹 Automatic text cleaning - πŸ“ Token length

At a glance

Generate structured exams from PDFs with OpenAI GPT-4o and HTML to PDF is a ready-made n8n workflow you import as a workflow JSON file β€” no build required. It connects OpenAI, Telegram. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
OpenAI, Telegram
Modules
16
Price
Free
Version
v1.0
Generate structured exams from PDFs with OpenAI GPT-4o and HTML to PDF workflow diagram

About this workflow

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 multiple-choice and essay questions with customizable difficulty and automatic answer key generation. --- ✨ Features - πŸ“„ Upload PDF via Webhook - βœ… File size validation (default: max 5MB) - 🧹 Automatic text cleaning - πŸ“ Token length estimation & safety control - 🎯 Customizable MCQ & Essay count - 🧠 Difficulty selection (easy / medium / hard) - 🌍 Language selection - πŸ“¦ Structured JSON AI output - πŸ“ Separate Exam PDF & Answer Key PDF - πŸ“² Telegram delivery support (optional) - πŸ”’ Parameter validation with structured error responses --- 🧠 What This Workflow Does 1. Accepts PDF upload via Webhook 2. Validates file size 3. Extracts and cleans text content 4. Estimates text length to prevent token overflow 5. Validates required parameters: - mcqcount - essaycount - difficulty - language 6. Sends structured prompt to OpenAI 7. Parses JSON response 8. Formats exam and answer key separately 9. Converts both into PDF 10. Sends results via Telegram or Webhook response --- βš™οΈ Requirements Accounts Required - OpenAI account (API key required) - Telegram Bot (optional) - PDF Munk (API key required) Environment - n8n (self-hosted or cloud) - Node version compatible with your n8n installation --- πŸ”‘ Credentials Setup 1️⃣ OpenAI - Add OpenAI credentials inside n8n - Insert your API key - Select preferred model (e.g., GPT-4o / GPT-4) 2️⃣ Telegram (Optional) - Create a Telegram Bot via BotFather - Insert Bot Token into Telegram node - Add your Chat ID --- πŸ›  Webhook Configuration Method: POST Content-Type: multipart/form-data Required Parameters | Parameter | Type | Required | Description | |--------------|--------|----------|-------------| | file | File | Yes | PDF document | | mcqcount | Number | Yes | Number of multiple-choice questions | | essaycount | Number | Yes | Number of essay questions | | difficulty | String | Yes | easy / medium / hard | | language | String | Yes | Output language | --- πŸ“₯ Example Request `bash curl -X POST \ -F "file=@document.pdf" \ -F "mcqcount=20" \ -F "essaycount=5" \ -F "difficulty=medium" \ -F "language=Indonesian"

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n β†’ click the menu β†’ Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Create iCalendar events from new Telegram messages

Easily create and manage iCalendar events by transforming your incoming Telegram messages into events, ensuring organized scheduling and enhanced productivity.

Free

Map which AI search topics each domain owns with SE Ranking and GPT

Find which AI search topics each domain owns with SE Ranking and GPT Who is this for - SEO teams wanting to understand topic-level AI search dominance across competitors - Content strategists building editorial plans around AI visibility gaps - Marketing managers benchmarking brand presence across AI search topics What this workflow does Pulls AI search prompts for your domain and up to 2 competitors, then uses GPT to cluster them i

Free

Get new Slack messages on Telegram

Every time you receive a new message in Slack, Make will automatically send a message on Telegram.

Free

Create low-cost AI videos with Veo3 fast and upload to YouTube & TikTok

This workflow allows users to generate AI videos using the cheaper model Google Veo3 Fast, save them to Google Drive, generate optimized titles with GPT-4o, and automatically upload them to YouTube and TikTok with Upload-Post. The entire process is triggered from a Google Sheet that acts as the central interface for input and output. IT automates video creation, uploading, and tracking,

Free

Create viral LinkedIn content with O3 & GPT-4.1-mini multi-agent team

Create Viral LinkedIn Content with O3 & GPT-4.1-mini Multi-Agent Team This n8n workflow is a multi-agent LinkedIn content factory. At its heart is the Content Director Agent (O3 model), who acts as the project manager. It listens for LinkedIn chat messages, analyzes them, and coordinates a team of AI specialists (all powered by GPT-4.1-mini) to produce viral, engaging, and optimized LinkedIn content. --- 🟒 Section 1 – Workflow Entry & Strategy Layer Nodes: πŸ”” When chat message received β†’ Capture

Free

Generate a personal newsfeed using Bright Data web scraping and GPT-4.1

How it Works Disclaimer: This template is for self-hosted n8n instances only. This workflow is designed for developers, data analysts, and automation enthusiasts seeking to automate personalized news collection and delivery. It seamlessly combines n8n, OpenAI (e.g., GPT-4.1), and Bright Data’s Model Context Protocol (MCP) to collect, extract, and email the latest global news headlines. On a schedule or via a manual trigger, the workflow prompts an AI agent to gather fresh news. The agent levera

Free

Simulate business decisions with Google Sheets, GPT-4.1 and Slack

Quick Overview This workflow simulates business decision scenarios using Google Sheets data and AI analysis, generating what-if reports and recommendations for pricing, campaign, or hiring moves, and logs results to Google Sheets and Slack. How it works 1. Listens for incoming scenario requests via webhook or runs weekly on a schedule. 2. Prepares scenario details and validates the scenario type. 3. Fetches historical business data from Google Sheets. 4. Parses and summarizes historical data for

Free

Route and validate emailed documents with Gmail and Google Gemini

Quick Overview This workflow monitors Gmail for unread emails from a specific sender, classifies attached documents with Google Gemini, then extracts and validates structured data for bills of lading, invoices, and warranty claims, posts the results to an HTTP webhook endpoint, and replies to the sender with an HTML confirmation email. How it works 1. Triggers when an unread Gmail message arrives from the configured sender and downloads the email attachment. 2. Uses Google Gemini to classify the

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint β€” instant download
  • Setup guide PDF included
  • 5 downloads Β· valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

β‚Ή2,499/ session
3 hrs Β· video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free