Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
An n8n workflow that searches X every morning for posts with a hashtag, saves them in MongoDB and scores their sentiment with Google. The scores go into Postgres, and a positive post is sent to a Slack channel.
Daily tweets scored for sentiment and sent to Slack is an n8n workflow in the Marketing & SEO category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
A daily schedule
It starts by itself:
Rows in MongoDB and Postgres, and a Slack message for each positive post
What you need before you start.
Post search
Searches recent posts that use the hashtag.
NeedsA developer app with credit, in an X OAuth2 credential
Database
Keeps the text of each post.
NeedsA MongoDB credential
Sentiment scoring
Scores how positive or negative each post is.
NeedsA Google Cloud project with the Natural Language API on, in a credential
Database
Keeps each post with its score and magnitude.
NeedsA Postgres credential and a table named tweets
Notification
Shows each positive post in a channel.
NeedsA Slack credential
Checked by Mindket on 13 Nov 2026
This n8n workflow checks X once a day for posts that use a hashtag. A schedule starts it at 6 am. It searches for #OnThisDay, takes up to ten posts and saves each post’s text in MongoDB. Google Cloud Natural Language scores the sentiment of each post. The text and the two scores go into Postgres. If the score is above zero, a Slack message shows the post. Nine nodes do the work.
Small teams who want a daily look at how people talk about a topic, plus a table of scores to study later. Skip it if you need every post on a topic. The search covers only the last seven days, in small batches.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Marketing | Social media managers | Watch the mood around a hashtag each morning | A manager follows a campaign tag and sees the cheerful posts in Slack. |
| Media | Newsroom editors | Spot the tone of public posts on a topic | An editor tracks a history hashtag and keeps the scores in a database. |
| Research | Students | Collect a small sample of posts with sentiment scores | A student saves a week of posts and scores to chart the mood. |
| Brand | Community managers | Find posts worth thanking | A manager reads the positive posts in a Slack channel and replies to the best ones. |
You need some n8n skills and five accounts: X, MongoDB, Google Cloud, Postgres and Slack.
Any n8n that can reach X, Google Cloud, Slack and your two databases will run it.
TwitterSlackDownload saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Five accounts are involved.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| X | A developer app with credit for reading posts, saved in an X OAuth2 credential |
| MongoDB | A database, and a MongoDB credential for it |
| Google Cloud | A project with the Natural Language API turned on, and a Google Cloud Natural Language credential |
| Postgres | A database with a table named tweets that has the columns text, score and magnitude, and a Postgres credential |
| Slack | A Slack app that can post in the channel, and a Slack credential |
workflow.json.Twitter. Change the search text if you do not want #OnThisDay.MongoDB. The collection is called tweets.Google Cloud Natural Language.tweets in Postgres, add a Postgres credential and select it in Postgres.Slack. Change the channel name if you do not use tweets.Activate the workflow and it runs every morning at 6. Each run searches X, stores the posts, scores them and posts the positive ones in Slack. You can also run it by hand while you test.
| To change | Where |
|---|---|
| The search | searchText in Twitter |
| How many posts per run | limit in Twitter, which X accepts from 10 to 100 |
| The time of day | The hour in Schedule Trigger |
| What counts as positive | The comparison and value in IF |
| The Slack message | The text in Slack |
A community manager sets the search text to the name of a product and activates the workflow.
Each morning the latest posts about the product land in MongoDB and Postgres with a score and a magnitude. Posts with a score above zero show up in the Slack channel with both numbers.
If you are new. Sentiment analysis rates how positive or negative a text is. Google returns a score from -1 (negative) to 1 (positive). It also returns a magnitude that grows with the amount of emotion in the text. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job.
For experts. The Twitter node is version 2 and calls X’s recent search endpoint. The Set node reads the post text from Twitter by node name, so a renamed node breaks it. The remaining nodes are version 1.
| Node | What it does | What to know |
|---|---|---|
Twitter | Searches X for recent posts with the hashtag | Recent search covers the last seven days and returns 10 to 100 posts per request |
MongoDB | Inserts the text of each post into the collection tweets | It saves only the text, with no author or date |
Google Cloud Natural Language | Scores the sentiment of each saved post | The score runs from -1 to 1 and the magnitude from 0 upward |
Set | Collects text, score and magnitude in one item | It reads the post text from Twitter by name |
Postgres | Inserts the row into the table tweets | The table must exist first |
IF | Checks whether the score is above 0 | The false route ends in an empty NoOp node |
The search node and the trigger were replaced because the old ones no longer fit. Mindket did not run this workflow.
An n8n workflow that searches X every morning for posts with a hashtag, saves them in MongoDB and scores their sentiment with Google. The scores go into Postgres, and a positive post is sent to a Slack channel.
workflow.json: the workflow as n8n exports it, nine nodes. It holds no credential and no sticky notes.README.md: these notes.IF node compared the score with an empty second value. The value is now an explicit 0.tweets that has the columns text, score and magnitude.workflow.json.Twitter. Change the search text if you do not want #OnThisDay.MongoDB. The collection is called tweets.Google Cloud Natural Language.tweets in Postgres, add a Postgres credential and select it in Postgres.Slack. Change the channel name if you do not use tweets.Schedule Trigger starts the run every day at 6 am.Twitter searches X for recent posts with #OnThisDay and returns ten.MongoDB inserts the text of each post into the collection tweets.Google Cloud Natural Language analyzes the sentiment of each text. Set keeps the text, the score and the magnitude.Postgres inserts each row into the table tweets.IF sends a post with a score above 0 to Slack, which posts it in the channel tweets. The others go to an empty NoOp node.searchText in Twitter.limit in Twitter, which X accepts from 10 to 100.Schedule Trigger.IF.Slack.NOTICE.md 582 B README.md 4 KB workflow.json 5 KB
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
nerijs · Kit
A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…
LiconStudio · Kit
Keeps characters, clothing, objects and backgrounds consistent in generated video by feeding the model up to five reference images. A LoRA for LTX-2.5 in Comfy…
nhathoangfoto · Kit
A LoRA for FLUX.2 Klein 9B that puts a character into the pose shown by a mannequin reference while keeping the character's face and style. For artists and des…