Skip to content

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.

Paste it into your assistant. It tells you what it will send or change before it runs live.

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

  1. Every hour, ClickRuntime checks your news feed for new articles.

  2. Articles it has already tweeted are skipped.

  3. AI writes a short tweet for each new article, with the link.

  4. 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

RunsHourly
Tweet new articles from a news feedtoday, 9:00Succeeded
X · @northwindnewsNorthwind opens its third distribution hub, cutting delivery times in the north by a day https://example.com/news/hub-3

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • 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

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
post_news_from_a_feed_to_x.pyexample
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?
Sharing a headline and link is generally acceptable and sends readers to the source, but copying whole articles or images may infringe rights. Credit the source, link back, and check the feed's terms before using its images.
How many tweets will it post in a day?
One for each new feed item the hourly check finds, so a busy feed could produce many. You can cap the number per run, or filter by keyword so only items about your topic are posted, which protects your followers' timelines.
What if the feed has no image?
The tweet is still posted, with the text and link, and X will usually show a link preview card. Your AI assistant can supply a default image for items without one if you want a consistent visual look.
What permissions does it need?
tweet.write media.write. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it checks. Checks that find nothing new and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

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.