You are helping me build the following AI agent workflow. ## Goal Weekly Business Metrics Report Generator: Every Monday at 08:00, it aggregates Stripe revenue, Notion pipeline. ## Specification - What it does: Every Monday at 08:00, you receive an emailed HTML report with executive analysis of your Stripe revenue and Notion pipeline metrics. The agent automatically aggregates data from Stripe, Notion, and Google Sheets, normalizes the figures for clarity, posts a summary to Slack, and delivers everything via SendGrid. - Trigger: On a schedule (Scheduled ยท weekly Monday 08:00) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Stripe: Fetch revenue and transaction data - Notion: Retrieve pipeline and deal data - Google Sheets: Read operational metrics like NPS and uptime - Anthropic Chat Model: Generate executive narrative from aggregated data - SendGrid: Deliver styled HTML report via email ## Known pitfalls, handle each one explicitly in your implementation 1. Notion database schemas change frequently so add validation checks to ensure required properties exist before processing. 2. LLM output length may exceed email body constraints so truncate or summarize long responses before HTML generation. ## Reference implementation https://n8n.io/workflows/15791 (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/weekly-business-metrics-report-generator/ via usecasesforagents.com