How manahilkhattak/ai-workflow-of-m-a-documents-classification-in-n8n works
This repository is an n8n workflow for turning a PDF into an M&A and technology-relevance report. A manual execution starts document retrieval and text analysis; the workflow scores text, routes on an LLM’s M&A decision, and—on the M&A path—extracts and classifies companies before producing justified technology scores and a structured report. The README documents these stages and integrations, but no workflow JSON excerpts were provided, so the graph reflects documented relationships rather than inspected node configuration.
Main entry points: AutoMate Multi-Agent LLM Workflow.json M&A router
Components 17
Document ingestion
- Manual trigger
AutoMate Multi-Agent LLM Workflow.json - Download PDF
AutoMate Multi-Agent LLM Workflow.json - Extract PDF text
AutoMate Multi-Agent LLM Workflow.json
M&A decision
- Chunk and score
AutoMate Multi-Agent LLM Workflow.json - M&A detector
- M&A router
AutoMate Multi-Agent LLM Workflow.json - Parse decision JSON
AutoMate Multi-Agent LLM Workflow.json
Company analysis
- Extract companies
AutoMate Multi-Agent LLM Workflow.json - Classify industries
AutoMate Multi-Agent LLM Workflow.json - Score tech relevance
AutoMate Multi-Agent LLM Workflow.json
Reporting
- Parse justifications
AutoMate Multi-Agent LLM Workflow.json - Merge profiles
AutoMate Multi-Agent LLM Workflow.json - Final M&A report
AutoMate Multi-Agent LLM Workflow.json - Non-M&A report
AutoMate Multi-Agent LLM Workflow.json
Other components
- Workflow operator
- Google Drive
- Justification generator
Connections 16
- Workflow operator → Manual trigger: starts
README.md - Manual trigger → Download PDF: triggers
README.md - Google Drive → Download PDF: provides PDF
README.md - Download PDF → Extract PDF text: downloads for extraction
README.md - Extract PDF text → Chunk and score: provides text
README.md - Chunk and score → M&A detector: sends scored chunks
README.md - M&A detector → M&A router: returns decision
README.md - M&A router → Parse decision JSON: routes M&A
README.md - M&A router → Non-M&A report: routes non-M&A
README.md - Parse decision JSON → Extract companies: provides structured decision
README.md - Extract companies → Classify industries: provides companies
README.md - Classify industries → Score tech relevance: provides classifications
README.md - Score tech relevance → Justification generator: provides scores
README.md - Justification generator → Parse justifications: returns justifications
README.md - Parse justifications → Merge profiles: provides justifications
README.md - Merge profiles → Final M&A report: provides profiles
README.md