graph TD
A[Accept niche/topic description input] --> B{Perform web search for relevant websites and pages}
B --> C{Perform web search for relevant websites and pages}
C --> D{Perform web search for relevant websites and pages}
B --> E[Scrape content from top relevant web page 1]
C --> F[Scrape content from top relevant web page 2]
D --> G[Scrape content from top relevant web page 3]
E --> H[Analyze scraped text 1 for keywords, phrases, and concepts]
F --> I[Analyze scraped text 2 for keywords, phrases, and concepts]
G --> J[Analyze scraped text 3 for keywords, phrases, and concepts]
H --> K[Assign relevance scores to keywords, phrases, and concepts]
I --> K
J --> K
A --> L[Perform image search for top-selling birthday card designs]
L --> M[Analyze top image result 1 for relevant keywords and phrases]
L --> N[Analyze top image result 2 for relevant keywords and phrases]
L --> O[Analyze top image result 3 for relevant keywords and phrases]
L --> P[Analyze top image result 4 for relevant keywords and phrases]
L --> Q[Analyze top image result 5 for relevant keywords and phrases]
M --> R[Combine and deduplicate keywords, phrases, and concepts]
N --> R
O --> R
P --> R
Q --> R
K --> R
R --> S[Sort keywords, phrases, and concepts by relevance score]
S --> T[Generate JSON file with niche description and analysis results]