graph TD
A[Input: Product URL] --> B[DataExtractionBot]
subgraph DataExtractionBot
B --> C[Parse URL Type]
C --> D{Is Amazon?}
D -->|Yes| E[Use Amazon API]
D -->|No| F[Use Web Scraping]
E --> G[Extract Raw Data]
F --> G
G --> H[Extract Title]
G --> I[Extract Bullets]
G --> J[Extract Description]
G --> K[Extract Image URL]
H & I & J & K --> L[Consolidate Data]
L --> M[Format to JSON]
end
M --> N[Output: JSON Object]
style B fill:#f9f,stroke:#333,stroke-width:2px
style N fill:#bfb,stroke:#333,stroke-width:2px