You are helping me build the following AI agent workflow. ## Goal Shopify Abandoned Cart Alerts: Every six hours, fetches abandoned carts from Razorpay and sends a formatted alert to your Telegram bot. ## Specification - What it does: Catch abandoned carts automatically every six hours as the agent fetches data from Razorpay and sends you clean alerts via your Telegram bot. You receive formatted messages with customer details and order values so you can track lost sales without manual checks. - Trigger: On a schedule (Scheduled ยท every 6 hours) - Autonomy: Fully hands-off - Expected setup effort: under an hour - Tools/services involved: - Razorpay API: Fetch abandoned cart data - Code: Format customer and cart details into readable text - Telegram: Send automated alerts to bot ## Known pitfalls, handle each one explicitly in your implementation 1. Telegram messages have a character limit of 4096, so truncate long product lists in the alert message to avoid API rejection errors. 2. Store owner privacy laws require explicit consent for marketing, so add a check to ensure the customer has opted into notifications before sending alerts. ## Reference implementation https://n8n.io/workflows/8092 (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-alerts/ via usecasesforagents.com