OpenWeatherMap Weather Alert SMS
detail.loadingPreview
Get current weather information from OpenWeatherMap and send an SMS alert with details.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow triggers via a webhook, extracts specific data from the incoming request, fetches current weather information for a specified city using OpenWeatherMap, and then sends a customized SMS message with the weather details via Twilio. It also includes an error handler.
Key Features
- Webhook trigger for external data input.
- Data mapping and transformation using a Set node.
- Integration with OpenWeatherMap API for real-time weather data.
- SMS notification capability via Twilio.
- Robust error handling with a Stop and Error node.
How To Use
- Import the workflow into your n8n instance.
- Configure Credentials:
- Webhook Workflow Credentials: Set up your HTTP header authentication for the webhook.
- Airtable Credentials n8n: (Optional, but present in the snippet) If you intend to use the Airtable node, configure your Airtable API credentials.
- open-weather-map: Provide your API key for OpenWeatherMap.
- twilio: Enter your Twilio Account SID and Auth Token.
- Configure Nodes:
- Webhook Node: Note the provided webhook URL. This is what external services will call.
- Set Node: Ensure the
Name,Number, andCityfields correctly map to the expected structure of your incoming webhook payload. - OpenWeatherMap Node: The
cityNameparameter should be correctly mapped from the webhook'scityfield. - Twilio Node: The
toparameter should be mapped to the desired phone number, and themessageparameter is pre-configured to include weather details. Customize as needed.
- Activate the workflow and send a POST request to the webhook URL with a JSON body containing
name,number, andcity.
Apps Used
Workflow JSON
{
"id": "94a70e0e-456c-4545-a7c3-5603ba4e9139",
"name": "OpenWeatherMap Weather Alert SMS",
"nodes": 0,
"category": "OpenWeatherMap",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 94a70e0e-456c...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
OpenWeatherMap SMS Notification
Send current temperature via SMS using Plivo.
Get Current Weather via OpenWeatherMap
Retrieves current weather conditions for a specified city using the OpenWeatherMap API.
Get City Weather Information with OpenWeatherMap
Retrieve current weather details for any city using OpenWeatherMap.
Send Daily Weather Updates with Gotify
Automatically sends daily weather updates to your Gotify server.
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.
Convert Any Webpage to PDF and Save Locally
This n8n workflow provides a simple way to convert any public webpage URL into a PDF document. Once converted, the PDF file is automatically saved to your local disk, making it easy to archive or share web content offline.