You are helping me build the following AI agent workflow. ## Goal Real-Time Stock Monitor with Smart Alerts: Monitors Indian and US stocks every two minutes during market hours. ## Specification - What it does: Get instant email and Telegram alerts whenever your Indian or US stocks hit specific price limits, with spam-free updates every two minutes during market hours. This system automatically tracks prices in real-time and logs every trigger directly to your Google Sheets for easy tracking. - Trigger: On a schedule (Scheduled ยท every 2 minutes during market hours) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Google Sheets: Store and update stock watchlist data - HTTP Request: Fetch live prices from Twelve Data API - Code: Parse watchlist and execute smart alert logic - Send Email: Send detailed email notifications - Telegram: Send instant mobile notifications ## Known pitfalls, handle each one explicitly in your implementation 1. Timezone mismatches between Indian and US market hours may cause missed data so explicitly define trading windows in your schedule. 2. Telegram bot tokens must be kept secret so store them as environment variables rather than hardcoding them in the workflow. 3. Google Sheets API quotas can be exceeded by frequent writes so batch updates or reduce write frequency to avoid throttling. ## Reference implementation https://n8n.io/workflows/7701 (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/real-time-stock-monitor-with-smart-alerts/ via usecasesforagents.com