Block 1 - Retrieve Parsed Content
- Type / Role
- n8n-nodes-base.httpRequest - httpRequest
- Config choices
- Version 4.2
Transform raw investment memorandums and financial decks into comprehensive, professional Due Diligence (DD) PDF reports. This workflow automates document parsing via LlamaParse, enriches internal ...
n8n-nodes-base.httprequest, n8n-nodes-base.webhook, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.vectorstorepinecone, @n8n/n8n-nodes-langchain.embeddingsopenai, @n8n/n8n-nodes-langchain.documentdefaultdataloader, n8n-nodes-base.aggregate
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Khairul Muhtadin.
Original n8n.io sourceTransform raw investment memorandums and financial decks into comprehensive, professional Due Diligence (DD) PDF reports. This workflow automates document parsing via LlamaParse, enriches internal data with real-time web intelligence using Decodo, and utilizes an AI Agent to synthesize structured financial analysis, risk assessments, and investment theses.
| Requirement | Type | Purpose |
|---|---|---|
| n8n instance | Essential | Core automation and workflow orchestration |
| LlamaIndex Cloud | Essential | High-accuracy document parsing (LlamaParse) |
| Pinecone | Essential | Vector database for document and web evidence storage |
| OpenAI API | Essential | LLM for embeddings and expert analysis (Embedding Small & GPT-5.2) |
| Decodo API | Essential | Real-time web searching and markdown scraping |
| R2 Bucket | Essential | Secure storage for the generated PDF reports |
poc).Authorization: Bearer YOUR_KEY).baseUrl to match your S3 bucket's public endpoint or CDN.| Node | Purpose | Key Configuration |
|---|---|---|
| LlamaParse (HTTP) | Document Conversion | Uses the /parsing/upload and /job/result endpoints for high-fidelity markdown |
| Pinecone Vector Store | Context Storage | Implements namespace-based isolation using the unique dealId |
| Decodo Search/Scrape | Web Intelligence | Dynamically identifies the official domain and extracts corporate metadata |
| AI Agent | Strategic Analysis | Configured with a "Senior Investment Analyst" system prompt and 6-step retrieval logic |
| Puppeteer | PDF Generation | Renders the styled HTML report into a print-ready A4 PDF |
The workflow uses a Multi-Query Retrieval strategy. Instead of asking one generic question, the AI Agent is forced to perform six distinct searches against the vector database (Revenue History, Key Risks, etc.). This ensures that even if a document is 100 pages long, the AI doesn't "miss" critical financial tables or risk disclosures buried in the text.
#new-deals Slack channel.| Problem | Cause | Solution |
|---|---|---|
| Parsing Timeout | File is too large for synchronous processing | Increase the "Wait" node duration or check LlamaParse job limits |
| Low Analysis Quality | Insufficient context in documents | Ensure documents are text-based PDFs (not scans) or enable OCR in LlamaParse |
| PDF Layout Broken | CSS incompatibility in Puppeteer | Simplify CSS in the HTML node; avoid complex Flexbox/Grid if Puppeteer version is older |
Challenge: A VC associate receives 20 pitch decks a day and spends hours manually summarizing company profiles.
Solution: This workflow parses the deck and web-scrapes the startup's site to verify claims.
Result: The associate receives a 3-page PDF summary for every deck, allowing them to reject or move forward in seconds.
Challenge: Analyzing a 150-page CIM (Information Memorandum) for specific financial "red flags."
Solution: The AI Agent is programmed to specifically hunt for customer concentration and margin fluctuations.
Result: Consistent risk identification across all deals, regardless of which analyst is assigned to the project.
Created by: Khmuhtadin Category: Business Intelligence | Tags: Decodo, AI, RAG, Due Diligence, LlamaIndex, Pinecone
Need custom workflows? Contact us
Connect with the creator: Portfolio • Store • LinkedIn • Medium • Threads
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 60 workflow blocks. Download the JSON for the full node graph.
| Workflow | Generate AI-powered investment due diligence PDF reports with OpenAI, LlamaParse and Decodo |
|---|---|
| Complexity | advanced |
| Nodes | 60 |
| Categories | Document Extraction, AI RAG |
| Author | Khairul Muhtadin |
| Published | 16 Mar 2026 |
Use the JSON export at /data/workflows/14088/14088.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Transform raw investment memorandums and financial decks into comprehensive, professional Due Diligence (DD) PDF reports. This workflow automates document parsing via LlamaParse, enriches internal ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI RAG use case.