Automate weather reports with GPT-4 Mini and Open-Meteo API to Gmail and Slack
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Gmail, Slack, OpenAI Chat Model and HTTP Request. It also calls api.open-meteo.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).
- Fetch Weather Data (HTTP Request): calls api.open-meteo.com
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Http Request Tool); memory: Simple Memory
- Format Daily Summary (Code): runs custom JavaScript code
- Send AI Response via Email (Gmail): uses Gmail
- Send Email Summary (Gmail): uses Gmail
- Send AI Response via Slack (Slack): uses Slack
- Send Slack Summary (Slack): uses Slack
Services it uses
HTTP calls to: api.open-meteo.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Http Request Tool
n8n-nodes-base.httpRequestTool
From the author
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,…