graph TD
A[Start Flow] --> B[Input: Product URL]
B --> C[DataExtractor]
C --> D[BrandGuard]
D --> E[DesignGenerator]
E --> F[ListingCreator]
F --> G[Final Output]
subgraph DataExtractor
C1[Fetch URL Content] --> C2[Parse HTML]
C2 --> C3[Extract Title]
C2 --> C4[Extract Bullets]
C2 --> C5[Extract Description]
C2 --> C6[Extract Image URL]
C3 & C4 & C5 & C6 --> C7[Format JSON Data]
end
subgraph BrandGuard
D1[Analyze Keywords] --> D2[Search Trademarks]
D1 --> D3[Image Analysis]
D2 & D3 --> D4[Generate Risk Report]
end
subgraph DesignGenerator
E1[Process Safe Keywords] --> E2[Create Design Prompt]
E2 --> E3[Generate Image]
E3 --> E4[Verify Design]
end
subgraph ListingCreator
F1[Process Safe Content] --> F2[Generate New Title]
F1 --> F3[Generate New Bullets]
F1 --> F4[Generate New Description]
F2 & F3 & F4 --> F5[Compliance Check]
end