Data & Databases
Fetch X Tweets, Analyze Sentiment, and Store in MongoDB
9 nodes
106
76
Scheduled trigger
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.Schedule trigger executes the workflow at defined intervals
- 2.Retrieve tweets from your X account timeline
- 3.Analyze text using Google Cloud Natural Language to extract sentiment and entities
- 4.Store analyzed data and metadata in MongoDB collection
- 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
Google Cloud Natural Language
Schedule
Details
Trigger
Scheduled trigger
Nodes
9
Apps
6
Views
106
Downloads
76
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (9)
Set
Postgres
Postgres
MongoDB
Mongo Db
Slack
Slack
IF
If
NoOp
No Op
Google Cloud Natural Language
Google Cloud Natural Language
Set
Set
Cron
Cron