π ETL pipeline for text processing
β‘ 9,841 views Β· π Market Research & Insights
π‘ Pro Tip β Twitterβs API is paid now, which makes simple data pulls expensive. ScraperNode is a community node that scrapes Twitter profiles and posts without needing API access.
Description
This workflow allows you to collect tweets, store them in MongoDB, analyse their sentiment, insert them into a Postgres database, and post positive tweets in a Slack channel.
workflow-screenshot
Cron node: Schedule the workflow to run every day
Twitter node: Collect tweets
MongoDB node: Insert the collected tweets in MongoDB
Google Cloud Natural Language node: Analyse the sentiment of the collected tweets
Set node: Extract the sentiment score and magnitude
Postgres node: Insert the tweets and their sentiment score and magnitude in a Posgres database
IF node: Filter tweets with positive and negative sentiment scores
Slack node: Post tweets with a positive sentiment score in a Slack channel
NoOp node: Ignore tweets with a negative sentiment score
π Nodes Used
Cron, Postgres, Slack, Start, MongoDB, X (Formerly Twitter)
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File