Templates / Generate M&A due diligence PDF reports with LlamaIndex, OpenAI, Pinecone, and S3

Generate M&A due diligence PDF reports with LlamaIndex, OpenAI, Pinecone, and S3

Unknown

by Khairul Muhtadin ✓ · 86 views · created 2026-02-13 · Document Extraction, AI RAG

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 31 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Pinecone Vector Store, Embeddings OpenAI, OpenAI Chat Model and S3 and 1 more. It also calls api.cloud.llamaindex.ai over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Split Uploaded Files + Build Deal ID (Code): runs custom JavaScript code
  2. Get Pinecone Index Stats (HTTP Request): calls an HTTP API (POST)
  3. Check Deal Namespace Cache (Code): runs custom JavaScript code
  4. Cache Hit? (If): checks a condition and branches into true / false
  5. Prepare Analysis Context (Code): runs custom JavaScript code
  6. Iterate Files for Parsing (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Run Due Diligence AI Analysis (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Retrieve Context from Pinecone); output parser: Parse Structured Analysis JSON
  8. Collect Ingested Deal IDs (Aggregate): combines items into one
  9. Upload File to LlamaParse (HTTP Request): calls api.cloud.llamaindex.ai (POST)
  10. Map Analysis to Report Fields (Code): runs custom JavaScript code

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

Services it uses

Pinecone Vector StoreEmbeddings OpenAIOpenAI Chat ModelS3Puppeteer (community)

HTTP calls to: api.cloud.llamaindex.ai

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-puppeteer is verified or supports 3.0 (used in Render PDF from HTML).

Nodes used (19)

From the author

Due diligence at machine speed. This n8n workflow reads financial documents with LlamaIndex, embeds them into Pinecone, and produces comprehensive AI-driven reports with GPT-5-mini. Manual review that took days now takes minutes, with consistent, data-backed…

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