Home
cd ../playbooks
ProductivityIntermediate

Weather-Based Automation

Automate weather-based workflows, forecasts, alerts, and location-aware notifications

10 minutes
By communitySource
#weather#forecast#alerts#location#automation

Your outdoor events, delivery routes, and field operations are weather-dependent but you're still checking forecasts manually every morning. This playbook automates weather-based workflows with forecast monitoring, condition-triggered alerts, and location-aware notifications.

Who it's for: event planners needing automatic weather alerts for outdoor venue bookings, logistics managers routing deliveries around severe weather forecasts, agriculture professionals automating irrigation and harvest decisions based on weather data, construction project managers tracking weather windows for outdoor work scheduling, operations teams building weather-contingent workflows for field service teams

Example

"Set up weather alerts for our outdoor event venues this month" → Weather automation pipeline: location-based forecast monitoring for each venue, severe weather alert triggers (rain probability, wind speed, temperature thresholds), automated notification delivery to event coordinators, backup plan activation workflow when conditions trigger, and weekly forecast summary for planning purposes

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

# Weather Automation

Automate weather-based workflows and notifications.

## Core Capabilities

### Current Weather
```yaml
current_weather:
  location: "San Francisco, CA"
  # or coordinates
  lat: 37.7749
  lon: -122.4194
  
  response:
    temperature: 65°F
    feels_like: 63°F
    humidity: 72%
    wind_speed: 12 mph
    conditions: "Partly Cloudy"
    uv_index: 5
```

### Forecast
```yaml
forecast:
  location: "New York, NY"
  days: 7
  
  daily:
    - date: "2024-01-20"
      high: 45°F
      low: 32°F
      conditions: "Snow"
      precipitation_chance: 80%
      
  hourly:
    interval: 3  # hours
    periods: 24
```

### Weather Alerts
```yaml
alert_rules:
  - name: "Rain Alert"
    condition:
      precipitation_chance: "> 70%"
      within_hours: 6
    action:
      notify: slack
      message: "☔ Rain expected in next 6 hours"
      
  - name: "Freeze Warning"
    condition:
      temperature: "< 32°F"
    action:
      - notify: sms
      - trigger: home_assistant
        action: protect_pipes
```

## Workflow Examples

### Morning Briefing
```yaml
morning_weather:
  trigger: daily at 6:30 AM
  actions:
    - get_forecast:
        location: home
        days: 1
    - send_notification:
        channel: slack_dm
        message: |
          🌤️ Good morning! Today's weather:
          High: {{high}}°F | Low: {{low}}°F
          {{conditions}}
          {{#if rain}}☔ Bring an umbrella!{{/if}}
```

### Event Planning
```yaml
event_weather:
  trigger: calendar_event_tomorrow
  condition:
    event_type: outdoor
  actions:
    - get_forecast:
        location: "{{event.location}}"
        date: "{{event.date}}"
    - if:
        precipitation_chance: "> 50%"
      then:
        - notify: organizer
          message: "Consider backup venue - rain likely"
```

## Best Practices

1. **Caching**: Cache frequent requests
2. **Units**: Support both metric/imperial
3. **Accuracy**: Use reliable data sources
4. **Alerts**: Set sensible thresholds
5. **Location**: Support multiple formats
README.md

What This Does

Automate weather-based workflows and notifications.


Quick Start

Step 1: Create a Project Folder

mkdir -p ~/Documents/WeatherAutomation

Step 2: Download the Template

Click Download above, then:

mv ~/Downloads/CLAUDE.md ~/Documents/WeatherAutomation/

Step 3: Start Working

cd ~/Documents/WeatherAutomation
claude

Best Practices

  1. Caching: Cache frequent requests
  2. Units: Support both metric/imperial
  3. Accuracy: Use reliable data sources
  4. Alerts: Set sensible thresholds
  5. Location: Support multiple formats

$Related Playbooks

Productivity

Voice & Screenshot Workflow

Control Claude Code with voice dictation and automatic screenshot review - almost no typing required.

15 minutes
Intermediate
Productivity

Video Downloader

Download YouTube videos with customizable quality and format settings, including audio extraction to MP3.

5 minutes
Beginner
Productivity

Year-in-Review Generator

Automatically compile your yearly accomplishments from Jira tickets, git history, emails, and documents into a polished summary for performance reviews or personal reflection.

5 minutes
Beginner
Productivity

Travel Planner

Create personalized travel itineraries with day-by-day plans, budget breakdowns, packing lists, and cultural tips based on your preferences.

10 minutes
Beginner
Productivity

Travel Command Center

Centralize your entire trip in one workspace — itinerary, bookings, packing list, and restaurant picks that all reference each other.

5 minutes
Beginner
Productivity

Raffle Winner Picker

Randomly select winners from Google Sheets, CSVs, or lists for giveaways with transparent, verifiable selection.

5 minutes
Beginner
Productivity

Add Integration

Add MCP server integrations.

15 minutes
Intermediate
Productivity

Activity Digest Generator

Generate daily or weekly activity digests across all connected platforms

10 minutes
Beginner
Productivity

Calendar & Scheduling Automation

Google Calendar and Outlook automation - scheduling optimization, meeting workflows, time blocking, and Slack/Sheets integration

10 minutes
Intermediate
Productivity

Calendar Availability Checker

Check Google Calendar availability across all calendars and draft professional scheduling replies with optimal time slot proposals.

10 minutes
Intermediate
Productivity

Airtable Automation

Airtable database automation - views, automations, integrations, and workflow triggers

10 minutes
Advanced
Productivity

AI Life Automation Audit

Conduct a comprehensive life audit across 9 domains — career, side hustles, finances, health, relationships, and more — then get a prioritized automation map with step-by-step implementation guides.

5 minutes
Beginner

Browse all Productivity playbooks →