🌦️

Weather-Based Journey Builder Activity

A custom Salesforce Marketing Cloud Journey Builder activity that routes contacts based on real-time weather conditions at their location.

🎯 Dynamic Field Selection

Select any field from your Journey entry data as the location source - coordinates, ZIP codes, city names, or full addresses.

🌍 Smart Geocoding

Automatically converts location data to coordinates using OpenWeatherMap's geocoding API for accurate weather lookups.

⚡ Real-time Weather

Fetches current weather conditions and routes contacts down different journey paths based on configurable weather criteria.

📊 Rich Data Output

Returns weather condition, temperature, humidity, and description as journey variables for use in subsequent activities.

🚀 Installation Guide

  1. Deploy this application to a hosting platform with HTTPS support (Vercel, Heroku, etc.)
  2. Set environment variables:
    WEATHER_API_KEY=your_openweather_api_key
    JWT_SIGNING_SECRET=your_jwt_secret
  3. Update config.json with your deployed application URLs
  4. Create an Installed Package in Salesforce Marketing Cloud App Center
  5. Register the custom activity using the config.json endpoint
  6. Configure your Journey with location data fields and weather conditions

📋 System Status

⏳ Checking system configuration...