Send PDF document summaries with CoreNexis OCR, GPT-4.1-mini, GPT-4o-mini and Gmail
Needs changesWhat 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”).
- 2. Code — Prepare PDF Data (Code): runs custom JavaScript code
- 3. HTTP — CoreNexis OCR Submit (HTTP Request): calls api.corenexis.com (POST)
- 4. Code — Get Job ID (Code): runs custom JavaScript code
- 5. Wait — 4 Seconds (Wait): waits 4 seconds
- 6. HTTP — Poll OCR Status (HTTP Request): calls an HTTP API
- 7. Code — Merge Status (Code): runs custom JavaScript code
- 8. IF — Still Processing? (If): checks a condition and branches into true / false
- 9. Wait — 1 Minute Retry (Wait): waits 1 minutes
- 10. IF — OCR Completed? (If): checks a condition and branches into true / false
- 11. HTTP — Download Extracted Text (HTTP Request): calls an HTTP API
…plus 6 more steps. See the full node list below.
Services it uses
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).
| Removed in 3.0 | Replace 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)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail
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…