Templates / Generate secure worksheets and password-protected answer keys with OpenAI and Gmail

Generate secure worksheets and password-protected answer keys with OpenAI and Gmail

Unknown

by Jitesh Dugar ✓ · 1 views · created 2026-11-04 · Document Extraction, Multimodal AI

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 9 nodes and runs when someone submits an n8n form (“AI Worksheet Generator”). Along the way it connects OpenAI Chat Model, Gmail and Htmlcsstopdf (community).

How it runs

Trigger: When someone submits an n8n form (“AI Worksheet Generator”).

  1. Generate Worksheet HTML (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
  2. Create Worksheet File (Htmlcsstopdf): uses Htmlcsstopdf
  3. Generate Answer Key HTML (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
  4. Create Answer Key File (Htmlcsstopdf): uses Htmlcsstopdf
  5. Lock Answer Key (Htmlcsstopdf): work with pdf security
  6. Send Lesson Materials (Gmail): uses Gmail

Services it uses

OpenAI Chat ModelGmailHtmlcsstopdf (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 Create Worksheet File, Create Answer Key File, Lock Answer Key).

Nodes used (5)

From the author

Quick overview This workflow collects lesson details via an n8n form, uses OpenAI to generate a student worksheet and matching answer key, converts both to PDFs with HTMLCSS to PDF, password-locks the answer key, and emails the worksheet link plus the…

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