Templates / Send PDF document summaries with CoreNexis OCR, GPT-4.1-mini, GPT-4o-mini and Gmail

Send PDF document summaries with CoreNexis OCR, GPT-4.1-mini, GPT-4o-mini and Gmail

Needs changes

by isaWOW ✓ · 70 views · created 2026-05-26 · Document Extraction, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 19 nodes and runs when someone submits an n8n form (“PDF Document Summarizer — Powered by CoreNexis”). Along the way it connects OpenAI Chat Model and Gmail. It also calls api.corenexis.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“PDF Document Summarizer — Powered by CoreNexis”).

  1. 2. Code — Prepare PDF Data (Code): runs custom JavaScript code
  2. 3. HTTP — CoreNexis OCR Submit (HTTP Request): calls api.corenexis.com (POST)
  3. 4. Code — Get Job ID (Code): runs custom JavaScript code
  4. 5. Wait — 4 Seconds (Wait): waits 4 seconds
  5. 6. HTTP — Poll OCR Status (HTTP Request): calls an HTTP API
  6. 7. Code — Merge Status (Code): runs custom JavaScript code
  7. 8. IF — Still Processing? (If): checks a condition and branches into true / false
  8. 9. Wait — 1 Minute Retry (Wait): waits 1 minutes
  9. 10. IF — OCR Completed? (If): checks a condition and branches into true / false
  10. 11. HTTP — Download Extracted Text (HTTP Request): calls an HTTP API

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

Services it uses

OpenAI Chat ModelGmail

HTTP calls to: api.corenexis.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in 13. AI Agent — Generate Document Summary (v1.7), 15. AI Agent — Generate HTML Email (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
13. AI Agent — Generate Document Summary (v1.7), 15. AI Agent — Generate HTML Email (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (8)

From the author

Quick overview Upload any PDF through a form and this workflow extracts the full text using CoreNexis OCR, generates a structured 5-section summary with GPT-4.1-mini, converts it into a branded HTML email with GPT-4o-mini, and delivers it to your inbox…

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