Skip to main content

Track top social media trends with Reddit, Twitter, and GPT-4o to SP/Drive

Workflow preview

Workflow preview
100%
Track top social media trends with Reddit, Twitter, and GPT-4o to SP/Drive preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Who’s it for Content creators, marketers, journalists, and product teams who need a quick, automated snapshot of what the internet is talking about—served as a ready to use spreadsheet every mornin...

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.merge, n8n-nodes-base.code, n8n-nodes-base.spreadsheetfile, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.manualtrigger, n8n-nodes-base.microsoftsharepoint

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Track top social media trends with Reddit, Twitter, and GPT-4o to SP/Drive
Workflow name
Track top social media trends with Reddit, Twitter, and GPT-4o to SP/Drive

Who’s it for

Content creators, marketers, journalists, and product teams who need a quick, automated snapshot of what the internet is talking about—served as a ready-to-use spreadsheet every morning.

How it works / What it does

  1. Manual Trigger / Cron starts the flow.
  2. Set Config picks today’s date and a topic keyword (default “Artificial Intelligence”).
  3. API calls gather trend data:
    Reddit API → /r/artificial “hot” posts.
    Twitter (X) Trends via our own plemeo endpoint or any other social API.
    (Add additional sources before the Merge Data node—Instagram, YouTube, TikTok, etc.)
  4. Aggregate Content concatenates raw titles; AI Agent (GPT-4o) analyses them and returns the top 5 trends in JSON.
  5. Prepare Excel formats each trend into rows; Create Excel turns them into an .xlsx file.
  6. Upload the file to SharePoint (swap for Google Drive, Dropbox, S3—just replace the node).

How to set up

  1. Import the template into n8n (cloud or self-hosted).
  2. Create credentials: Reddit OAuth2, OpenAI, and your preferred storage (SharePoint, Drive, etc.).
  3. In Set Config choose your default topic; adjust the cron schedule if required.
  4. If you’re using Google Drive/Dropbox: delete the SharePoint node and add the corresponding upload node instead.
  5. (Optional) Add more APIs—duplicate Merge Data inputs and map their results in Aggregate Content.
  6. Save & activate. A spreadsheet called social-media-trends.xls appears in your target folder each run.

Requirements

  • n8n 1.33 +
  • Reddit app (OAuth2)
  • OpenAI account
  • One storage credential: SharePoint, Google Drive, Dropbox, or any other supported provider

How to customize

  • Change the number of trends: edit the limit in Aggregate Content and the prompt in AI Agent.
  • Want CSV instead of Excel? Swap Create Excel for Spreadsheet File → to File (CSV).
  • Push trends to Slack/Teams: branch after Prepare Excel and add a chat node.
  • Fully serverless? Trigger via webhook instead of manual/cron.

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 - Reddit API

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

Block 2 - Merge Data

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

Block 3 - Aggregate Content

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

Block 4 - Prepare Excel

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

Block 5 - Create Excel

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

Block 6 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 7 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 8 - When clicking ‘Execute workflow’

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

Block 9 - Microsoft SharePoint

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

Block 10 - Get Twitter Trends

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

Block 11 - Set Config

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

Block 12 - Sticky Note

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

Block 13 - Sticky Note1

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

Block 14 - Sticky Note2

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

Block 15 - Sticky Note3

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

3. Summary Table

Workflow Track top social media trends with Reddit, Twitter, and GPT-4o to SP/Drive
Complexity advanced
Nodes 15
Categories Market Research, AI Summarization
Author plemeo
Published 22 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6272/6272.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 Track top social media trends with Reddit, Twitter, and GPT-4o to SP/Drive do?

Who’s it for Content creators, marketers, journalists, and product teams who need a quick, automated snapshot of what the internet is talking about—served as a ready to use spreadsheet every mornin...

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.