Draft Reddit reply suggestions with OpenAI and send them to Slack
Quick overview This workflow runs every morning, reads recent posts from selected subreddits via Reddit RSS feeds, uses OpenAI (via LangChain) to shortlist threads and draft helpful replies, and sends the drafts (or a “nothing worth answering” notice) to a Slack channel.
How it works Runs every morning at 9am on a schedule. Builds Reddit /new/.rss feed URLs for the configured list of subreddits and fetches posts from each RSS feed. Filters the feed items to only include posts published within the configured lookback window and trims each post down to a clean, short text payload. Bundles the recent posts into a single JSON input and asks an OpenAI chat model to select up to the configured maximum number of threads and draft non-promotional replies. If the model returns any selected threads, formats and posts one Slack message per thread with the title, link, rationale, and drafted reply. If the model returns no threads, posts a Slack message reporting that nothing worth answering was found.
Setup Add an OpenAI (or compatible) credential to the OpenAI chat model node used by the workflow. Add a Slack credential and select the target Slack channel for both Slack posting steps. Update the subreddit list, lookbackHours, and maxThreads values in the configuration step to match your monitoring needs, better to check and align the flow before use.
Related Templates
AI SEO Readability Audit: Check Website Friendliness for LLMs
Who is this for? This workflow is designed for SEO specialists, content creators, marketers, and website developers who ...
Smart Sales Support Chatbot with GPT-4o and Google Sheets
Who is this tempate for? This workflow powers a simple yet effective customer and sales support chatbot for your webshop...
Text automations using Apple Shortcuts
Overview This workflow answers user requests sent via Mac Shortcuts Several Shortcuts call the same webhook, with a quer...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments