Scheduled X mention monitoring and RocketChat alert workflow
This deterministic n8n workflow searches X for mentions on a cron schedule and normalises tweet text, ID and URL fields. A Function node checks workflow static data to exclude previously seen Tweet IDs. Only newly discovered mentions post immediately to the configured RocketChat channel with a direct link.
- Catalogue ID
- #0356
- Functional nodes
- 6
- Connections
- 4
- Trigger
- manualTrigger, cron
- AI layer
- Deterministic
Business problem solved
Support and community teams miss urgent public mentions when nobody watches social feeds constantly. Conversely, polling searches without tracking seen IDs floods team chat channels with repeated alerts.
Trigger
A cron trigger runs scheduled mention checks, paired with a manual trigger for quick verification.
Connected systems
- X (Twitter)
- RocketChat
- Cron schedule
- Self-hosted n8n
Every workflow is deployed on your own server with documentation, a run log and an error queue.
Workflow architecture
- 1. On clicking 'execute' (Trigger)
- 2. Filter Tweet Data (Service and data) (connects to Only get new tweets)
- 3. Only get new tweets (Logic and routing) (connects to RocketChat)
- 4. n8n.io mentions (Service and data) (connects to Filter Tweet Data)
- 5. RocketChat (Service and data)
- 6. Cron (Trigger) (connects to n8n.io mentions)
- Trigger
- AI layer
- Logic and routing
- Service and data
Node positions and directed links are generated from the verified catalogue record.
Workflow steps
- 01
Scheduled X mention search
The cron trigger searches X for recent mentions targeting your monitored handle.
- 02
Deduplication against static data
Tweet fields are formatted and compared against stored Tweet IDs so previously alerted posts drop out.
- 03
RocketChat channel notification
Each genuinely new mention and its direct URL post straight into the target RocketChat channel.
Error queue and human approval
Built-in state in the catalogue workflow
The verified catalogue workflow contains zero node-level error flags across its 6 functional nodes and 4 connections.
Production layer added by ALTAI
During live deployment, ALTAI aligns cron intervals to your X API tier quota, backs seen IDs with a persistent database table and adds a delivery error queue.
X mention alerts to RocketChat Frequently asked questions
Production deployments tune the cron interval to match your X API plan, typically every 5 to 15 minutes.
Global static data persists inside n8n storage; for high-volume accounts we add a dedicated PostgreSQL or Redis lookup table.
Yes. Replacing the final RocketChat node routes identical alerts into Slack, Teams or Mattermost.
Related n8n workflows
X keyword alerts to Mattermost
Polls recent X posts for a keyword on cron, skips already-seen Tweet IDs in node memory and posts formatted Mattermost attachment cards.
X search to Airtable log
Searches X posts for a tracked term, compares Tweet IDs against existing Airtable records and appends only new entries.
RSS feed to Mastodon publisher
Polls an RSS feed every 10 minutes, tracks lastRssId in global static data and posts new titles and links to Mastodon over HTTP.

We write the proposal after we have found the problem together
In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.
30 minutes · no preparation needed
The call and the week of discovery are both free.Read the terms