graph TD A[Start] --> B[Get Channel URLs] B --> C[Analyze Channel Performance] C --> D[Extract Video Metrics] D --> E[Generate Topics List] E --> F[Generate Keywords List] F --> G{For Each Keyword} G --> H[Check Search Volume] G --> I[Check Competition] G --> J[Check Trends] H --> K[Keyword Validation] I --> K J --> K K --> L{Valid Keywords?} L -->|Yes| M[Store in topics_and_keywords.json] L -->|No| G M --> N[Generate Research Summary] N --> O[Select Top 5 Keywords] O --> P[Generate Keyword Data Points] P --> Q[Final Output] Q --> R[topics_and_keywords.json] R --> S[End]