Skip to main content

Wake up on time using Google Maps traffic, Twilio SMS, and iOS Shortcuts

Workflow preview

Workflow preview
100%
Wake up on time using Google Maps traffic, Twilio SMS, and iOS Shortcuts preview
Open on n8n.io

1. Workflow Overview

Overview This workflow automates your morning wake up call by calculating the perfect time to leave based on real time traffic. Instead of a static alarm, n8n continuously monitors road conditio...

Best for

  • Personal Productivity automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.httprequest, n8n-nodes-base.merge, n8n-nodes-base.twilio, n8n-nodes-base.set, n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yorgo Haber.

Original n8n.io source

1.1 Workflow description

Title
Wake up on time using Google Maps traffic, Twilio SMS, and iOS Shortcuts
Workflow name
Wake up on time using Google Maps traffic, Twilio SMS, and iOS Shortcuts

πŸ“– Overview

This workflow automates your morning wake-up call by calculating the perfect time to leave based on real-time traffic. Instead of a static alarm, n8n continuously monitors road conditions via the Google Maps Distance Matrix API. When the "strike time" is reached, accounting for both live traffic and your morning preparation; the workflow triggers a physical alarm on your iPhone via a Twilio SMS and iOS Shortcuts.

πŸ› οΈ System components

1. The Brain (n8n)

Check interval: Monitors traffic every minute during your "ready window."

Logic: Uses a mathematical expression to determine if you need to wake up now to make your arrival goal.

**Formula:

T_{wake} = T_{arrival} - (T_{traffic} + T_{prep})

2. The Log (Google Sheets): Maintains a diagnostic history when an sms is sent to your phone for each day.

3. The Trigger (iPhone): Utilizes an iOS Shortcut Automation that listens for a specific SMS phrase ("Wake up!") to trigger a physical alarm.

βš™οΈ Setup instructions

Step 1: Google Cloud Platform

Enable the Distance Matrix API in your Google Cloud Console.

Generate an API Key and restrict it to your IP if possible.

Step 2: Twilio configuration

Gather your Account SID and Auth Token.

Ensure your personal mobile number is verified in the Twilio console to receive messages.

Step 3: iOS Shortcut automation

  • Open the Shortcuts App β†’ Automation β†’ New Automation.

  • Select Message β†’ Message Contains: Wake up! β†’

  • Action: Add "Start Timer" or "Create Alarm."

Important: Disable "Ask Before Running" and "Notify When Run."

πŸ’‘ Node breakdown & logic

Arrival Schedule (Cron): Defines the window when the workflow should be active (e.g., 7:00 AM – 8:00 AM).

Traffic Monitor (Google Maps): Fetches the duration_in_traffic value.

Wake-up Evaluator (Filter): Compares if Current Time + Traffic + 20 mins >= Arrival Time.

SMS Dispatcher (Twilio): Sends the trigger phrase to your device.

Activity Logger (Google Sheets): Records the 1st execution of the day and then, with the use of the google sheet and the IF loop, the workflow will stop sending sms after the first send.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Check if date is today

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 2 - Get date & status of alarm

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 3 - Update alarm date & status

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 4 - Get Latitude/Longitude of Origin Address

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 5 - Get Latitude/Longitude of End Address

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 6 - Merge all trajectories

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 7 - Total duration < 9:00 AM?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 8 - Get real duration between the two addresses

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 9 - Check date & status of alarm

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 10 - Check if status is equal to 'ini'

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 11 - Update alarm status

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 12 - Send an SMS/MMS/WhatsApp message

Type / Role
n8n-nodes-base.twilio - twilio
Config choices
Version 1

Block 13 - Define Origin and Destination addresses

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - Get today's date

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 15 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Triggers at 7 AM till 8 AM every minute on weekdays

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 18 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Wake up on time using Google Maps traffic, Twilio SMS, and iOS Shortcuts
Complexity advanced
Nodes 18
Categories Personal Productivity
Author Yorgo Haber
Published 13 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13386/13386.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Wake up on time using Google Maps traffic, Twilio SMS, and iOS Shortcuts do?

Overview This workflow automates your morning wake up call by calculating the perfect time to leave based on real time traffic. Instead of a static alarm, n8n continuously monitors road conditio...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity use case.