Templates / Connect apps / Telegram + PostgreSQL
Connect Telegram to PostgreSQL with n8n
70 public n8n templates use both Telegram and PostgreSQL. We checked each one against the n8n 3.0 breaking changes: 46 ready, 19 need changes, 5 unknown (community nodes we can’t verify). Data from the 30 November 2026 library snapshot.
Together these templates have 305,651 views on n8n.io. The most viewed is Generate Instagram content from top trends with AI image generation (89,330 views, ready for 3.0). Other apps these templates often use: OpenAI (38), Google Drive (18), Supabase (16), Google Gemini (13), Google Sheets (11), OpenRouter (11).
What needs fixing for n8n 3.0 in this group: AI Agent v1 (old agent modes) (19 templates).
How to connect Telegram to PostgreSQL in n8n
- Start from a template instead of a blank canvas. The most viewed one that passes our n8n 3.0 check is Generate Instagram content from top trends with AI image generation.
- Pick how it starts. Most of these workflows start with Telegram Trigger (51 templates), Schedule Trigger (25 templates), Manual Trigger (12 templates). 51 templates here start from a Telegram trigger node, so they run when something changes in Telegram.
- Add your own credentials. Templates never include credentials, so open each Telegram and PostgreSQL node and connect your accounts. In this group, for Telegram all of them use n8n’s built-in Telegram node; for PostgreSQL, all of them use n8n’s built-in PostgreSQL node.
- Run it once with test data, then turn it on. Before upgrading to n8n 3.0, paste your version into the 3.0 checker.
Telegram + PostgreSQL templates
- Ready for 3.0 Generate Instagram content from top trends with AI image generation · 89,330 views
- Needs changes HR & IT helpdesk chatbot with audio transcription · 41,659 views
Fix: AI Agent v1 (old agent modes) - Needs changes All-in-one Telegram/Baserow AI assistant 🤖🧠 Voice/Photo/Save notes/Long term mem · 27,000 views
Fix: AI Agent v1 (old agent modes) - Needs changes Multi-Agent AI Clinic Management with WhatsApp, Telegram, and Google Calendar · 25,697 views
Fix: AI Agent v1 (old agent modes) - Needs changes Allow users to send a sequence of messages to an AI agent in Telegram · 13,041 views
Fix: AI Agent v1 (old agent modes) - Needs changes 💅 AI Agents Generate Content & Automate Posting for Beauty Salon Social Media 📲 · 12,434 views
Fix: AI Agent v1 (old agent modes) - Needs changes AI-powered lead generation with Apollo, GPT-4, and Telegram to database · 12,062 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Create a multi-modal Telegram support bot with GPT-4 and Supabase RAG · 11,909 views
- Ready for 3.0 Process multiple media files in Telegram with Gemini AI & PostgreSQL database · 11,353 views
- Ready for 3.0 Natural language database queries with dual-agent AI & PostgreSQL integration · 9,801 views
- Unknown OpenClaw Clone 🦞: Expandable Personal Telegram AI Agent Template · 6,606 views
- Needs changes Multi-platform AI sales agent with RAG, CRM logging & appointment booking · 5,939 views
Fix: AI Agent v1 (old agent modes) - Needs changes Automated reservation system with Telegram, Google Gemini AI, and Google Sheets · 5,080 views
Fix: AI Agent v1 (old agent modes) - Needs changes Chat with your email history using Telegram, Mistral and Pgvector for RAG · 4,591 views
Fix: AI Agent v1 (old agent modes) - Unknown Run a self-hosted multi-channel AI assistant with Claude, Gemini and Gmail · 4,535 views
- Ready for 3.0 Cheaper, faster, accurate answers with memory summarization & dynamic routing! · 1,636 views
- Ready for 3.0 Generate stock market insights with technical analysis, AI, and Telegram publishing · 1,635 views
- Ready for 3.0 Pdf RAG agent with Telegram chat & auto-ingestion from Google Drive · 1,516 views
- Needs changes 💰 Financial AI agent Telegram and WhatsApp · 1,468 views
Fix: AI Agent v1 (old agent modes) - Needs changes Create personalized email outreach with AI, Telegram bot & website scraping · 1,240 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Monitor Twitter accounts & generate intelligence summaries with Gemini AI & Telegram · 1,162 views
- Ready for 3.0 AI-powered lead enrichment with Explorium MCP & Telegram · 1,159 views
- Ready for 3.0 Automate Telegram channel posts using Postgres (Module "Cross-Posting") · 759 views
- Needs changes Ai email triage & alert system with GPT-4 and Telegram notifications · 739 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Automated job extraction & publishing with RAG, Jina AI and OpenAI to WordPress · 733 views
- Ready for 3.0 Multi-department support bot with slash commands, Pinecone & Telegram · 727 views
- Ready for 3.0 Telegram bot for item multi select and saving to Postgres (Module "Checkbox") · 708 views
- Ready for 3.0 Indonesian stock market research agent with Sectors App, Gemini & Tavily · 693 views
- Ready for 3.0 Create secure human-in-the-loop approval flows with Postgres and Telegram · 678 views
- Unknown Automated US stock portfolio analysis with Telegram, Perplexity AI & PDF reports · 649 views
- Ready for 3.0 Email to Notion knowledge base with IMAP, Postgres dedup and Telegram alert · 621 views
- Needs changes Multi-language Telegram RAG chatbot with supervisor AI & automated Google Drive pipeline · 619 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Automate testing and collect responses via Telegram in Postgres (module "Quiz") · 571 views
- Ready for 3.0 Create dynamic crypto market monitors with Gemini AI and Telegram Bot · 512 views
- Ready for 3.0 AI chatbot call center: demo call back (production-ready, part 6) · 489 views
- Unknown AI chatbot call center: Telegram call in (production-ready, part 1a) · 488 views
- Needs changes Complete B2B sales pipeline: Apollo lead gen, Mailgun outreach & AI reply management · 456 views
Fix: AI Agent v1 (old agent modes) - Needs changes Chat with documents via RAG: Google Drive to GPT-5 with Supabase vector database · 441 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Business AI command center: Modular agents for Google Workspace, vector search & multi-channel reports · 436 views
- Ready for 3.0 Verify Telegram channel subscriptions with access control using Postgres · 424 views
- Ready for 3.0 Smart lead outreach with Explorium MCP using Google Sheets and Telegram · 405 views
- Needs changes Automate HighLevel CRM with GPT-5, knowledge retrieval & document context · 403 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Create a Witty Telegram Bot with AI-Powered Humor, Roasts & Stats using OpenRouter · 349 views
- Needs changes Automate personalized cold email sequences with GPT-4, Mailgun and Supabase · 329 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Automate daily signup stats from PostgreSQL to Slack, Teams & Telegram · 313 views
- Ready for 3.0 Multi-channel task reminder system with Telegram, Email and Slack · 305 views
- Ready for 3.0 Telegram giveaways among channel subscribers (Module "Giveaway") · 285 views
- Ready for 3.0 Transform chatbots into AI advisors with memory and real-time context · 274 views
- Ready for 3.0 Create an AI knowledge base assistant using Ollama, PGVector and Telegram · 247 views
- Ready for 3.0 Create a RAG Telegram bot using Google Drive, PostgreSQL, and local Ollama · 230 views
- Ready for 3.0 Lightweight support desk with Telegram and Postgres database tracking · 220 views
- Needs changes Debounce Telegram support messages and aggregate replies with OpenAI · 209 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Publish LinkedIn posts from RSS using Ollama, PostgreSQL and Telegram approval · 123 views
- Ready for 3.0 Watch GitHub releases and Docker tags, analyze changelogs with Claude Haiku, and send update digests to Slack, Discord, Telegram, and ntfy · 82 views
- Ready for 3.0 Provide academic OCR and RAG answers on Telegram with Gemini, GPT-4 mini and Supabase · 76 views
- Ready for 3.0 Send multi-tenant reminders via Telegram from webhooks and schedule with Postgres logging · 63 views
- Ready for 3.0 Sync a Telegram RAG chatbot with Google Drive using OpenAI and Supabase · 37 views
- Needs changes Answer HR and IT policy questions on Telegram with OpenAI and Postgres PGVector · 22 views
Fix: AI Agent v1 (old agent modes) - Ready for 3.0 Run a Telegram hotel search bot with OpenAI and WinWin MCP · 17 views
- Unknown Track documentation changes with Firecrawl, Postgres, Gemini, and Telegram · 15 views
- Ready for 3.0 Answer support questions from your docs with Telegram, OpenRouter and pgvector · 14 views
- Ready for 3.0 Generate a full startup plan from one sentence with OpenAI, Postgres, Notion and Sheets · 10 views
- Ready for 3.0 Manage WhatsApp and Telegram business ops with OpenAI, Postgres and Sheets · 10 views
- Ready for 3.0 Send daily AI market briefings to Telegram, Discord and Postgres with OpenAI, Twelve Data, CoinGecko, FRED, QuantGist and Marketaux · 6 views
- Ready for 3.0 Capture and manage Telegram sales leads with Groq and Postgres · 4 views
- Ready for 3.0 Send daily AI briefings from Postgres to Telegram with OpenAI · 3 views
- Ready for 3.0 Manage catering event quotes and countdowns with Postgres, Gmail, OpenAI and Telegram · 2 views
- Ready for 3.0 Monitor NASA space weather and DSN anomalies with OpenRouter and Telegram · 1 views
- Ready for 3.0 Triage PostgreSQL blocking sessions with Ollama, pgvector and Telegram · 1 views
- Ready for 3.0 Index Zoom meeting recordings for Telegram Q&A with OpenAI and Supabase · 0 views
Check your own Telegram → PostgreSQL workflow or see all Telegram templates and all PostgreSQL templates
Other Telegram pairs
- Telegram + OpenAI (807)
- Telegram + Google Sheets (674)
- Gmail + Telegram (361)
- Telegram + Google Gemini (354)
- Telegram + Google Drive (162)
- Telegram + OpenRouter (136)
- Telegram + Slack (130)
- Telegram + Google Calendar (99)
Other PostgreSQL pairs
- OpenAI + PostgreSQL (191)
- PostgreSQL + Slack (109)
- Gmail + PostgreSQL (82)
- Google Sheets + PostgreSQL (71)
- Google Drive + PostgreSQL (65)
- Supabase + PostgreSQL (60)
- Google Gemini + PostgreSQL (47)
- OpenRouter + PostgreSQL (32)
FAQ
Is there an n8n template to connect Telegram to PostgreSQL?
Yes. 70 public n8n templates use both Telegram and PostgreSQL. The most viewed is “Generate Instagram content from top trends with AI image generation” with 89,330 views.
Do the Telegram and PostgreSQL n8n templates work in n8n 3.0?
By our static check, 46 are ready for n8n 3.0, 19 need changes and 5 are unknown because they use community nodes we can’t verify. The most common fix: AI Agent v1 (old agent modes).
Does n8n have a built-in Telegram node?
Yes, every template here uses n8n’s built-in Telegram node.
Static check of the workflow JSON, not a live run on n8n 3.0. Apps are detected from the nodes in each workflow and from well-known API addresses in HTTP Request nodes. All app pairs.
Tools we use or recommend
- Make: Visual automation platform; a good alternative when an n8n flow needs a rebuild. Free plan available.
- Firecrawl: Turns any website into clean, LLM-ready data; simpler than hand-rolled scraping. New users get 10% off their first purchase.
Affiliate links: we may earn a commission at no cost to you.