You are helping me build the following AI agent workflow. ## Goal Generate Market Research Reports from Google Maps Reviews: Scrapes Google Maps reviews for a target area, analyzes sentiment and competition via Gemini. ## Specification - What it does: Get actionable market research reports by having this agent scrape Google Maps reviews to analyze sentiment and competition. It then uses AI to identify competitors and market gaps before emailing you the compiled insights. - Trigger: Run manually (Manual ยท on demand or Scheduled) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - SerpAPI: Google Maps data extraction - HTTP Request: Fetching business data from SerpAPI - AI Agent: Orchestrating the analysis workflow - Google Gemini Chat Model: Analyzing reviews and generating insights - Gmail: Delivering final reports to inbox ## Known pitfalls, handle each one explicitly in your implementation 1. SerpAPI free tiers have strict request limits so you must implement error handling to avoid billing overages or service interruption. 2. Large volumes of reviews might exceed the context window limit for Gemini so you should chunk the data or summarize iteratively to prevent token errors. ## Reference implementation https://n8n.io/workflows/6928 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/generate-market-research-reports-from-google-maps-reviews/ via usecasesforagents.com