You are helping me build the following AI agent workflow. ## Goal Shopify Abandoned Cart Recovery: Periodically checks Shopify for abandoned carts, verifies phone numbers via Rapiwa. ## Specification - What it does: Recover lost sales by automatically sending personalized WhatsApp discount codes to customers who abandoned their Shopify carts. The system verifies phone numbers via Rapiwa before messaging and logs all results in Google Sheets for easy tracking. - Trigger: On a schedule (Scheduled ยท daily check for abandoned carts) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Shopify Admin API: Retrieve checkout and customer data - Rapiwa API: Verify WhatsApp numbers and send messages - Google Sheets: Track outreach attempts and contact status - HTTP Request: Execute API calls to external services - Code: Format customer data and personalize messages ## Known pitfalls, handle each one explicitly in your implementation 1. Rapiwa may return errors for invalid formats, add input validation before calling the verification endpoint. 2. Google Sheets has row insertion limits per minute, batch your logs to avoid throttling errors. 3. WhatsApp message templates require pre-approval, ensure you use approved template IDs or risk rejection. ## Reference implementation https://n8n.io/workflows/11129 (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/automated-shopify-abandoned-cart-recovery/ via usecasesforagents.com