Community-Question Pipeline (with Spam Precheck)
I did this for a client last week, but this could apply to any niche where you want to become an authority.
  1. Load your source list• Reads a Google Sheet of community sources (FB groups, subreddits, Discord channels, etc.).• Skips any source already processed today via a “LastRan” timestamp check.
  2. Scrape raw posts• Uses a scraper node (Apify, RSS pull, Reddit API, etc.) to fetch the newest posts.
  3. Spam & noise filter (pre-AI!)• A custom JS “Filter Spam” node examines each post’s text and URL.• Drops anything with no question, promotional language, obvious lead-gen or duplicates.• Only true, question-style posts continue—so you never burn an OpenAI token on ads or fluff.
  4. AI analysis & response• Feeds each filtered question into a LangChain/ChatGPT agent with your strict JSON schema.• Gets back a validated object:– qualified: true/false– metadata (URL, username, datetime, location)– a concise, on-brand answer– topic tags for categorization
  5. Normalize & dedupe• A single Code node un-wraps LLM output (handles both output: [] and direct arrays), de-dupes by URL+question, and tallies how many Q&A items you generated.
  6. Write results & update status• Appends all new Q&A rows (with qualifiedCount) into your “Q/A Followups” sheet.• Updates each source row with LastRan and LastRunTotal so you won’t re-scrape the same group today.
  7. Notifications & error alerts• On success: posts “Processed Successfully” to Slack/Discord/Teams.• On error: immediately notifies your team with the error message—so you can fix broken selectors or API issues before they pile up.
Adapting to Any Niche
  1. Sources → Your community
  2. Spam filter tuning
  3. AI prompt & tags
  4. Output destinations
  5. Notification channels & cadence
With the precheck (you can adjust the settings as well) OpenAI call is on a genuine question—maximizing ROI on your token spend and keeping your community engagement both efficient and relevant.
3
0 comments
Brian Pyatt
3
Community-Question Pipeline (with Spam Precheck)
AI Automation Society
skool.com/ai-automation-society
A community built to master no-code AI automations. Join to learn, discuss, and build the systems that will shape the future of work.
Leaderboard (30-day)
Powered by