Skip to main content

Create weather-aware morning alarms with Spotify, Gemini AI and OpenMeteo

Workflow preview

Workflow preview
100%
Create weather-aware morning alarms with Spotify, Gemini AI and OpenMeteo 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: More than an alarm. A smart morning experience that adapts to the weather. ️ ️ This workflow demonstrates how to upgrade a simple automation into a smart, context aware system. By i...

Best for

  • Personal Productivity automation workflows
  • Multimodal AI 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.spotify, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.googlegemini

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
Create weather-aware morning alarms with Spotify, Gemini AI and OpenMeteo
Workflow name
Create weather-aware morning alarms with Spotify, Gemini AI and OpenMeteo

Description: More than an alarm. A smart morning experience that adapts to the weather. 🎸☔️☀️

This workflow demonstrates how to upgrade a simple automation into a smart, context-aware system. By integrating OpenMeteo (Weather API), Google Gemini (AI), and Spotify, it creates a personalized DJ experience for your morning.

Why is this "Advanced"?

Context Awareness: It doesn't just play music; it checks the weather (via OpenMeteo API) to understand the user's environment.

AI Persona: Gemini acts as a live DJ, generating commentary that connects the specific Led Zeppelin track to the current weather conditions (e.g., "It's rainy, perfect for 'The Rain Song'").

Data Logging: It logs every wake-up session (Song, Time, Weather) to Google Sheets, creating a personal music history database.

Robust Error Handling: Includes logic to detect offline speakers and send fallback alerts.

How it works:

Check Context: Fetches real-time weather data for your location and checks your Spotify speaker status.

Select Music: Picks a random track from Led Zeppelin's top hits.

Generate: Gemini generates a unique "Good Morning" script combining the song title and the weather.

Action: Plays the music, logs the data to Google Sheets, and emails you the AI's greeting with album art.

Setup Requirements:

Spotify Premium

Google Gemini API Key

Google Sheets: Create a sheet named History with headers: date, time, weather, temperature, song, artist.

Gmail

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 Setup

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

Block 2 - Sticky Note Music

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

Block 3 - Sticky Note AI

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

Block 4 - Sticky Note Main

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

Block 5 - Schedule Trigger (7AM)

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

Block 6 - Workflow Configuration

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

Block 7 - Get Spotify Devices

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

Block 8 - Get Weather (OpenMeteo)

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

Block 9 - Find Target Device

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

Block 10 - Device Found?

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

Block 11 - Get Artist Tracks

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

Block 12 - Pick Random Track

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

Block 13 - Start Playback

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

Block 14 - Message a model

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

Block 15 - Log to Google Sheets

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

Block 16 - Send DJ Email

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

Block 17 - Send Error Email

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

3. Summary Table

Workflow Create weather-aware morning alarms with Spotify, Gemini AI and OpenMeteo
Complexity advanced
Nodes 17
Categories Personal Productivity, Multimodal AI
Author NODA shuichi
Published 23 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11153/11153.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 Create weather-aware morning alarms with Spotify, Gemini AI and OpenMeteo do?

Description: More than an alarm. A smart morning experience that adapts to the weather. ️ ️ This workflow demonstrates how to upgrade a simple automation into a smart, context aware system. By i...

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