You are helping me build the following AI agent workflow. ## Goal Wake Up Based on Traffic: Monitors live traffic during your morning window and sends an SMS to trigger your iPhone alarm only when you need to leave. ## Specification - What it does: You wake up exactly when your commute requires it, because the agent monitors live traffic during your morning window and sends an SMS to trigger your iPhone alarm only at that moment. It logs each action in Google Sheets to ensure you receive just one alert per day without unnecessary disturbances. - Trigger: On a schedule (Scheduled ยท daily during ready window) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - n8n: Workflow orchestration and logic evaluation - Google Maps Distance Matrix API: Fetching real-time traffic duration data - Twilio: Sending wake up SMS trigger to iPhone - Google Sheets: Logging execution history and preventing duplicate alerts ## Known pitfalls, handle each one explicitly in your implementation 1. Google Maps API calls can exceed daily quotas quickly, so add a check to ensure the budget allows for frequent polling during the morning window. 2. Twilio SMS delivery is not instantaneous, so set your departure calculation to include an extra five-minute buffer for message latency. 3. Timezone mismatches between n8n server time and local user time can cause early or late alarms, so explicitly set the timezone context in all date nodes. ## Reference implementation https://n8n.io/workflows/13386 (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/smart-wake-up-based-on-traffic/ via usecasesforagents.com