graph TD A[Accept niche/topic description] -->|niche_topic_description| B[Generate search keywords] B -->|search_keywords| C{Search Google for each keyword} C -->|search_results| D[Save search results to server] D -->|saved_search_results| E[Analyze search results with GPT-4] E -->|key_phrases_concepts_themes| F[Combine identified key items] F -->|combined_key_items| G[Refine key items list] G -->|refined_key_items| H[Format key items as JSON] H -->|json_key_items| I[Output JSON string]