Ecommerce and publishing

Scheduled X mention monitoring and RocketChat alert workflow

Short answer

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

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

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

Workflow architecture

  1. 1. On clicking 'execute' (Trigger)
  2. 2. Filter Tweet Data (Service and data) (connects to Only get new tweets)
  3. 3. Only get new tweets (Logic and routing) (connects to RocketChat)
  4. 4. n8n.io mentions (Service and data) (connects to Filter Tweet Data)
  5. 5. RocketChat (Service and data)
  6. 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

Workflow steps

  1. 01

    Scheduled X mention search

    The cron trigger searches X for recent mentions targeting your monitored handle.

  2. 02

    Deduplication against static data

    Tweet fields are formatted and compared against stored Tweet IDs so previously alerted posts drop out.

  3. 03

    RocketChat channel notification

    Each genuinely new mention and its direct URL post straight into the target RocketChat channel.

Error queue and human approval

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.

Frequently asked

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.

Mert Can Gundogdu
The founder takes the call, not a sales team
Next step

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

Chat on WhatsApp