5.0★ Rated on Fiverr · Trusted by clients across the US · UK · CanadaBook Your Free Systems Audit →
HomeAboutServicesPortfolioContact
Back to Portfolio
Case study · AI outreach automation
n8n AutomationAI AgentEmail OutreachRAGOpenAI

AI-Powered Website Research &
Personalized Email Outreach

A fully automated n8n system that researches a prospect's website using AI, extracts and summarizes their content, crafts a personalized outreach email using GPT, sends it automatically, notifies via Telegram, and logs everything — zero manual work at any stage.

Tooln8n
AIOpenAI GPT + RAG
TypeOutreach Automation
TriggerTelegram
OutputPersonalized Email
AIWebsite Research
RAGAgent + Vector DB
AutoEmail Crafted & Sent
ZeroManual Work

The project

Outreach that begins with real context.

Cold email outreach is powerful — but generic emails get ignored. The challenge was building a system that could research any prospect's website automatically, understand their business, and craft a genuinely personalized email that feels human-written.

This n8n automation solves that entirely. Triggered via Telegram, the system crawls the prospect's website, uses a RAG AI Agent with OpenAI GPT and PostgreSQL vector store to understand their content, then writes and sends a personalized outreach email — all without any manual input after the trigger.

Workflow evidence · part 1Telegram trigger, RAG AI Agent, formatting, and email-limit logic
n8n Automation RAG Agent and Logic Layer
Workflow evidence · part 2Sitemap extraction, sublink crawling, AI ranking, and content extraction
n8n Website Research and Content Extraction
Workflow evidence · part 3AI email crafting, sending, Telegram notification, and log insertion
n8n Email Crafting and Sending

How the automation works

From a URL to a sent message.

The supplied project documents nine connected steps, from the initial Telegram input through research, context building, email delivery, logging, and scheduled cleanup.

01 · TRIGGER

Telegram trigger

The workflow is triggered via a Telegram message — the user sends a prospect's website URL and the automation begins immediately.

02 · CHECK

Input formatting & validation

The input is formatted and validated — checking for missing fields and sending a Telegram notification if the input is incomplete.

03 · GUARD

Email limit check

The system checks how many emails have already been sent to that prospect ID in the current session — enforcing per-ID limits to prevent spam.

04 · CONTEXT

RAG AI agent

A RAG AI Agent powered by OpenAI GPT, PostgreSQL vector store, and OpenAI embeddings processes the prospect data — drawing on stored knowledge to build context.

05 · DISCOVER

Website sitemap extraction

The system requests the prospect's sitemap XML, parses all sublinks, and uses AI to rank the most relevant pages to research.

06 · RESEARCH

Content extraction from sublinks

Each ranked sublink is crawled — content is fetched, converted from HTML to Markdown, trimmed to token limits, summarized by AI, and aggregated into a prospect profile.

07 · WRITE

AI email crafting

Using the aggregated prospect profile, GPT crafts a fully personalized outreach email — referencing the prospect's actual business, services, and pain points.

08 · SEND

Send email + notify + log

The email is sent with the sender's signature attached. A Telegram notification confirms delivery. The outreach is logged in a database for tracking and reporting.

09 · MAINTAIN

Log cleaning

A separate scheduled workflow runs automatically to clean old log data — keeping the system lean and preventing database bloat over time.

Tools & integrations

Research, reasoning, and delivery.

n8nOpenAI GPTRAG AI AgentPostgreSQL Vector StoreOpenAI EmbeddingsTelegramHTTP Request / Web CrawlerSitemap XML ParserMarkdown ConverterEmail SenderDatabase LoggingSchedule Trigger
Original client note
“This automation completely transformed our outreach process. Every email it sends reads like it was written by someone who actually researched the prospect — because it was. The response rate jumped significantly from day one.”
Client — AI Outreach Automation Projectn8n + OpenAI + PostgreSQL Automation

Build your next system

Need an AI automation like this?

I build end-to-end AI automations using n8n, OpenAI, and custom integrations — systems that do the research, write the emails, and send them while you focus on closing deals.