AutomationFlowsAI & RAG › Document Summary Workflow

Document Summary Workflow

Document Summary Workflow. Uses httpRequest. Webhook trigger; 4 nodes.

Webhook trigger★★☆☆☆ complexity4 nodesHTTP Request
AI & RAG Trigger: Webhook Nodes: 4 Complexity: ★★☆☆☆ Added:

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 →

Download .json
{
  "name": "Document Summary Workflow",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "document-summary",
        "responseMode": "onReceivedCall",
        "options": {}
      },
      "id": "webhook-trigger",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "url": "={{$json.body.document_url}}",
        "options": {
          "timeout": 30000
        }
      },
      "id": "http-fetch-doc",
      "name": "Fetch Document",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "url": "http://backend:8000/api/webhook/document-summary",
        "method": "POST",
        "bodyParameters": {
          "parameters": [
            {
              "name": "document_id",
              "value": "={{$json.document_id}}"
            },
            {
              "name": "user_id",
              "value": "={{$json.user_id}}"
            }
          ]
        },
        "options": {
          "timeout": 60000
        }
      },
      "id": "http-save-summary",
      "name": "Save Summary to DB",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 3,
      "position": [
        650,
        300
      ]
    },
    {
      "parameters": {
        "operation": "respondWith",
        "responseBody": "={{$json.message}}",
        "respondWith": "json",
        "options": {}
      },
      "id": "respond-node",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        850,
        300
      ]
    }
  ],
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Fetch Document",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Document": {
      "main": [
        [
          {
            "node": "Save Summary to DB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Summary to DB": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "id": "document-summary-workflow"
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Document Summary Workflow. Uses httpRequest. Webhook trigger; 4 nodes.

Source: https://github.com/Susandhungana1/Multi-User-RAG-SAAS/blob/28f074c98ed261c834edd2f36ebb27d7d66a5931/n8n-workflows/document-summary.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This template provides a simple and powerful backend for adding speech-to-text capabilities to any application. It creates a dedicated webhook that receives an audio file, transcribes it using OpenAI'

HTTP Request
AI & RAG

This workflow exposes a webhook that queries PM10 air pollution data from a MotherDuck database, sends the results to a local Ollama (qwen2.5:3b) model for analysis, and returns an HTML report showing

HTTP Request
AI & RAG

Generate Text-To-Speech Using Elevenlabs Via Api. Uses respondToWebhook, httpRequest, stickyNote. Webhook trigger; 6 nodes.

HTTP Request
AI & RAG

WhatsApp → OpenAI (FastAPI). Uses httpRequest. Webhook trigger; 5 nodes.

HTTP Request
AI & RAG

AI Q&A Bot (Webhook → Anthropic Claude → Slack + Google Sheets). Uses httpRequest, googleSheets, slack. Webhook trigger; 5 nodes.

HTTP Request, Google Sheets, Slack