Automated daily summary workflow built with n8n β‘ that fetches current π€ weather (OpenWeather) and π° top news headlines (NewsAPI), and delivers a single organized message to Telegram π¬ and Email π§.
- π Fetches live weather for Alexandria, Egypt.
- π° Fetches top news headlines (configurable country / keyword).
- π Aggregates results into one nicely formatted HTML email and a short Telegram message.
- β° Runs daily via a schedule trigger.
- π n8n (workflow automation)
- π€ OpenWeather API
- π° NewsAPI
- π¬ Telegram Bot API
- π§ Gmail OAuth (optional for email delivery)
- π
workflow.jsonβ n8n workflow export (safe version, no secrets). - π
README.mdβ this file. - π
env.templateβ list of environment variables / keys to fill before running. - πΌ
screenshots/β (recommended) add screenshots of the workflow and sample output.
β οΈ Important: This repository does not contain API keys or credentials. You must provide them locally in your n8n instance.
-
π₯ Import workflow
- Open your n8n instance β Workflows β Import β Upload
workflow.json.
- Open your n8n instance β Workflows β Import β Upload
-
π Add credentials
- π€ OpenWeather: replace placeholder
YOUR_OPENWEATHER_KEYin the OpenWeather HTTP node, or set as environment variable and reference it. - π° NewsAPI: replace
YOUR_NEWSAPI_KEYin the NewsAPI HTTP node or set as environment variable. - π¬ Telegram: create a Telegram Bot via BotFather π€ and set the Bot Token in n8n Credentials (Telegram).
- π§ Gmail (optional): create OAuth credentials in Google Cloud Console and add Gmail OAuth2 credential in n8n.
- π€ OpenWeather: replace placeholder
-
π Connect credentials to nodes
-
β Test
- Run the OpenWeather and News nodes individually (
βΆοΈ Execute Node) to ensure they return valid JSON. - Execute the
BuildEmail(Function) node to previewbodyHtmlandtelegramText. - Execute the whole workflow or wait for the scheduled run.
- Run the OpenWeather and News nodes individually (
Use this file as a guide to store your keys (locally, not in Git).