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.

n8n
ETL Pipeline: Tweet Collection, Sentiment Analysis & Slack Alerts

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.

$22.99
Last updated October 17, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Crypto & Blockchain workflows

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.