The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "HYPEAKZ \u2014 Document Summarizer (PDF/Text \u2192 Summary, 100% Local)",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "summarize",
"responseMode": "responseNode"
},
"id": "node-webhook",
"name": "Upload Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
250,
300
]
},
{
"parameters": {
"operation": "extractFromFile",
"options": {}
},
"id": "node-extract",
"name": "Extract Text from PDF",
"type": "n8n-nodes-base.extractFromFile",
"typeVersion": 1,
"position": [
500,
300
]
},
{
"parameters": {
"model": "llama3.2",
"baseUrl": "http://ollama:11434"
},
"id": "node-ollama",
"name": "Ollama Local LLM",
"type": "@n8n/n8n-nodes-langchain.lmOllama",
"typeVersion": 1,
"position": [
750,
500
]
},
{
"parameters": {
"prompt": "Summarize the following document in a structured format:\n\n1. **Executive Summary** (2-3 sentences)\n2. **Key Points** (bullet list, max 7 points)\n3. **Action Items** (if any)\n4. **Important Dates/Numbers** (if any)\n\nDocument:\n{{ $json.data }}\n\nProvide the summary in the same language as the document."
},
"id": "node-summarize",
"name": "Summarize Document (AI)",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"typeVersion": 1.4,
"position": [
750,
300
]
},
{
"parameters": {
"values": {
"string": [
{
"name": "summary",
"value": "={{ $json.text }}"
},
{
"name": "source_file",
"value": "={{ $('Upload Trigger').item.json.headers['content-disposition'] }}"
},
{
"name": "processed_at",
"value": "={{ $now.toISO() }}"
},
{
"name": "model",
"value": "llama3.2 (local)"
}
]
}
},
"id": "node-format",
"name": "Format Output",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
1000,
300
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ JSON.stringify($json) }}"
},
"id": "node-respond",
"name": "Return Summary",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.1,
"position": [
1250,
300
]
}
],
"connections": {
"Upload Trigger": {
"main": [
[
{
"node": "Extract Text from PDF",
"type": "main",
"index": 0
}
]
]
},
"Extract Text from PDF": {
"main": [
[
{
"node": "Summarize Document (AI)",
"type": "main",
"index": 0
}
]
]
},
"Ollama Local LLM": {
"ai_languageModel": [
[
{
"node": "Summarize Document (AI)",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Summarize Document (AI)": {
"main": [
[
{
"node": "Format Output",
"type": "main",
"index": 0
}
]
]
},
"Format Output": {
"main": [
[
{
"node": "Return Summary",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"tags": [
{
"name": "HYPEAKZ.IO"
},
{
"name": "Self-Hosted AI"
},
{
"name": "Ollama"
},
{
"name": "Document Processing"
}
]
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
HYPEAKZ — Document Summarizer (PDF/Text → Summary, 100% Local). Uses lmOllama, chainLlm. Webhook trigger; 6 nodes.
Source: https://github.com/dankofly/selfhosted-ai-kit/blob/main/workflows/02-document-summarizer.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow receives GDPR data subject access requests via a webhook, searches Microsoft 365 for related emails and documents using Microsoft Graph eDiscovery and SharePoint search, drafts a DPO cov
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
This visual workflow represents an AI-powered automated CV filtering system created using tools like n8n, Google Drive, Google Sheets, and Ollama (LLM) ### 📂 Google Drive Integration – Automatically s
HYPEAKZ — Invoice Data Extractor (OCR + AI, 100% Local). Uses lmOllama, chainLlm. Webhook trigger; 6 nodes.
HYPEAKZ — AI Lead Qualification Scorer (100% Local). Uses lmOllama, chainLlm, slack. Webhook trigger; 6 nodes.