Run Workflows on a Schedule
Every workflow you've built so far starts the same way: you click "Execute." That's fine for testing. But it's not automation. Real automation runs without you.
The Schedule Trigger replaces Manual Trigger and makes your workflow run by itself, on a timer. Every 5 minutes. Every morning at 9am. Every Friday afternoon. You set the interval, activate the workflow, and walk away.
One of my favorite scheduled workflows checks wind conditions for wing foiling. Every morning at 9am, it fetches the weather forecast, checks if the wind is strong enough and blowing from the right direction, and pings me on Discord if conditions look good. Before that, I was manually checking three different weather apps every morning. Now I just wait for the notification.
In this lesson, you'll build a simplified version of the same thing: a daily surf check that fetches current weather conditions and decides if they're worth heading to the beach.
What you'll practice:
- Replacing a Manual Trigger with a Schedule Trigger
- Configuring time intervals (daily at a specific time)
- Using an IF node to act on API data
- Understanding when to use Schedule Trigger vs polling triggers
Your Task
- 1Copy the exercise below
- 2Paste into your n8n editor (Ctrl+V)
- 3Solve it — use hints if you get stuck
- 4Check the solution when done
Build a daily surf check. Your workflow should fetch the current weather every morning and decide if it's a good day for the beach.
- Add a Schedule Trigger node configured to run every day at 9:00 AM
- Add an HTTP Request node that fetches current weather from the Open-Meteo API (free, no API key required):
https://api.open-meteo.com/v1/forecast?latitude=33.66&longitude=-118.00¤t=temperature_2m,wind_speed_10m&wind_speed_unit=kmh&timezone=auto - Add an IF node that checks two conditions (both must be true):
- Wind speed is at least 15 km/h:
{{ $json.current.wind_speed_10m }}>= 15 - Temperature is at least 15 C:
{{ $json.current.temperature_2m }}>= 15
- Wind speed is at least 15 km/h:
- Execute the workflow to verify it returns weather data and routes correctly
The example uses Huntington Beach, CA. Replace the latitude and longitude with your favorite surf spot's coordinates.
Important: The Schedule Trigger only runs automatically when the workflow is active (toggled on in the top-right corner). During development, you test by clicking "Execute Workflow" as usual.
Get the exercise workflow
Create a free account to copy exercises into your n8n editor.