What This Workflow Does
Manual lead generation on Reddit is time-consuming and inconsistent. Sales teams spend hours scrolling through subreddits hoping to find someone mentioning a problem they can solve. This workflow automates that entire discovery process.
It continuously monitors targeted subreddits (like r/smallbusiness, r/startups, r/entrepreneur) for posts containing specific keywords. When a relevant post is found, it uses OpenAI's GPT-4 to analyze the content and determine if the author is a genuine prospect for your product or service. Qualified leads are then stored in a Google Sheet, duplicates are prevented using Supabase, and a daily digest email is sent to your team with all new prospects.
This turns Reddit from a passive community into an active, automated lead source that works 24/7, ensuring you never miss a potential customer discussing their needs online.
How It Works
1. Subreddit Monitoring & Keyword Search
The workflow starts by querying the Reddit API for recent posts in your predefined list of subreddits. It searches for keywords relevant to your business (e.g., "struggling with", "looking for", "need help with"). You can easily adjust these subreddits and keywords in a simple configuration node.
2. Initial Content Filtering
Posts with no body text or zero upvotes are filtered out immediately. This ensures only substantive, community-vetted content is processed, saving AI credits and improving lead quality.
3. AI-Powered Relevance Scoring
Each remaining post is sent to an OpenAI Chat Model (like GPT-4) with a custom prompt. The AI analyzes the post and returns a simple "yes" or "no" answer to the question: "Is this person a potential customer for [your product/service]?" This contextual understanding is far superior to basic keyword matching.
4. Deduplication via Supabase
The Reddit post ID is checked against a Supabase table. If it has already been processed, the workflow skips it. This prevents spamming the same user and ensures your lead list is unique.
5. Lead Storage in Google Sheets
All qualified leads are appended to a Google Sheet with details: post URL, content excerpt, subreddit, author, timestamp, and the AI's reasoning. This creates a centralized, sortable database of prospects for your sales team.
6. Daily Email Digest Alert
Finally, the workflow compiles all new leads from the run and sends a formatted email digest via Gmail to your designated team inbox. This provides a clean, actionable summary without needing to check the sheet manually.
Who This Is For
This automation is ideal for B2B SaaS companies, consultants, agency owners, and any business that sells solutions to a niche audience active on Reddit. It's perfect for:
- Startups looking for early adopters discussing pain points in their industry.
- Marketing Agencies prospecting for clients who are expressing frustration with their current results.
- Software Developers seeking users who are asking for tools or features they've already built.
- Coaches & Consultants finding individuals seeking advice in their area of expertise.
- Sales Teams that want to supplement their outbound efforts with warm, inbound-style leads from organic discussions.
What You'll Need
- A Reddit Account & API Credentials: You'll need a Reddit account to generate API keys (Client ID and Secret) for accessing the Reddit API.
- OpenAI API Key: An account with OpenAI and an API key to use the GPT-4 or GPT-3.5 model for analysis.
- Supabase Project: A free Supabase account to create a project and table for storing processed post IDs.
- Google Sheets & Gmail Access: A Google account with a Google Sheet prepared (headers set up) and Gmail enabled for sending alerts.
- n8n Instance: A running n8n environment (cloud or self-hosted) to import and execute the workflow.
Pro tip: Start with a narrow focus. Choose 2-3 highly relevant subreddits and 5-7 specific keywords. This improves AI accuracy and prevents being overwhelmed by low-quality matches. You can always broaden the search later.
Quick Setup Guide
- Download & Import: Click the download button above to get the JSON file. In your n8n instance, go to Workflows > Import from file and select the downloaded template.
- Configure Credentials: Set up the required credentials in n8n for Reddit, OpenAI, Supabase, Google Sheets, and Gmail. Use the test buttons to verify each connection works.
- Customize Search Parameters: Open the "Code" node at the start. Edit the arrays for `subreddits` and `keywords` to match your target audience.
- Tailor the AI Prompt: Open the "Analysis Content by AI" node. Modify the system prompt to clearly describe your product/service and what makes someone a good prospect.
- Set Up Your Supabase Table: In your Supabase project, create a table named `processed_posts` with a column `id` (text primary key). The workflow will handle inserts automatically.
- Prepare Your Google Sheet: Create a new Sheet or use an existing one. Ensure the first row has headers like "URL", "Content", "Subreddit", "Author", "Timestamp". Note the Sheet ID for the node configuration.
- Test & Activate: Run the workflow once manually using the "Manual Trigger" node. Check the Sheet for entries and your email for the digest. If all looks good, activate the "Schedule Trigger" node for automatic daily runs.
Key Benefits
Save 10–15 hours per week on manual prospecting. This automation replaces the tedious process of daily forum scanning, freeing your sales team to focus on closing leads instead of finding them.
Improve lead quality with AI context understanding. GPT-4 filters out casual mentions and identifies genuine intent, resulting in a higher conversion rate from lead to conversation.
Build a scalable, searchable lead database. Every prospect is captured in Google Sheets with rich context, allowing for easy sorting, filtering, and integration into your CRM later.
Never miss a relevant discussion. The workflow runs on a schedule you set, monitoring Reddit 24/7, even outside business hours, ensuring you capture opportunities as they appear.
Maintain a positive brand reputation. By deduplicating leads and only reaching out to highly relevant prospects, your outreach feels helpful and personalized, not spammy.