Skip to main content

Automate weather reports with GPT-4 Mini and Open-Meteo API to Gmail and Slack

Workflow preview

Workflow preview
100%
Automate weather reports with GPT-4 Mini and Open-Meteo API to Gmail and Slack preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow provides a comprehensive weather reporting system with two main functionalities: a scheduled daily summary and an interactive AI agent for dynamic queries. Who's it for? This template...

Best for

  • Personal Productivity automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.gmail, n8n-nodes-base.slack, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.chattrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by ueharayuuki.

Original n8n.io source

1.1 Workflow description

Title
Automate weather reports with GPT-4 Mini and Open-Meteo API to Gmail and Slack
Workflow name
Automate weather reports with GPT-4 Mini and Open-Meteo API to Gmail and Slack

This workflow provides a comprehensive weather reporting system with two main functionalities: a scheduled daily summary and an interactive AI agent for dynamic queries.

Who's it for?

This template is ideal for anyone who wants to stay updated on the weather, from individuals planning their day to teams needing automated daily briefings. It's also a great example for developers and n8n users who want to explore the capabilities of AI Agents and integrating external APIs in their workflows.

What it does / How it works

This workflow operates in two distinct modes:

  1. Scheduled Daily Summary:

    • The workflow triggers automatically every day at 9:00 AM (customizable) or can be run manually.
    • It fetches the latest weather data for a specified location (default is near Chiba, Japan) from the Open-Meteo API.
    • It then formats a message with the day's maximum and minimum temperatures.
    • Finally, it sends this summary to a designated Gmail address and a Slack channel.
  2. AI-Powered Forecasts via Chat:

    • When you send a message to the Chat Trigger webhook, it activates the AI Agent.
    • The AI Agent, powered by an OpenAI model, understands natural language questions like "What's the humidity right now?" or "Will it be warmer tomorrow?".
    • The agent uses an HTTP Request tool to fetch real-time, specific data from the weather API to answer your question.
    • The generated answer is then sent back to you via both Gmail and Slack.

How to set up

  1. Configure Credentials: Add your credentials for OpenAI, Gmail, and Slack in the credentials menu.
  2. Set Your Location: In the Fetch Weather Data and HTTP Request Tool for AI nodes, update the latitude and longitude in the URL to your desired location.
  3. Update Email and Slack:
    • In the Send Email Summary and Send AI Response via Email nodes, change the recipient email address to your own.
    • In the Send Slack Summary and Send AI Response via Slack nodes, select your desired Slack channel.
  4. Adjust the Schedule: Modify the Schedule Trigger node to change the time or frequency of the daily summary.
  5. Activate the Workflow: Click the "Active" toggle in the top-right corner to enable the workflow.

How to customize the workflow

  • Change the Message: You can easily customize the notification message in the Format Daily Summary node (for the summary) and in the Send... nodes for both flows.
  • Add More Data: The Open-Meteo API provides a wealth of data. You can fetch additional information like precipitation, wind speed, or UV index by modifying the URL in the HTTP Request nodes.
  • Integrate Other Services: Add other notification nodes like Discord, Telegram, or Microsoft Teams to send the weather reports to more platforms.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 3 - Fetch Weather Data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 4 - Format Daily Summary

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Send Email Summary

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 6 - Send Slack Summary

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 7 - Workflow Description

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.3

Block 9 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 10 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 11 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 12 - HTTP Request Tool for AI

Type / Role
n8n-nodes-base.httpRequestTool - httpRequestTool
Config choices
Version 4.3

Block 13 - Send AI Response via Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 14 - Send AI Response via Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 15 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate weather reports with GPT-4 Mini and Open-Meteo API to Gmail and Slack
Complexity advanced
Nodes 17
Categories Personal Productivity, AI Chatbot
Author ueharayuuki
Published 10 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10681/10681.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate weather reports with GPT-4 Mini and Open-Meteo API to Gmail and Slack do?

This workflow provides a comprehensive weather reporting system with two main functionalities: a scheduled daily summary and an interactive AI agent for dynamic queries. Who's it for? This template...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Chatbot use case.