Skip to content

On a schedule

Post about a new article in your niche on X each day

Each day the best new article on your topic becomes a short post on X with the link, and no article is posted twice.

Runs
On a schedule
Apps
SerpApi, X
AI
Yes, uses the built-in AI allowance
Access
SerpApi key; X tweet.write

Send this to your assistant

Create a ClickRuntime automation: every day at noon, find new articles on my topic with SerpApi Google News, write a post for X about the best one with the link, and publish it.

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

A small cycling shop wants its X account to be worth following, not just a stream of sales. Sharing interesting cycling news is a good way to do that, but someone has to find a story each day and write something better than the headline.

This automation keeps the account active. Each day it searches Google News for the shop's topic through SerpApi, skips stories it has already shared, and AI picks the best one and writes a short post with the link. Followers get a useful story a day, and the shop stays visible without anyone remembering to post.

What you get out of it

  • An account worth following

    A steady stream of relevant news gives people a reason to follow you. That audience is there when you do have something to announce.

  • Posts every day, hands off

    Finding, choosing and writing all happen automatically. The account keeps posting during busy weeks and holidays.

  • Never the same story twice

    Articles that have been shared are remembered, so followers always see something new.

  • A sentence of context, not just a headline

    Each post adds a short comment on why the story is interesting. That earns more clicks and replies than a bare headline.

How it works

What happens, step by step

  1. Every day at the time you choose, ClickRuntime searches Google News for your topic through SerpApi.

  2. It drops any article it has already posted about.

  3. AI picks the most interesting new article and writes a short post with the link.

  4. The post is published from your X account and the article is remembered so it is not shared again.

Before it runs live

  • Connect SerpApi
  • Connect X

What you get

RunsOn a schedule
Post about a new article in your niche on X each daytoday, 9:00Succeeded
X · @northwindcyclesDisc brakes are now standard on every bike in this year's pro peloton. Here's what that means for your next upgrade: https://...

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

  • Run it at a different time, more or less often, or only on weekdays
  • 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 SerpApi and 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.
turn_new_articles_into_tweets.pyexample
from clickruntime import on_trigger, credentials, http, state, ai

TOPIC = "road cycling"

def post_to_x(text):
    r = http.post("https://api.x.com/2/tweets", headers={"Authorization": f"Bearer {credentials.connection('x', 'work')}"}, json={"text": text})
    r.raise_for_status()
    return r.json()["data"]["id"]

@on_trigger
def run(event):
    used = set(state.get("used") or [])
    news = http.get("https://serpapi.com/search", params={"engine": "google_news", "q": TOPIC, "api_key": credentials.secret("SERPAPI_API_KEY")}).json().get("news_results", [])
    fresh = [n for n in news if n.get("link") and n["link"] not in used][:8]
    if not fresh:
        return {"posted": False}
    listing = "\n".join(f"{i}. {n['title']}" for i, n in enumerate(fresh))
    pick = fresh[int(ai.generate(f"Which is most interesting to {TOPIC} fans? Number only.\n{listing}", max_output_tokens=5).text.strip() or 0)]
    text = ai.generate(f"Write a post for X under 230 characters about: {pick['title']}. No hashtags.", max_output_tokens=80).text.strip()[:250]
    post_to_x(f"{text} {pick['link']}")
    state.set("used", list(used | {pick["link"]})[-300:])
    return {"posted": pick["title"]}

FAQ

Common questions

Can I limit it to certain sources?
Yes. Add trusted sites to the search, such as "site:cyclingweekly.com", and only articles from those sites are considered.
What if there is no new article?
Nothing is posted that day rather than repeating an old story.
Does it post at a set time?
Yes, at the time you choose. Pick a time when your followers are most active.
What permissions does it need?
SerpApi key; X tweet.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 runs (on a schedule). Checks that find nothing to do 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 “Post about a new article in your niche on X each day” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.