Templates / Create seminar teaching packs from research PDFs with Qwen, Gotenberg and Gmail

Create seminar teaching packs from research PDFs with Qwen, Gotenberg and Gmail

Ready for 3.0

by Hesham Mashhour ✓ · 33 views · created 2026-08-08 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 17 nodes and runs when someone submits an n8n form (“Paper → Teaching Pack”). Along the way it connects Mistral Cloud Chat Model, Gmail and Qwen Cloud Chat Model. It also calls gotenberg:3000 over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Paper → Teaching Pack”).

  1. Normalise upload (Code): runs custom JavaScript code
  2. Extract PDF text (Extract from File): extracts data from a file (pdf)
  3. Enough text? (If): checks a condition and branches into true / false
  4. Prepare input (Edit Fields (Set)): sets 4 fields: paperText, sessionMinutes, studentLevel…
  5. Couldn't read that PDF (n8n Form): shows the next form page
  6. Teaching pack agent (AI Agent): runs an AI agent, with model: Qwen Cloud Chat Model, Fallback: Mistral Large; output parser: Teaching pack schema
  7. Build report HTML (Code): runs custom JavaScript code
  8. HTML to file (Convert to File): converts data to a file (to text)
  9. Render PDF (Gotenberg) (HTTP Request): calls gotenberg:3000 (POST)
  10. Name the PDF (Code): runs custom JavaScript code

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

Services it uses

Mistral Cloud Chat ModelGmailQwen Cloud Chat Model

HTTP calls to: gotenberg:3000

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Rarely used nodes in this template: @n8n/n8n-nodes-langchain.lmChatAlibabaCloud

Nodes used (13)

From the author

Quick overview This workflow collects a research paper PDF via an n8n Form, uses an AI agent (with schema validation) to generate a seminar-ready teaching pack and slide plan, renders it to a PDF with Gotenberg, and emails the finished pack to the requester…

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