Latenode

Automatically post daily weather updates to a Discord channel

This template runs on a schedule, loads the forecast from Open Weather for the city you set, formats a short message in JavaScript, and posts it to a Discord channel.

Use it for a community or team channel that wants a regular forecast without opening another app. Connect Open Weather and Discord. Put the OpenWeather API key on the Open Weather connection.

Updated Sep 16, 2026Est. run: 11sEst. cost: $0.0007
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Posts a weather forecast to Discord on the cadence you set
  • Uses Open Weather for the forecast
  • Formats high, low, and conditions in JavaScript
  • Keeps the OpenWeather key on the Open Weather connection

How it works

1
Trigger

Run on a schedule

The scenario starts on the cadence you set, such as every morning.

2
Action

Get the forecast

Open Weather loads the forecast for the city or coordinates you configure.

3
Logic

Build the Discord message

JavaScript turns high, low, conditions, and wind into a short channel post.

4
Action

Post to Discord

Discord sends that message to the channel you choose.

Setup guide

1

Connect Open Weather

Add an Open Weather connection and paste your OpenWeather API key there. Set the city or coordinates on the forecast step.

2

Connect Discord

Add a Discord connection and pick the channel that should receive the forecast.

3

Set the schedule and message

Add a schedule, for example every morning. In JavaScript, format high, low, conditions, and wind, then send the Discord message. Run once and confirm the channel sees it.

Requirements

An OpenWeather API key stored on the Open Weather connection
A Discord channel Latenode can post to
A daily schedule and the city or coordinates to watch

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.