ETL Pipeline: Tweet Collection, Sentiment Analysis & Slack Alerts
Automates daily tweet collection via Twitter, stores in MongoDB, performs sentiment analysis with Google Cloud NL, saves enriched data to Postgres, and notifies Slack of positive tweets.
This n8n workflow implements a complete ETL pipeline for processing tweets. It starts with a Cron node triggering daily execution to search Twitter for specific hashtags like #OnThisDay. Collected tweets are inserted into MongoDB for raw storage, then analyzed using Google Cloud Natural Language API to determine sentiment scores and magnitudes. A Set node extracts these key metrics, which are then inserted alongside the original tweet data into a Postgres database for structured querying and reporting.
Following data enrichment, an IF node filters tweets based on sentiment positivity. Positive tweets (high score) are posted to a designated Slack channel with formatted messages including the tweet text, score, and magnitude for immediate team visibility. Negative or neutral tweets are routed to a NoOp node, ensuring only actionable insights are highlighted. This setup prevents alert fatigue while capturing valuable social sentiment.
Benefits include significant time savings on manual social media monitoring, scalable data pipelines for growing tweet volumes, and integration of AI-driven insights into business workflows. Use cases span social media analytics, brand monitoring, customer sentiment tracking, and content curation—ideal for marketing teams, PR agencies, or any operation needing real-time positive buzz detection. The workflow's modularity allows easy customization for different hashtags, databases, or notification channels.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
WhatsApp Business Automation
7 hand-picked workflows for $39.00.
That is $5.57 each, vs $22.99 for this one alone.
View bundleSecure checkout powered by Stripe
Tags
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Crypto & Blockchain workflows
- Real-time Crypto Insights with CoinMarketCap and AI via Telegram$14.99
- Automated Multi-Timeframe Trading Analysis for WEEX Spot Market with GPT-4 and Telegram$24.99
- Automate Crypto News Digest to Telegram with RSS and GPT-4$14.99
- Automate AI-Driven Stock Trading with Alpaca and Google Sheets$14.99
- Automated Crypto RSI Alerts with EODHD and Telegram Integration$9.99
- Automate Binance Spot Trading with Limit and Market Orders$14.99
More from Timo Salim
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.