Skip to content
Data & Databases

Fetch X Tweets, Analyze Sentiment, and Store in MongoDB

9 nodes 445 128 Scheduled trigger
Download

Loading workflow…

Workflow Description

Automated workflow that retrieves tweets from your X account on a schedule, analyzes their sentiment and content using natural language processing, stores results in MongoDB, and sends regular summaries to Slack for team visibility.

How it works

  1. 1.Schedule trigger executes the workflow at defined intervals
  2. 2.Retrieve tweets from your X account timeline
  3. 3.Analyze text using Google Cloud Natural Language to extract sentiment and entities
  4. 4.Store analyzed data and metadata in MongoDB collection
  5. 5.Send results summary to Slack channel with key insights

Use cases

  • Monitor tweet performance and audience reception automatically
  • Collect social media data for analytics and reporting
  • Build an intelligent archive of tweets with sentiment classification

Requirements

  • Active X (Twitter) account with API access
  • MongoDB database configured and ready
  • Google Cloud Natural Language API credentials
  • Slack workspace with message posting permissions

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 445
Downloads 128

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