Skip to main content

Generate content strategy reports analyzing Reddit, YouTube & X with Gemini

Workflow preview

Workflow preview
100%
Generate content strategy reports analyzing Reddit, YouTube & X with Gemini preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Description This workflow provides a powerful AI assistant for content creators, book editors, and marketers. It automates the collection and analysis of trending discussions from Reddit, YouTube, ...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.splitinbatches, n8n-nodes-base.stickynote, n8n-nodes-base.formtrigger, n8n-nodes-base.set, n8n-nodes-base.reddit, n8n-nodes-base.splitout, n8n-nodes-base.twitter

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sheryl.

Original n8n.io source

1.1 Workflow description

Title
Generate content strategy reports analyzing Reddit, YouTube & X with Gemini
Workflow name
Generate content strategy reports analyzing Reddit, YouTube & X with Gemini

Description

This workflow provides a powerful AI assistant for content creators, book editors, and marketers. It automates the collection and analysis of trending discussions from Reddit, YouTube, and X (Twitter), generating insightful topic reports. This frees you from hours of tedious data compilation, allowing you to make faster, more accurate topic decisions based on deep AI analysis.

How it works

This workflow simulates the complete research process of a strategic editor:

  1. Initiate & Collect: A user submits a keyword via a public Form Trigger. The workflow then automatically fetches relevant, trending content in parallel from the official APIs of Reddit, YouTube, and X (Twitter).

  2. Multi-stage AI Processing & Analysis: The workflow utilizes a layered AI pipeline to process the data.

    • First, a lightweight Gemini model in the AI Pre-filter Content node rapidly screens the vast amount of content to filter out noise.
    • Next, a more powerful Gemini Pro model in the AI Deep Analysis node performs a detailed, structured analysis on each high-value item, extracting summaries, sentiment, and key arguments.
    • Finally, a "strategist" AI model in the AI Synthesize Final Report node aggregates all analyses to generate the comprehensive final topic report in HTML.
  3. Multi-Channel Report Distribution: The workflow distributes the final report to multiple channels based on pre-defined templates. The Send Gmail Report node sends the complete HTML report. The Send Feishu Notification node sends a concise summary card to a group chat. Meanwhile, the Archive to Google Sheets node archives key data.

Setup Steps

This workflow takes approximately 20-30 minutes to set up, with most of the time spent connecting your accounts.

  1. Connect Your API Accounts: In the n8n Credentials section, you will need to prepare and connect credentials for the following services:

    • Google: For the Gemini AI model, Gmail sending, and Google Sheets archiving. This requires a Google Cloud API Key and OAuth2 credentials.
    • Reddit: For fetching Reddit posts. This requires a Reddit account with OAuth2 configured in n8n to allow searches.
    • YouTube: For collecting YouTube videos. You'll need to enable the YouTube Data API v3 in your Google Cloud Console and get an API Key.
    • Twitter: For the official Twitter node, requiring a free developer account and an App with v2 API access.
  2. Configure Output Channels: In the final nodes (Send Gmail Report, Send Feishu Notification, Archive to Google Sheets), update the recipient email address, the Feishu bot's Webhook URL, and the target spreadsheet ID to match your own.

  3. Activate and Share the Trigger: Activate the workflow. The first Form Trigger node will automatically generate a public URL. Share this link with your team members to let them start using the tool.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Apify抓取x推文

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - ScrapingBee抓取x推文

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - twitterapi抓取x推文

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 5 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Form Trigger

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.2

Block 9 - Analysis Parameters

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Reddit: Search Posts

Type / Role
n8n-nodes-base.reddit - reddit
Config choices
Version 1

Block 11 - Format Reddit Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - YouTube: Search Videos

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 14 - X: Search Tweets

Type / Role
n8n-nodes-base.twitter - twitter
Config choices
Version 2

Block 15 - Parse Twitter Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Format YouTube Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - Merge: All Sources

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 18 - AI Pre-filtering

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 19 - Pre-filter Content

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 20 - Parse AI Filter Results

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 21 - IF: Is Content Relevant

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 22 - Handle Filter Errors

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 23 - Aggregate: Relevant Items

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 24 - AI Deep Analysis

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Showing the first 24 of 34 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Generate content strategy reports analyzing Reddit, YouTube & X with Gemini
Complexity advanced
Nodes 34
Categories Market Research, AI Summarization
Author Sheryl
Published 26 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5375/5375.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate content strategy reports analyzing Reddit, YouTube & X with Gemini do?

Description This workflow provides a powerful AI assistant for content creators, book editors, and marketers. It automates the collection and analysis of trending discussions from Reddit, YouTube, ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.