Templates / Parse and normalize resume PDFs with Telegram, OpenAI, and Gotenberg

Parse and normalize resume PDFs with Telegram, OpenAI, and Gotenberg

Ready for 3.0

by Redowan Ahmed Farhan ✓ · 18 views · created 2026-08-01 · 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.

Nodes used (14)

OpenAI Chat ModelAuto-fixing Output ParserStructured Output ParserTelegramBasic LLM Chain

What it does

Quick overview This workflow accepts resume PDFs sent to a Telegram bot, extracts their text, uses OpenAI to parse the content into a structured JSON schema, reformats it into HTML sections, converts the HTML to a PDF via Gotenberg, and sends the normalized PDF back to the user. How it works 1. Triggers when a new Telegram message is received by the bot. 2. Validates the sender’s Telegram chat ID and ignores unauthorized users or the /start command. 3. Downloads the attached PDF from Telegram and extracts its text. 4. Uses OpenAI to extract resume details into structured JSON and auto-fixes any schema mismatches. 5. Formats the parsed resume sections (personal info, employment history, education, projects, volunteering, and technologies) into HTML. 6. Sends the HTML to a Gotenberg endpoint to render a PDF and returns the generated PDF to the user in Telegram. Setup 1. Add Telegram bot credentials for the Telegram Trigger and Telegram nodes used to download files and send documents. 2. Replace the authorized Telegram chat ID check (currently set to 0) with your own chat ID. 3. Add an OpenAI API credential for the OpenAI chat model nodes. 4. Ensure a reachable Gotenberg instance is running and update the HTML-to-PDF URL if it differs from http://gotenberg:3000/forms/chromium/convert/html.

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.