You are helping me build the following AI agent workflow. ## Goal Monitor Blood Bank Stock & Send Alerts: Daily check of blood bank inventory against thresholds, sending instant WhatsApp alerts for any type falling below minimum stock levels. ## Specification - What it does: You get instant WhatsApp alerts whenever your blood bank inventory drops below safe levels. The system checks your Google Sheets daily and notifies you immediately via WhatsApp when a specific blood type needs restocking. - Trigger: On a schedule (Scheduled ยท daily) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Google Sheets: Store and read blood stock data - WhatsApp Business Cloud: Send low stock alerts - Code: Check stock thresholds and logic ## Known pitfalls, handle each one explicitly in your implementation 1. WhatsApp Business Cloud requires a valid phone number ID which must be configured in your Meta developer account before sending messages so the API accepts the request. 2. Google Sheets API quotas can be exceeded if the sheet is accessed too frequently, add caching logic or reduce trigger frequency to stay within limits. 3. Hardcoded thresholds in the code make updates difficult, store minimum stock values in a separate configuration object or environment variables for easy maintenance. 4. WhatsApp message templates require pre-approval from Meta if they contain promotional content, use transactional text formats to avoid approval delays. ## Reference implementation https://n8n.io/workflows/7253 (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/monitor-blood-bank-stock-send-alerts/ via usecasesforagents.com