Templates / Webhook-enabled AI PDF analyzer

Webhook-enabled AI PDF analyzer

Ready for 3.0

by n8n Team ✓ · 10,990 views · created 2025-05-23 · 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 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Get File Hash (Crypto): hashes or encrypts values
  2. Get Filesize (Code): runs custom JavaScript code
  3. Extract from File: extracts data from a file (pdf)
  4. Is Valid File? (If): checks a condition and branches into true / false
  5. Information Extractor: extracts structured fields from text with AI, with model: OpenAI Chat Model
  6. 400 Error (Respond to Webhook): sends the response back to the webhook caller
  7. Format Response (Edit Fields (Set)): sets 1 field: response
  8. 500 Error (Respond to Webhook): sends the response back to the webhook caller
  9. Success (Respond to Webhook): sends the response back to the webhook caller

Services it uses

OpenAI Chat Model

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.

Nodes used (10)

From the author

Who this template is for This template is for researchers, students, professionals, or content creators who need to quickly extract and summarize key insights from PDF documents using AI-powered analysis. Use case Converting lengthy PDF documents into…

Excerpt from n8n Team'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.