Back to Prompt Library
planning

Design LangGraph State and Nodes for M&A Phases

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: M&A Due Diligence: LangGraph & OpenAI o3 with MCP for Financial Analysis

Format
Text-first
Lines
1
Sections
1
Linked challenge
M&A Due Diligence: LangGraph & OpenAI o3 with MCP for Financial Analysis

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Design the core `State` for your LangGraph application to represent the M&A due diligence process. Define distinct `Nodes` for each major phase (e.g., 'FinancialAnalysis', 'MarketResearch', 'LegalReview', 'RiskAssessment') and specify the `Edges` representing transitions and conditional logic between these phases.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Preserve the role framing, objective, and reporting structure so comparison runs stay coherent.

Tune next

Swap in your own domain constraints, anomaly thresholds, and examples before you branch variants.

Verify after

Check whether the prompt asks for the right evidence, confidence signal, and escalation path.