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.

On this page
How it works
- A form accepts the PDF and quiz settings.
- Text is extracted and AI generates structured MCQs with correct answers.
- A Google Form is created, quiz mode is switched on and student detail fields are added.
- 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.
| Table | Columns |
|---|---|
| My Quiz Form → Quiz FormGoogle Sheets | QuestionOption1Option2Option3Option4Correct_answerQuiz Url |
Setup
- 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.
- Connect the credentials listed above.
- Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
- Replace placeholder emails, phone numbers, and form links with your own.
- 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
| Node | Type |
|---|---|
| OpenAI Chat Model | lmChatOpenAi |
| Create Form | httpRequest |
| Enable Quiz Mode | httpRequest |
| Add Questions | httpRequest |
| Add Student Details | httpRequest |
| Extract from File | extractFromFile |
| Structured Output Parser | outputParserStructured |
| On form submission | formTrigger |
| Questions Generate | chainLlm |
| Set a Google Sheet Structure for all Questions | code |
| Append All Questions | googleSheets |
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.



