Templates / Post daily weather-based X updates with OpenWeatherMap, OpenAI, and Google Sheets

Post daily weather-based X updates with OpenWeatherMap, OpenAI, and Google Sheets

Ready for 3.0

by kenta ✓ · 0 views · created 2026-10-06 · Social Media, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 12 nodes and runs on a schedule (every day at 07:00). Along the way it connects OpenAI Chat Model, X (Formerly Twitter) and Google Sheets.

How it runs

Trigger: On a schedule (every day at 07:00).

  1. Check Today's Weather (OpenWeatherMap): uses OpenWeatherMap
  2. Classify Weather Bucket (Code): runs custom JavaScript code
  3. Route By Weather (Switch): routes items into 3 branches
  4. ☔ Rainy Day Angle (Edit Fields (Set)): sets 1 field: angle
  5. 🥵 Hot Day Angle (Edit Fields (Set)): sets 1 field: angle
  6. 🥶 Cold Day Angle (Edit Fields (Set)): sets 1 field: angle
  7. 😊 Pleasant Day Angle (Edit Fields (Set)): sets 1 field: angle
  8. Write Today's Post (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
  9. Publish On X (X (Formerly Twitter)): uses X (Formerly Twitter)
  10. Log Published Post (Google Sheets): append

Services it uses

OpenAI Chat ModelX (Formerly Twitter)Google Sheets

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 (9)

From the author

Quick overview This workflow runs daily at 07:00, pulls current weather from OpenWeatherMap, uses OpenAI to generate a weather-matched post, publishes it to X (Twitter), and logs the weather, bucket, and post text to Google Sheets. How it works 1. Runs every…

Excerpt from kenta's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.