Templates / AI marketing agent for lead generation: Reddit + OpenRouter + Gmail

AI marketing agent for lead generation: Reddit + OpenRouter + Gmail

Needs changes

by Ari Nakos ✓ · 2,782 views · created 2025-05-08 · Lead Generation, AI Summarization

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 to replace before upgrading

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

Nodes used (14)

OpenRouter Chat ModelHTTP RequestStructured Output ParserAI AgentRedditGoogle SheetsGmail

What it does

What it is This n8n workflow monitors Reddit for posts relevant to a specific business or industry, identifies potential leads, and delivers them directly to your inbox. Full tutorial for those wanting to build it themselves. How It Works 1. A user submits their website URL and email through a form 2. The workflow analyzes the website to determine the industry and extract relevant keywords 3. It searches Reddit for posts containing those keywords and filters them based on custom engagement metrics (i.e. upvotes > 15, non-empty text content, posted within the last 90 days) 4. An AI agent (using OpenRouter's GPT-4.1-mini) analyzes each post to determine relevance and summarizes the key points 5. Relevant posts are stored in Google Sheets and formatted into a professional HTML email 6. The email is sent to the user's provided email address with a summary of potential leads Setup To run this workflow, you need to set up credentials in n8n for: - Reddit: Uses OAuth 2.0. Requires creating an app on Reddit to get a Client ID & Secret. (YT Tutorial for Reddit App Creation: https://youtu.be/zlGXtW4LAK8) - OpenRouter: Uses an API Key. Generate this key directly from your OpenRouter account settings. (YT Tutorial: https://youtu.be/Cq5Y3zpEhlc) - Google Sheets: Recommend OAuth2 (just connect by authenticating) or setup in Google Cloud Console (enable Sheets API, create OAuth Client ID with n8n redirect URI) to get a Client ID & Secret. - Gmail: Uses OAuth 2.0. Requires setup in Google Cloud Console to enable Gmail API and create OAuth credentials.

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.