Templates / Generate LinkedIn posts using Telegram, Supabase vector DB and OpenAI RAG

Generate LinkedIn posts using Telegram, Supabase vector DB and OpenAI RAG

Ready for 3.0

by Bhavy Shekhaliya ✓ · 80 views · created 2025-12-01 · Content Creation, AI RAG

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 25 nodes and runs on Telegram events (message) (plus 1 other trigger). Along the way it connects Telegram, Supabase Vector Store, Embeddings OpenAI and OpenAI Chat Model and 2 more.

How it runs

Trigger: On Telegram events (message) (plus 1 other trigger).

  1. If: checks a condition and branches into true / false
  2. Typing.... (Telegram): send chat action
  3. Hook Analyse Agent (AI Agent): runs an AI agent, with model: 4o mini, 2.5-flash; output parser: Structured Output Parser
  4. LinkedIn Post URL (HTTP Request): calls an HTTP API
  5. Wrong URL (Telegram): uses Telegram
  6. Post Structure Agent (AI Agent): runs an AI agent, with model: 4o mini, 2.5-flash; output parser: Structured Output Parser
  7. Scrap Content (HTML): parses or builds HTML
  8. Unable to Scrape (Telegram): uses Telegram
  9. Post Generator Agent (AI Agent): runs an AI agent, with model: 4o mini, 2.5-flash; 1 tool (Supabase Vector Store); output parser: Structured Output Parser
  10. Upload Document (Supabase Vector Store): stores documents in the Supabase vector store, with embeddings: Embeddings; document loader: Data Loader

…plus 3 more steps. See the full node list below.

Services it uses

TelegramSupabase Vector StoreEmbeddings OpenAIOpenAI Chat ModelGoogle Gemini Chat ModelLinkedIn

Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).

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

From the author

Overview AI-powered n8n workflow that creates viral LinkedIn posts by learning from successful content. Features two modules: (1) Telegram-based scraper that builds a vector database of viral LinkedIn posts, and (2) Web form that generates optimized posts…

Excerpt from Bhavy Shekhaliya'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.