Templates / Send daily AI briefings from Postgres to Telegram with OpenAI

Send daily AI briefings from Postgres to Telegram with OpenAI

Ready for 3.0

by Florin Cojocariu · 3 views · created 2026-11-01 · CRM, AI Summarization

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 11 nodes and runs on a schedule (every day at 08:00). Along the way it connects Postgres, OpenAI Chat Model and Telegram.

How it runs

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

  1. Config (Edit Fields (Set)): sets 3 fields: telegram_chat_id, service_a_health_url, service_b_health_url
  2. Pending approvals (Postgres): run a query
  3. Overdue follow-ups (Postgres): run a query
  4. Pipeline summary (Postgres): run a query
  5. Check service A health (HTTP Request): calls an HTTP API (GET)
  6. Check service B health (HTTP Request): calls an HTTP API (GET)
  7. Summarise service status (Code): runs custom JavaScript code
  8. Write the briefing (AI Agent): runs an AI agent, with model: OpenAI model
  9. Send to Telegram (Telegram): uses Telegram

Services it uses

PostgresOpenAI Chat ModelTelegram

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

From the author

Quick overview This workflow runs every morning, pulls operational and CRM data from PostgreSQL, checks two service health endpoints over HTTP, uses OpenAI to write a short prioritized daily briefing, and sends the briefing to a Telegram chat. How it works 1.…

Excerpt from Florin Cojocariu'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.