Hourly
Tweet new articles from a news feed
New items from the feeds you follow are tweeted with a short line and link, each only once.
- Runs
- Hourly
- Apps
- X
- AI
- Yes, uses the built-in AI allowance
- Access
- tweet.write media.write
Send this to your assistant
Create a ClickRuntime automation: every hour, take new items from https://example.com/news/rss, write a one-line tweet with the link and post it, including the article image if there is one.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Accounts that cover a niche, such as crypto regulation, a sports league or a regional job market, rely on being first and consistent with news. Doing it by hand means refreshing five sites, writing a tweet for each story and attaching the right image, a job that eats an hour at the worst moment and leaves the account silent when the editor is asleep.
Every hour, your chosen feed or news source is read. Items posted before are skipped through stored state, ClickRuntime's built-in AI writes tweet text for each new one, and the post is published with the article's image uploaded if the feed includes one.
Newsletter publishers, trade associations and local news accounts tend to use it to keep a steady stream going between longer pieces. Followers see a steady flow of stories without anyone refreshing a feed by hand.
What you get out of it
Your account covers news around the clock
Stories published overnight or on weekends are tweeted within the hour, which keeps followers coming to you for news instead of a faster competitor. Being first matters in news, and a quiet account loses followers to one that posts faster.
Tweets read like tweets
The AI writes text for X rather than pasting a headline, which means a hook, a short summary and a link in a form that fits the platform. A tweet written for the platform gets more attention than a bare headline and link.
Stories are never posted twice
The saved list of used items means a feed that republishes an article, or a run that overlaps, does not produce a duplicate tweet that makes you look automated. Posting a story twice makes an account look broken, so this safeguard protects its reputation.
Images are attached when available
A post with the article's image gets more attention than a bare link, and uploading it automatically saves the editor from downloading and attaching pictures. Visual posts get more attention in a fast-moving timeline, and automation handles the upload.
Source quality stays in your hands
You decide which feeds to include, so the account is only as noisy as the sources you choose, and you can drop a feed that produces poor stories. Dropping a poor source is a single edit, so quality control stays with you.
How it works
What happens, step by step
Every hour, ClickRuntime checks your news feed for new articles.
Articles it has already tweeted are skipped.
AI writes a short tweet for each new article, with the link.
The tweet is posted on your X account, with the article's image when there is one.
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
- Change what the AI looks for, or how it writes the result
- 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
import xml.etree.ElementTree as ET
from clickruntime import on_trigger, report_fetched, state, http, credentials, ai
FEED = "https://example.com/news/rss"
@on_trigger
def run(event):
posted = set(state.get("posted") or [])
items = [i for i in ET.fromstring(http.get(FEED).content).iter("item") if i.findtext("link") not in posted]
report_fetched(len(items))
if not items:
return {"summary": "No new items"}
auth = {"Authorization": "Bearer " + credentials.connection("x", "main")}
for item in items[:5]:
link = item.findtext("link")
line = ai.generate(f"Write a one-line tweet (max 200 chars, no hashtags) for this headline: {item.findtext('title')}", max_output_tokens=80).text.strip()
tweet = {"text": f"{line[:250]} {link}"}
image = item.find("enclosure")
if image is not None and image.get("type", "").startswith("image/"):
media = http.post("https://api.x.com/2/media/upload", headers=auth,
files={"media": http.get(image.get("url")).content}, data={"media_category": "tweet_image"}).json()
tweet["media"] = {"media_ids": [media["data"]["id"]]}
http.post("https://api.x.com/2/tweets", headers=auth, json=tweet).raise_for_status()
posted.add(link)
state.set("posted", list(posted)[-500:])
return {"posted": len(items[:5])}FAQ
Common questions
Do I need permission to repost another site's news?
How many tweets will it post in a day?
What if the feed has no image?
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
Approve 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 worksPost a Spanish version of every tweet
Your Spanish-speaking followers get each tweet in their language as a reply.
See how it worksSend new X mentions to Slack
Every @mention of your account shows up in Slack within 15 minutes.
See how it worksKeep exploring
Set up “Tweet new articles from a news feed” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.