graph TD
A["📋 Laboratory Strategy Brief<br/><i>Input Document</i>"] --> B["🏭 Tulip App: Strategy Processor<br/>• Parse brief content<br/>• Extract parameters<br/>• Store in Tulip Tables"]
B --> C["🤖 MCP Server<br/>AI Task Orchestrator"]
C --> D["🔵 Claude AI Agent<br/>Lab Industry Research &<br/>Competitor Analysis"]
D --> E["💾 Tulip Tables<br/>Research Data Storage"]
E --> F["🟣 ChatGPT Agent<br/>Keyword Research &<br/>Search Intent Analysis"]
F --> G["💾 Tulip Tables<br/>Keyword Data Storage"]
G --> H["🔍 Perplexity Agent<br/>Real-time Trends &<br/>Regulations Analysis"]
H --> I["📊 Tulip Analytics<br/>Validation Dashboard"]
I --> J{"✅ Automated Quality Check<br/>Research > 85%?<br/>Keywords > 80%?<br/>Trends > 75%?"}
J -->|❌ Fails Validation| K["👨🔬 Tulip Human Interface<br/>Expert Review Dashboard<br/>• Research gaps identified<br/>• One-click feedback"]
J -->|✅ Passes Validation| L["✍️ Jasper AI Agent<br/>Content Outline Generation"]
K --> M["🔄 MCP Feedback Loop<br/>Refine AI Parameters"]
M --> F
L --> N["💾 Tulip Tables<br/>Outline Storage"]
N --> O["📝 Claude AI Agent<br/>Technical Draft Creation"]
O --> P["🏭 Tulip App: Human Review<br/>• Brand voice integration<br/>• Domain expertise check<br/>• Inline editing interface"]
P --> Q["📈 Surfer SEO Agent<br/>Keyword Optimization &<br/>SERP Analysis"]
Q --> R["✏️ Grammarly API<br/>via Tulip Connector<br/>Quality Assurance"]
R --> S["📊 Tulip Analytics<br/>Quality Metrics Dashboard"]
S --> T{"🎯 Quality Approval<br/>Technical Accuracy > 90%?<br/>SEO Score > 85%?<br/>Brand Voice > 80%?"}
T -->|❌ Needs Refinement| U["🔧 Copy.ai Agent<br/>Content Refinements"]
T -->|✅ Approved| V["🚀 HubSpot Integration<br/>via Tulip Connector<br/>Multi-channel Distribution"]
U --> P
V --> W["📊 Analytics Pipeline<br/>Google Analytics 4<br/>+ SEMrush Integration"]
W --> X["📈 Tulip Analytics<br/>Performance Dashboard"]
X --> Y{"🎯 Goals Achieved?<br/>Traffic > Target?<br/>Engagement > Benchmark?<br/>Conversions > Goal?"}
Y -->|⚡ Optimize| Z["🤝 MCP AI Ensemble<br/>Improvement Analysis<br/>• Performance gaps<br/>• Optimization recommendations"]
Y -->|🎉 Success| AA["📈 Scaling Protocol<br/>Tulip Workflow Replication<br/>• Template creation<br/>• Process standardization"]
Z --> Q
AA --> A
subgraph "🏭 Tulip Infrastructure"
B
E
G
I
N
P
S
V
X
end
subgraph "🤖 MCP Coordination Layer"
C
D
F
H
L
O
Q
R
U
Z
end
subgraph "👥 Human Oversight Points"
K
P
end
classDef tulipNode fill:#e3f2fd,stroke:#1976d2,stroke-width:3px,color:#000
classDef mcpNode fill:#f3e5f5,stroke:#7b1fa2,stroke-width:2px,color:#000
classDef humanNode fill:#e8f5e8,stroke:#388e3c,stroke-width:2px,color:#000
classDef decisionNode fill:#fff3e0,stroke:#f57c00,stroke-width:3px,color:#000
classDef dataNode fill:#fce4ec,stroke:#c2185b,stroke-width:2px,color:#000
classDef successNode fill:#e0f2f1,stroke:#00796b,stroke-width:3px,color:#000
class B,I,N,P,S,V,X tulipNode
class C,D,F,H,L,O,Q,R,U,Z mcpNode
class K,P humanNode
class J,T,Y decisionNode
class E,G dataNode
class AA successNode