AutomationFlowsSocial Media › Analyze Reddit Content and Comments for Sentiment with Deepseek AI

Analyze Reddit Content and Comments for Sentiment with Deepseek AI

ByGerald Denor @dominixai on n8n.io

Automatically analyze Reddit posts and comments to extract sentiment, emotional tone, and actionable community insights using AI.

Webhook trigger★★★★☆ complexityAI-powered12 nodesRedditOpenRouter ChatChain Llm
Social Media Trigger: Webhook Nodes: 12 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #6477 — we link there as the canonical source.

This workflow follows the Chainllm → OpenRouter Chat recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "TEMPLATE_WORKFLOW_ID",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Reddit Sentiment Analysis",
  "tags": [],
  "nodes": [
    {
      "id": "b38ce2cf-0db8-448f-9447-41fa2ad7deb0",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -440,
        -140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "22a4c3e7-7013-4628-8df1-2398aad3ff80",
      "name": "Get many comments in a post",
      "type": "n8n-nodes-base.reddit",
      "position": [
        100,
        80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "83bb326b-ad7e-4c30-bad3-f2a2a2a51300",
      "name": "Get many posts",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -240,
        80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1d211962-4178-4454-8c80-1c00bbdd13e8",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -400,
        80
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "5c8e928b-1eb7-4e81-8d8c-6adc79914c5c",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -60,
        80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6f00526d-b220-44a2-8cca-8c2284b7d097",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        280,
        80
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "41d1795e-14e4-4a20-8852-c432d875833d",
      "name": "OpenRouter Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        720,
        260
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dc60016c-55bd-48b1-b368-abe79c939055",
      "name": "Structured Data Generator",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        820,
        100
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "69a475a7-631d-41c9-aeb5-4ac09ebf5536",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        1120,
        100
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "29ed9837-4dca-4c7b-9110-6c118cf9d914",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1260,
        100
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "9e595a99-ca1e-47f1-b3c1-a3acaea64546",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "400088ab-5276-4554-940e-1d98448eb0e9",
      "name": "Sentiment Analyzer",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        500,
        100
      ],
      "parameters": {},
      "typeVersion": 1.7
    }
  ],
  "active": true,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "NEW_VERSION_ID",
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Get many posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Get many comments in a post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many posts": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          },
          {
            "node": "Sentiment Analyzer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sentiment Analyzer": {
      "main": [
        [
          {
            "node": "Structured Data Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Data Generator",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Sentiment Analyzer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Data Generator": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many comments in a post": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Automatically analyze Reddit posts and comments to extract sentiment, emotional tone, and actionable community insights using AI.

Source: https://n8n.io/workflows/6477/ — original creator credit. Request a take-down →

More Social Media workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Social Media

Are you a small YT channel looking to grow to 1000 subs ? This workflow has helped me grow to 80 subs via Reddit Marketing. Check out the YT Tutorial.

Google Sheets, Form Trigger, Gmail +5
Social Media

A powerful workflow to scrape Reddit posts and comments by keywords and/or subreddit, with intelligent filtering and formatting. Search Reddit - Accepts keywords and/or subreddit parameters via webhoo

HTTP Request Tool, Reddit, HTTP Request
Social Media

Automatically scrape LinkedIn posts with Apify, transform them into optimized tweets and threads using Claude AI, store them in Airtable for approval, and publish to X on a daily schedule.

@Apify/N8N Nodes Apify, Output Parser Structured, Chain Llm +6
Social Media

This workflow transforms scattered Reddit discussions into a systematic lead generation machine by discovering actual marketing problems businesses face and automatically converting them into authorit

HTTP Request, Tool Serp Api, Google Sheets +5