Skip to main content

Adjust morning alarms based on weather and train delays using Google Gemini

Workflow preview

Workflow preview
100%
Adjust morning alarms based on weather and train delays using Google Gemini preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Description: An intelligent alarm system that wakes you up early only when necessary. ️ This workflow monitors your local weather and train status every morning at 5:00 AM. It uses Google Gemin...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.rssfeedread, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.code, n8n-nodes-base.if

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Adjust morning alarms based on weather and train delays using Google Gemini
Workflow name
Adjust morning alarms based on weather and train delays using Google Gemini

Description: An intelligent alarm system that wakes you up early only when necessary. 🛡️🤖

This workflow monitors your local weather and train status every morning at 5:00 AM. It uses Google Gemini to analyze the situation. If there is heavy rain or a train delay, it sends an emergency alert immediately (and can trigger smart home devices). If everything is normal, it waits until your usual wake-up time to send a calm briefing.

Key Features:

AI Context Awareness: Uses Gemini to intelligently judge "Emergency" situations based on weather descriptions and news headlines.

Dynamic Notification:

Emergency Mode: Immediate Email alert + Optional SwitchBot trigger (e.g., turn on lights).

Normal Mode: Delays notification until your scheduled wake-up time (90 mins later).

Targeted Monitoring: Searches specific train lines via Google News RSS.

How it works:

Trigger: Runs daily at 5:00 AM.

Fetch: Gets weather from OpenWeatherMap and train news from Google News RSS.

Judge: Gemini analyzes the data.

Action: Routes the notification based on the status (Emergency/Normal).

Setup Requirements:

Credentials: OpenWeatherMap API, Google Gemini API, Gmail.

Config: Open the "1. Configuration" node to set your Location, Train Line, and Email.

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 - Sticky Note Main

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

Block 2 - Sticky Note Config

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

Block 3 - Sticky Note Data

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

Block 4 - Sticky Note AI

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

Block 5 - Sticky Note Routing

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

Block 6 - Wake Up Check (5:00 AM)

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

Block 7 - Configuration

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

Block 8 - Get Weather

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

Block 9 - Get Train News (RSS)

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 10 - Gemini: Judge & Draft

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 11 - Parse JSON

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Is Emergency?

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

Block 13 - SwitchBot (Optional)

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

Block 14 - Send Email (Urgent)

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 15 - Wait 90 mins

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 16 - Send Email (Normal)

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

3. Summary Table

Workflow Adjust morning alarms based on weather and train delays using Google Gemini
Complexity advanced
Nodes 16
Categories Personal Productivity, AI Chatbot
Author NODA shuichi
Published 06 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12514/12514.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 Adjust morning alarms based on weather and train delays using Google Gemini do?

Description: An intelligent alarm system that wakes you up early only when necessary. ️ This workflow monitors your local weather and train status every morning at 5:00 AM. It uses Google Gemin...

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, AI Chatbot use case.