Automate Real-Time Weather Updates Using n8n Webhook & OpenWeatherMap

Struggling to provide instant weather updates via your web app? This n8n workflow uses Webhook and OpenWeatherMap nodes to deliver customized real-time weather info based on user input, saving time and manual fetching.
webhook
set
openWeatherMap
Workflow Identifier: 1639
NODES in Use: Webhook, Set, OpenWeatherMap
Automate weather updates with n8n and OpenWeatherMap

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow listens for a web request with a city name, gets weather details for that city from OpenWeatherMap, and sends back an easy-to-read weather message instantly.

It solves the problem of manually writing code to ask for weather and format answers.

The result is a fast response telling users the current temperature and how it feels, based on their city input.


Tools and Services Used


Inputs, Processing, and Outputs

Inputs

Processing Steps

Output

  • The webhook response sends back a message like “It has 12°C and feels like 10°C in Berlin” in real time.

Beginner Step-by-Step: How To Use This Workflow in n8n

Step 1: Import the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Inside your n8n editor, click “Import from File” and upload the downloaded workflow.

Step 2: Configure Credentials

  1. Open the OpenWeatherMap node and add your valid OpenWeatherMap API Key in the credentials section.
  2. Make any needed updates in IDs, emails, channels, or fields if present.

Step 3: Test and Activate

  1. Run the workflow once using the Execute button to check it works.
  2. Visit the webhook URL in browser or API client with a city parameter to verify response.
  3. Activate the workflow for production by toggling the activation switch.

After activation, the workflow will run automatically on each web request.

If running a self-hosted instance, make sure your server is accessible on the internet. For help, see self-host n8n.


Customization Ideas

  • Change default city in the first Set node by changing ‘berlin,de’ to any other city.
  • Change language in OpenWeatherMap node by editing the language code (e.g., ‘de’ for German).
  • Add more details like humidity or weather conditions in final Set node.

Common Problems and Fixes

  • Webhook does not trigger: Check webhook path and make sure HTTP method is GET.
  • OpenWeatherMap API errors: Confirm API Key is correct and city names are well formed.
  • Empty or wrong response text: Make sure JSON fields in final Set node match OpenWeatherMap’s data output.

Pre-Production Checklist

  • Check API key is active and quota is available.
  • Test webhook URL with different city parameters.
  • Ensure workflow is activated before testing live calls.
  • Verify field extraction in all Set nodes.
  • Check final text for correct format and meaning.

Deployment Guide

Activate the workflow in n8n and share the webhook URL to users or embed in applications.

Monitor executions using n8n’s built-in logs for troubleshooting.

If running a private server, verify internet access. Use resources like self-host n8n if needed.


Summary

→ Automation listens to city requests and fetches weather data fast.

✓ Saves time by removing manual coding and API handling.

✓ Provides clear temperature and feels-like info to users.

Easy to import and set up inside n8n.

✓ Ready for production with simple activation and testing.


Automate weather updates with n8n and OpenWeatherMap

Visit through Desktop to Interact with the Workflow.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.