Templates / Create personalized email outreach with AI, Telegram bot & website scraping

Create personalized email outreach with AI, Telegram bot & website scraping

Needs changes

by Michael A Putra · 1,240 views · created 2025-10-25 · Lead Nurturing, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 50 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Telegram, OpenAI, OpenAI Chat Model and Postgres Chat Memory and 3 more.

How it runs

Trigger: On a schedule (every day) (plus 1 other trigger).

  1. Get row(s) (Data table): get
  2. If: checks a condition and branches into true / false
  3. Delete row(s) (Data table): delete rows
  4. Check how many email created by id (Data table): get
  5. Edit Fields (Edit Fields (Set)): sets 2 fields: chatInput, sessionId
  6. calculate how many session (Aggregate): combines items into one
  7. RAG AI Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 4 tools (List Documents, Get File Contents, Query Document Rows, Postgres PGVector Store); memory: Postgres Chat Memory
  8. set maximum email per id (Switch): routes items into 2 branches
  9. answer query (Telegram): uses Telegram
  10. apologize message (Telegram): uses Telegram

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

Services it uses

TelegramOpenAIOpenAI Chat ModelPostgres Chat MemoryPostgresEmbeddings OpenAIPostgres PGVector Store

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in RAG AI Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
RAG AI Agent (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (22)

From the author

Demo Personalized Email This n8n workflow is built for AI and automation agencies to promote their workflows through an interactive demo that prospects can try themselves. The featured system is a deep personalized email demo. --- 🔄 How It Works 1. Prospect…

Excerpt from Michael A Putra'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.