graph TD
A[Start PerformanceInsightsAgent] --> B[Receive TrafficSummary.csv]
subgraph CSV_Processing
B --> C[Task 1: Parse CSV Data]
C --> D[Extract Daily Metrics]
D --> E[Process Regional Data]
E --> F[Store Parsed Campaign Data]
end
subgraph Analysis
F --> G[Task 2: Performance Analysis]
G --> H[Calculate Conversion Rates]
H --> I[Compare vs 10% Target]
I --> J[Regional Performance Review]
end
subgraph Text_Summary
J --> K[Task 3: Create Summary]
K --> L[Format Key Metrics]
L --> M[Add Insights]
M --> N[Generate PerformanceInsights.txt]
end
subgraph Visualization
J --> O[Task 4: Create Graph]
O --> P[Plot Daily Metrics]
P --> Q[Add Regional Breakdown]
Q --> R[Export PerformanceGraph.jpg]
end
N --> S[Final Output Collection]
R --> S
S --> T[End PerformanceInsightsAgent]