Skip to content

Every hour

Announce new articles and videos on X

Each new blog post or YouTube video gets its own post on X, and every announcement is logged in your sheet.

Runs
Every hour
Apps
Google Sheets, X
AI
Yes, uses the built-in AI allowance
Access
X tweet.write; Sheets edit

Send this to your assistant

Create a ClickRuntime automation: every hour, check my blog feed and YouTube channel for anything new. Write an X post for each one, publish it, and add a row to my Promotion Log sheet.

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

Creators and small companies publish articles and videos regularly but often forget to tell their X followers about them. Promotion depends on remembering, and an unannounced video gets a fraction of the views it would have had in its first days.

Announcing every new piece the hour it appears makes promotion part of publishing rather than an extra job. The log sheet gives you a record of what was shared and when.

What you get out of it

  • Nothing goes unannounced

    Every article and video is shared on X, including the ones published on a busy day.

  • Early views where they count

    Posting within the hour helps new content get attention while it is newest, which is when platforms decide what to show more widely.

  • A record of every share

    The sheet logs the title, link, post and date, so you can see what was promoted and compare results later.

  • No double posts

    Links already in the sheet are skipped, so the same video is never announced twice.

How it works

What happens, step by step

  1. Every hour ClickRuntime checks your blog and YouTube feeds for new items.

  2. It skips anything already listed in your log sheet.

  3. AI writes a short X post for each new item with its link.

  4. The post is published on X and a row is added to your sheet with the title, link and date.

Before it runs live

  • Connect your Google Sheets account and pick the spreadsheets it may use
  • Connect X

What you get

RunsEvery hour
Announce new articles and videos on Xtoday, 9:00Succeeded
X · @acmestudioNew video: we rebuilt our checkout in a weekend and cut drop-off by a third. Here's every step 👇 youtu.be/…

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 Google Sheets 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.
promote_new_blog_posts_and_videos_on_x_logged_in_a_sheet.pyexample
from datetime import datetime, timezone
import feedparser
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, report_fetched, credentials, http, ai

FEEDS = ["https://blog.example.com/feed", "https://www.youtube.com/feeds/videos.xml?channel_id=UCxxxxxxxx"]
SHEET_ID = "your-spreadsheet-id"

@on_trigger
def run(event):
    sheets = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False).spreadsheets()
    logged = {r[1] for r in sheets.values().get(spreadsheetId=SHEET_ID, range="Log!A2:B").execute().get("values", []) if len(r) > 1}
    new = [e for url in FEEDS for e in feedparser.parse(url).entries[:10] if e.link not in logged]
    report_fetched(len(new))
    if not new:
        return {"posted": 0}
    x = {"Authorization": "Bearer " + credentials.connection("x", "main")}
    rows = []
    for e in new:
        text = ai.generate(f"Write an X post under 240 characters announcing: {e.title}", max_output_tokens=100).text.strip()
        http.post("https://api.x.com/2/tweets", headers=x, json={"text": f"{text}\n{e.link}"}).raise_for_status()
        rows.append([datetime.now(timezone.utc).date().isoformat(), e.link, e.title, text])
    sheets.values().append(spreadsheetId=SHEET_ID, range="Log!A:D", valueInputOption="RAW", body={"values": rows}).execute()
    return {"posted": len(rows)}

FAQ

Common questions

Which sources can it watch?
Any RSS feed, which includes most blogs and every YouTube channel. You can list several sources.
Will old posts be announced when I turn it on?
No. On the first run it records what already exists and only announces items published after that.
Can I see what was posted?
Yes, each announcement is added as a row in your sheet with the post text and its link.
What permissions does it need?
X tweet.write; Sheets edit. 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 “Announce new articles and videos on X” from your assistant

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