graph TD
A[Start] --> B[All Subagents]
B --> C[Subagent 1: Chatbot Configurator]
B --> D[Subagent 2: Product Data Compiler]
B --> E[Subagent 3: Personality Mapping Builder]
B --> F[Subagent 4: Affiliate Integration Agent]
C --> C1[Receive Chatbot Structure Prompt]
C1 --> C2[Generate Conversation Flow]
C2 --> C3[Create JSON Configuration]
C3 --> C4[Output chatbot-config.json]
D --> D1[Research Keto Merch]
D1 --> D2[Summarize Product Details]
D2 --> D3[Format JSON Product Data]
D3 --> D4[Output keto_merch_data.json]
E --> E1[Receive Personality Categories]
E1 --> E2[Map Categories to Products]
E2 --> E3[Create Mapping JSON]
E3 --> E4[Output personality_mapping.json]
F --> F1[Receive Config and Affiliate Link]
F1 --> F2[Update Config with Link]
F2 --> F3[Output Final Config]
D4 --> E1
C4 --> F1
E4 --> F1
F3 --> G[End]