graph TD
A[Start AdCampaignSetupAgent] --> B{Need Budget Recommendation?}
B -->|Yes| C[Use Skill #223: LLM Prompt]
B -->|No| D[Use Existing Budget]
C --> E[Generate Budget Recommendation]
E --> F[Validate Budget]
D --> F
F --> G[Collect Campaign Parameters]
G --> H[Process Demographics]
G --> I[Process Schedule]
G --> J[Process Interests]
G --> K[Process Locations]
H --> L[Use Skill #190: Generate JSON]
I --> L
J --> L
K --> L
L --> M[Create campaign_config.json]
M --> N[Validate JSON Structure]
N --> O{JSON Valid?}
O -->|Yes| P[End: Return Config File]
O -->|No| L