Automated Reddit Problem Detection and Solution Posting using Google Gemini AI - n8n Workflow

Leverage this powerful n8n workflow to monitor Reddit for specific user problems, classify them using Google Gemini, automatically generate solutions, and log results in Google Sheets. This n8n template showcases advanced AI automation.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Technical support teams monitoring community forums.
Product managers tracking user pain points and feature requests.
n8n automation experts looking for advanced AI implementation examples.
Users needing robust n8n templates for social media listening and response.

Overview

Manually monitoring large community forums like Reddit for actionable feedback is resource-intensive. This powerful n8n workflow solves this by creating an autonomous support agent. It automates the discovery, classification, and detailed solution generation for user issues.

By chaining two AI Agents using Google Gemini, this n8n workflow ensures that high-priority user problems are accurately identified and that concise, technical solutions are generated swiftly. Every stage of the n8n workflow is optimized for quality; filtering ensures the AI analyzes only substantive posts. Furthermore, the activity is logged in Google Sheets, providing a reliable audit trail and allowing teams to review generated solutions before deployment. This sophisticated n8n template demonstrates effective use of conditional logic and LLM chaining.

How it Works

The logical flow of this n8n workflow proceeds as follows:


  1. Trigger: The n8n workflow is initiated via a Manual Trigger for easy testing. In production, this n8n trigger would typically be replaced by a Schedule n8n node.

  2. Search & Filter: The first n8n node, a Reddit operation, searches the designated subreddit (r/n8n) for posts matching the specific keyword (“Why i stopped using”). An immediate If Condition n8n node filters these results, keeping only posts with at least two upvotes (ups >= 2) and a non-empty body (selftext).

  3. Data Preparation: A Set n8n node normalizes and prepares key fields (title, selftext, ups, etc.) for the subsequent AI step.

  4. AI Classification: An AI Agent n8n node uses the Google Gemini Chat Model to classify the post. The prompt asks for a 'Yes' or 'No' answer regarding whether the post is discussing a user problem (as opposed to a feature request).

  5. Conditional Routing: The If Condition 2 n8n node checks if the AI classifier output contains "Yes". If it is a confirmed problem, the n8n workflow continues down the solution path.

  6. Solution Generation: A second AI Agent1 n8n node, using the faster models/gemini-2.0-flash model, generates a concise, actionable solution plan based on the original Reddit post text.

  7. Data Merge: The Merge1 n8n node combines the original Reddit item data with the AI-generated solution text, preparing a consolidated item for logging and posting.

  8. Logging: The Append row in sheet Google Sheets n8n node archives the original post details and the generated solution into a spreadsheet, making this n8n workflow highly auditable.

  9. Auto-Reply (Optional): The Create a comment in a post Reddit n8n node is configured to post the AI solution text back to the original Reddit thread. Users of this n8n template should ensure this node is configured correctly and tested thoroughly before enabling.

Installation Guide


  1. Importing the n8n Workflow: Copy the provided JSON data and paste it into your n8n canvas to deploy this n8n workflow immediately.

  2. Credential Setup: Ensure all required credentials are set up in your n8n instance:

Reddit (OAuth): Required by the search and comment n8n node operations.
Google Sheets: Needed for data logging via the Google Sheets n8n node.
* Google Gemini: Required for both AI Agent n8n nodes for LLM processing.

  1. Customization: Modify the Post Searching n8n node to target your specific subreddit and relevant keywords. Adjust the prompts in the AI Agent n8n nodes to fine-tune the classification and solution tone.

  2. Safety Check: We recommend keeping the Create a comment in a post n8n node disabled initially, or pointed to a test subreddit, until you have manually verified the output quality from the AI agents via the Google Sheets logging step.

Node Details

When clicking ‘Execute workflow’ (Manual Trigger): Serves as the initial starting n8n trigger for testing the complete n8n workflow.
Post Searching (Reddit): Searches for posts; a critical n8n node for data acquisition. Key Configuration: Subreddit n8n, keyword Why i stopped using, limit 10.
If Condition (n8n Node): Filters posts to ensure quality, checking that upvotes are >= 2 and that the body (selftext) is present.
AI Agent (Langchain): This core classification n8n node determines if the post expresses a user problem. It is powered by the Google Gemini Chat Model.
If Condition 2 (n8n Node): Controls the flow. It checks if the AI's output from the classification step contains the string "Yes" before proceeding to generate a solution.
AI Agent1 (Langchain): The solution generation n8n node. Generates a suggested resolution or plan. Key Configuration: Uses models/gemini-2.0-flash for high-speed response.
Append row in sheet (Google Sheets Node): Archives the result of the entire n8n workflow, storing the original post metadata and the AI-generated solution. This crucial n8n node provides monitoring capabilities.
Create a comment in a post (Reddit): An action n8n node designed to post the solution back to Reddit. Key Configuration: Uses the AI output (Full Name mapping) as the comment text.

Related n8n Workflows

Free

Nodes: 9 Nodes
Updated: December 26 2025
View all
Created by
Virtual Depth
Virtual Depth

Featured*