Education

PDF to Google Forms Quiz Generator

Upload study material as a PDF and get a ready-to-share Google Forms quiz. AI writes the multiple-choice questions, answers and marks, and a copy of every question is saved to Google Sheets.

The PDF to Google Forms Quiz Generator workflow on the n8n canvas, with its 12 nodes and connections
The workflow on the n8n canvas. Click to open it full size.

At a glance

Category
Education
Nodes
12
Apps
OpenAI, Google Sheets
Price
Free
Download JSON
On this page

How it works

  1. A form accepts the PDF and quiz settings.
  2. Text is extracted and AI generates structured MCQs with correct answers.
  3. A Google Form is created, quiz mode is switched on and student detail fields are added.
  4. All questions are inserted into the form and logged in Google Sheets.

Use cases

  • Teachers and tutors
  • Corporate training teams
  • Coaching institutes

What you need

This workflow connects to these apps.

  • OpenAI
  • Google Sheets
  • n8n

You'll need an n8n instance, on n8n Cloud or self-hosted, and these credentials. Our credentials guide shows how to create each one.

  • Google Sheets account
  • Google account
  • Http Header Auth account
  • OpenAI account

Data setup

Create these tables with these exact column names before the first run.

TableColumns
My Quiz Form → Quiz FormGoogle SheetsQuestionOption1Option2Option3Option4Correct_answerQuiz Url

Setup

  1. Download the JSON and import it into n8n with Import from File, or copy it and paste it onto an empty canvas. The import guide walks through both.
  2. Connect the credentials listed above.
  3. Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
  4. Replace placeholder emails, phone numbers, and form links with your own.
  5. Times use the America/New York timezone and dates use MM/DD/YYYY. Change them if you need to, then test and activate. The setup guide covers this step by step.

Nodes

NodeType
OpenAI Chat ModellmChatOpenAi
Create FormhttpRequest
Enable Quiz ModehttpRequest
Add QuestionshttpRequest
Add Student DetailshttpRequest
Extract from FileextractFromFile
Structured Output ParseroutputParserStructured
On form submissionformTrigger
Questions GeneratechainLlm
Set a Google Sheet Structure for all Questionscode
Append All QuestionsgoogleSheets

Frequently asked questions

Upload study material as a PDF and get a ready-to-share Google Forms quiz. AI writes the multiple-choice questions, answers and marks, and a copy of every question is saved to Google Sheets. It's a 12-node n8n workflow.

An n8n instance, on n8n Cloud or self-hosted, and credentials for Google Sheets, Google, HTTP, and OpenAI. It uses only nodes that ship with n8n, so there's nothing else to install.

It works with 1 table in Google Sheets. Create it with the column names listed under Data setup on this page before the first run.

Download the JSON, then in n8n create a new workflow, open the menu in the top right, and choose Import from File. You can also copy the JSON and paste it onto an empty canvas.

Yes. It's free to download, import, and change, with no sign-up. You only pay for the apps it connects to, where those aren't free on your plan.

Keep exploring
  • n8n canvas of the OMR Answer Sheet Auto-Grader workflow

    Education9 nodes

    OMR Answer Sheet Auto-Grader

    Upload a photo of an OMR sheet and get the score back instantly. AI vision reads the marked answers, they're compared with the answer key, and the result is saved to Google Sheets.

  • n8n canvas of the Student Absence WhatsApp Alerts workflow

    Education14 nodes

    Student Absence WhatsApp Alerts

    When attendance is recorded, parents of absent students get an instant WhatsApp alert with a form to share the reason. Notification status is tracked in Google Sheets.

  • n8n canvas of the Student Fee Reminders with Stripe Payment Links workflow

    Education27 nodes

    Student Fee Reminders with Stripe Payment Links

    Sends staged WhatsApp fee reminders to parents with a Stripe payment link. When payment is made, the record is updated, a receipt PDF is generated and the receipt is shared.