Automatically curate and summarize Reddit posts daily, filter by relevance with AI, and save insights to Supabase for seamless content discovery and analysis.
This intelligent automation workflow transforms your Reddit saved posts into a curated database of valuable insights. The agent automatically runs on a daily schedule, retrieves your saved Reddit posts, intelligently filters them for relevance, summarizes the most valuable content, and stores everything in Supabase for easy reference and analysis.
Key benefits include:
This workflow is perfect for researchers, content creators, product managers, and knowledge workers who want to systematically capture and organize valuable discussions from Reddit without manual effort.
This agent is ideal for professionals and enthusiasts who:
Why it's needed: Supabase serves as your persistent data storage layer, allowing you to save summarized posts and create a searchable database of curated Reddit content. It's a PostgreSQL-based backend that makes organizing and retrieving your data simple and scalable.
Setup steps:
reddit_posts with the following columns:
id (UUID, primary key, auto-generated)post_id (text, unique)title (text)url (text)summary (text)relevance_score (text)created_at (timestamp, auto-set to now)https://xxxxx.supabase.co)eyJhbGc...)reddit_posts
Why it's needed: Reddit is your data source. This integration retrieves your saved posts and their associated comments, providing the raw content that the workflow will analyze, filter, and summarize.
Setup steps:
TaskAGI-Automation)Why it's needed: Google Gemini powers the AI intelligence in this workflow. It evaluates post relevance and generates concise summaries of lengthy Reddit discussions, saving you reading time while preserving key insights.
Setup steps:
This is a note node for your reference. No configuration needed—it documents the workflow's purpose.
Configuration:
1 day
09:00 AM)Why it matters: Consistent daily execution keeps your database fresh without overwhelming the Reddit API.
Configuration:
reddit_posts
Expected output: Array of existing post objects with their IDs
Configuration:
post_id fieldreturn data.map(post => post.post_id);
Expected output: Array of post IDs like ["abc123", "def456"]
Configuration:
25 (retrieves your 25 most recent saved posts)new (newest first)Expected output: Array of post objects with titles, URLs, and metadata
Configuration:
const existingIds = extractedIds;
return redditPosts.filter(post => !existingIds.includes(post.id));
Expected output: Only new, unsaved posts
Configuration:
currentPost
Data flow: Each iteration passes one post to the next nodes
Configuration:
gemini-2.0-flash
Does this Reddit post discuss something valuable or insightful?
Post title: {currentPost.title}
Post content: {currentPost.selftext}
Respond with only "YES" or "NO".
Expected output: "YES" or "NO"
Configuration:
Check Post Relevance output === "YES"
Configuration:
currentPost.id
true
10 (top comments)Expected output: Post object with comment thread
Configuration:
return `Title: ${post.title}\n\nContent: ${post.selftext}\n\nTop Comments: ${post.comments.map(c => c.body).join('\n')}`;
Expected output: Formatted text string ready for summarization
Configuration:
gemini-2.0-flash
Summarize the following Reddit post using its content and comments.
Focus on key insights and actionable takeaways. Keep it under 200 words.
{formattedContent}
Expected output: Summary text (200 words max)
Configuration:
text
Configuration:
return {
post_id: currentPost.id,
title: currentPost.title,
url: currentPost.url,
summary: parsedSummary,
relevance_score: "high"
};
Expected output: Object matching your Supabase table schema
Configuration:
reddit_posts
Insert
Configuration:
2 seconds
Check Node 3 (Supabase retrieval):
Check Node 5 (Reddit retrieval):
title, selftext, and url
Check Node 6 (Filtering):
Check Node 8 (Relevance check):
Check Node 12 (Summarization):
Check Node 15 (Supabase save):
reddit_posts table✅ Workflow completes without errors ✅ New posts appear in Supabase table ✅ Summaries are concise and accurate ✅ No duplicate posts are saved ✅ Execution time is under 5 minutes
Congratulations! Your Reddit curation agent is now live and building your knowledge base automatically.
Explore these powerful automation agents that complement your workflow.
Use this AI agent to keep track of industries, keywords, brands and competitors on Reddit and automatically engage with...
Extract comment data from Reddit post URLs including nested replies and discussion threads. Simple form interface lets y...
Discover Reddit posts using keyword search with advanced filtering options. Simple form interface lets you search across...