Skip to content
Data & Databases

Collect, Analyze, and Store X Tweets in MongoDB with Slack Alerts

9 nodes 420 157 Scheduled trigger
Download

Loading workflow…

Workflow Description

Scheduled automation that fetches tweets from X, analyzes their sentiment using Google Cloud Natural Language, stores them in MongoDB, and sends actionable alerts to Slack when important conversations are detected.

How it works

  1. 1.Fetch tweets from your X account or tracked keywords on a regular schedule
  2. 2.Analyze sentiment and content meaning of each tweet using cloud NLP
  3. 3.Store tweets and analysis results in your MongoDB database
  4. 4.Send Slack notifications for tweets matching importance or sentiment criteria

Use cases

  • Monitor brand mentions and sentiment trends across X in real-time
  • Collect customer feedback from tweets and archive for product insights
  • Alert your team instantly when positive or negative conversations emerge

Requirements

  • Active X account with API access enabled
  • MongoDB database configured to store tweet data
  • Slack workspace with designated notification channels
  • Valid Google Cloud Natural Language API credentials

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Twitter/X Postgres MongoDB Slack If No Op Google Cloud Natural Language Set Schedule

Details

Trigger Scheduled trigger
Nodes 9
Apps 9
Views 420
Downloads 157

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (9)

Twitter

Set

#1

Postgres

Postgres

#2

MongoDB

Mongo Db

#3

Slack

Slack

#4

IF

If

#5

NoOp

No Op

#6

Google Cloud Natural Language

Google Cloud Natural Language

#7

Set

Set

#8

Cron

Cron

#9
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime