You are helping me build the following AI agent workflow. ## Goal Insurance News Aggregation & Keyword Analysis: Every six hours, it scrapes insurance news, filters for keyword relevance. ## Specification - What it does: You receive curated insurance news every six hours that matches your specific keywords, saving you from sifting through irrelevant updates. This process automatically extracts clean text, filters out low-relevance items, and stores the high-quality articles in your marketing library and AI knowledge base for immediate use. - Trigger: On a schedule (Scheduled ยท every 6 hours) - Autonomy: Fully hands-off - Expected setup effort: under an hour - Tools/services involved: - HTTP Request: Scraping RSS feeds and web pages - Code: Parsing HTML with Cheerio and filtering content - Supabase: Storing articles in dual database storage ## Known pitfalls, handle each one explicitly in your implementation 1. RSS feeds often return inconsistent HTML structures so you must add robust error handling and fallback parsers for malformed pages. 2. Supabase row-level security policies can block writes if not explicitly configured for your service role key, so verify permissions early. 3. Keyword matching may flag outdated press releases as relevant, so add a freshness check based on publication dates to filter stale content. ## Reference implementation https://n8n.io/workflows/9507 (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/insurance-news-aggregation-keyword-analysis/ via usecasesforagents.com