Every 15 minutes
Send new X mentions to Slack
Every @mention of your account shows up in Slack within 15 minutes.
- Runs
- Every 15 minutes
- Apps
- X
- AI
- Not needed
- Access
- tweet.read users.read
Send this to your assistant
Create a ClickRuntime automation: every 15 minutes, check X for new mentions of @myaccount and post each one to #social in Slack with a link.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
The X notifications tab is a poor place to run customer care. Mentions from customers, partners and journalists are mixed with likes, follows and reposts, and the people who should answer, such as support or the community manager, are not always watching the account. A question tagged to your handle on Friday afternoon can sit until Monday.
Every 15 minutes, mentions of your account are fetched starting after the last post ID stored from the previous run. Each new mention is posted to your Slack channel, and the newest ID is saved so the next check begins where this one ended.
Small teams where several people share responsibility for an X account, and agencies running accounts for clients, are the typical users. Customers get a faster answer, and nobody has to babysit the X app to make that happen.
What you get out of it
The right people see mentions
Moving mentions into Slack puts them in front of support and community staff in the tool they already have open, rather than only with whoever holds the X login. Support and community teams rarely live in X, but they always live in Slack.
Weekend questions are not lost
A tagged question on Saturday reaches a Slack channel that someone on call can glance at, which beats finding it when the week starts. Someone on call can catch it Saturday, which is better than a customer waiting until Monday.
Replies can be assigned in-thread
Teammates can respond in Slack with a note that they are taking a mention, which prevents two people from answering the same customer in different ways. A short note under the message avoids two people answering the same customer differently.
Less noise than the notifications tab
Only mentions arrive, without likes and follows mixed in, so the channel stays readable and each message is something that might need a response. Less clutter means each message deserves a glance, and people keep the channel open.
A searchable archive of mentions
Slack search lets you look up what a customer said last quarter or find every mention from a particular account, which the X interface makes awkward. Searching across months of mentions helps when a customer says they raised it before.
How it works
What happens, step by step
Every 15 minutes, ClickRuntime checks X for new posts that mention your account.
It only picks up mentions newer than the last one it saw, so nothing is sent twice.
Each new mention is posted to your Slack channel with the author's handle, what they wrote and a link to the post.
Before it runs live
- Connect X
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other X steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_trigger, report_fetched, state, notify, http, credentials
@on_trigger
def run(event):
auth = {"Authorization": "Bearer " + credentials.connection("x", "main")}
me = http.get("https://api.x.com/2/users/me", headers=auth).json()["data"]["id"]
params = {"expansions": "author_id", "user.fields": "username", "max_results": 100}
if state.get("since_id"):
params["since_id"] = state.get("since_id")
data = http.get(f"https://api.x.com/2/users/{me}/mentions", headers=auth, params=params).json()
mentions = data.get("data", [])
report_fetched(len(mentions))
if not mentions:
return {"summary": "No new mentions"}
users = {u["id"]: u["username"] for u in data.get("includes", {}).get("users", [])}
for t in reversed(mentions):
notify.slack(f"@{users.get(t['author_id'], '?')}: {t['text']}\nhttps://x.com/i/web/status/{t['id']}", channel="#social")
state.set("since_id", data["meta"]["newest_id"])
return {"posted": len(mentions)}FAQ
Common questions
Does it include replies to my posts?
Will it show protected or deleted accounts?
Can mentions from my own accounts be ignored?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get Slack alerts when your brand is mentioned
Posts naming your brand or a competitor reach Slack within 15 minutes.
See how it worksTweet new articles from a news feed
New items from the feeds you follow are tweeted with a short line and link, each only once.
See how it worksApprove replies to your mentions by email
Each new mention gets a drafted reply in your inbox, posted only when you click to approve.
See how it worksKeep exploring
Set up “Send new X mentions to Slack” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.