AI Content Strategy Generation from Reddit - n8n Workflow

Use this advanced n8n workflow to automatically monitor Reddit for AI and business automation opportunities. AI agents classify posts and generate full social media content strategies for LinkedIn and Twitter, delivered instantly via Telegram.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  1. AI Automation Agency Owners seeking lead generation opportunities.

  2. Digital Marketers who need fresh, relevant content ideas for technical audiences.

  3. Content Strategists looking for highly targeted n8n templates for market research.

  4. Entrepreneurs who need a daily digest of high-potential business problems related to AI and automation.

Overview

Generating relevant, high-quality content that speaks directly to market needs can be time-consuming. This comprehensive n8n workflow solves this by autonomously monitoring niche Reddit communities (like r/n8n, r/ArtificialInteligence, and r/entrepreneur) for burning questions and requests related to AI and automation.

This robust n8n workflow uses advanced AI agents (via OpenRouter) and custom scripting to classify posts into 'Questions' (which require educational content) and 'Requests' (which represent sales/service opportunities). Based on the classification, the AI generates tailored social media posts (for LinkedIn and Twitter) complete with relevancy scores and summaries. This makes the entire process of strategic content planning an automated function within your n8n setup, delivering actionable intelligence directly to your Telegram channel daily. This is a powerful example of what is achievable with custom n8n node combinations.

How it Works

The entire automation begins with the Daily Schedule n8n trigger, set to run once a day at noon.


  1. Data Collection: The n8n workflow simultaneously queries three specific Reddit n8n node instances to scrape hot posts and search results regarding 'AI Automation,' 'n8n Posts,' and 'AI Business' opportunities.

  2. Data Aggregation: A Merge n8n node combines the results from the three Reddit searches into a unified dataset.

  3. AI Classification: The core routing logic uses a LangChain Text Classifier n8n node to categorize each post's content (selftext) as either a 'Question' (seeking information) or a 'Request' (seeking a service/solution).

  4. AI Agent Execution:

Questions Path: If classified as a question, the data is passed to an AI Agent n8n node configured with a detailed entrepreneurial persona. This agent analyzes the knowledge gap, assigns educational relevancy/detail scores, and generates educational social media content ideas (LinkedIn/Twitter).
Requests Path: If classified as a request, the data goes to a second AI Agent n8n node, configured for sales analysis. This agent determines project feasibility, assigns sales relevancy/feasibility scores, and generates sales-focused content ideas for the agency.

  1. Structured Output Processing: The outputs from both AI agents are processed and combined using Merge n8n node logic, ensuring all relevant scores and content strategies are compiled.

  2. Final Formatting: A Code n8n node takes the merged, structured data and formats it into a single, comprehensive Telegram message, complete with headers, summaries, and categorized social content.

  3. Telegram Safety Split: A subsequent Code n8n node dynamically checks the length of the final message. Since Telegram has a strict 4096-character limit, this critical n8n node splits the analysis into numbered chunks if necessary.

  4. Delivery: The final Telegram n8n node sends the content strategy (potentially across multiple messages) to the designated chat ID.

Installation Guide

To deploy this comprehensive n8n workflow and start generating content strategies, follow these steps:


  1. Import the JSON: Copy the provided n8n workflow JSON and paste it into your n8n instance via the 'Workflows' section, using the 'New' -> 'Import from JSON' option.

  2. Set up Credentials: This n8n workflow requires three credentials:

Reddit OAuth2 API: Configure credentials for the three Reddit n8n node instances to allow searching and reading posts. (Required for data collection).
OpenRouter API: Configure the OpenRouter API credentials to connect the LangChain/AI node instances. This powers the Text Classifier and the two AI Agents.
* Telegram API: Set up your Telegram Bot Token and Chat ID within the Send to Telegram n8n node. Update the Chat ID parameter (7107208579) to your specific ID.

  1. Activate the n8n Trigger: Ensure the 'Daily Schedule' n8n trigger is configured to your preferred time (default is 12:00 PM).

  2. Review AI Parameters: Review the detailed System Messages within the 'AI Agent' and 'AI Agent1' n8n nodes. Adjust the persona (Femi Adedayo) or the specific scoring frameworks if your agency's focus differs.

  3. Activate: Save the n8n workflow and set it to 'Active'.

Node Details

Daily Schedule (n8n trigger): The starting point of the n8n workflow. It is configured to run automatically every day at a specific time (12:00 PM).
Reddit (Search n8n Posts, Search AI Automation, Search AI Business): These three n8n node instances pull relevant business intelligence data. They are configured to search specific subreddits and keywords related to n8n, AI automation, and entrepreneurship.
Text Classifier (LangChain n8n node): Receives the aggregated data and uses an LLM (via OpenRouter) to classify the text into 'Questions' or 'Requests,' routing the data down separate, specialized analysis paths.
AI Agent / AI Agent1 (LangChain n8n node): These are the core intelligence of the n8n workflow. They contain complex system messages that define a persona and a multi-step analytical framework to generate scores, summaries, and actionable content ideas based on the classified input.
Structured Output Parser (LangChain n8n node): Ensures that the LLM response is returned in a predictable, parseable JSON format, making data extraction reliable for subsequent n8n nodes.
Code / Code1 (Custom Code n8n node): The first Code n8n node handles the final message assembly and formatting. The second Code n8n node is crucial for reliability, implementing a logic to split large messages and avoid errors caused by Telegram's character limits, a key technical detail of this n8n workflow.


  • Send to Telegram (n8n node): The final action, broadcasting the strategic analysis and content ideas to the user via Telegram.

Related n8n Workflows

Free

Nodes: 10 Nodes
Updated: December 26 2025
View all
Created by

AI automation specialist with over 1 year of experience empowering entrepreneurs and business owners to scale their operations through intelligent workflow solutions. Leveraging my background in project management and IT, I help transform manual processes into streamlined automated systems. Book a discovery call to explore how custom AI solutions can accelerate your business growth

Featured*