Skip to content

On a schedule

Rewrite new feed articles for your site and share them on Telegram

New articles from the feeds you follow are rewritten as posts on your WordPress site and shared on your Telegram channel with the link.

Runs
On a schedule
Apps
Telegram, WordPress
AI
Yes, uses the built-in AI allowance
Access
WordPress author+; bot admin in channel

Send this to your assistant

Create a ClickRuntime automation: every hour, take new items from these RSS feeds, rewrite them with AI, publish to WordPress and post the link to my Telegram channel.

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 local news site covering a mid-sized town follows the council, the police, the football club and a handful of regional outlets. Its Telegram channel has thousands of subscribers who expect fast updates, but with one editor, turning each announcement into a short article and sharing it takes most of the day.

This automation handles the routine updates. Every hour it checks the feeds, AI rewrites each new item as a short article in the site's style with a credit and link to the source, it is published on WordPress, and the link goes out on the Telegram channel. The editor can spend the day on original reporting.

What you get out of it

  • Faster updates for your readers

    Announcements reach your site and channel within the hour. Readers learn to come to you first.

  • Your site gets the visit

    Telegram subscribers click through to your WordPress site, not someone else's. That builds your own audience and traffic.

  • Written in your style

    Each item is rewritten to suit your readers, with a clear credit to the original source. It reads like your publication, not a copy.

  • Time back for original work

    Routine announcements are handled automatically. The people on your team focus on stories only they can write.

How it works

What happens, step by step

  1. Every hour, ClickRuntime checks each RSS feed on your list for new items.

  2. It skips any item it has already published.

  3. AI rewrites each new item as a short article in your style, with a credit and link to the source.

  4. The article is published on WordPress and its link is posted to your Telegram channel.

Before it runs live

  • Connect Telegram
  • Connect WordPress

What you get

RunsOn a schedule
Rewrite new feed articles for your site and share them on Telegramtoday, 9:00Succeeded
Telegram · @northwindtownnewsCouncil approves new cycle lane on Mill Road. northwindnews.example.com/cycle-lane-mill-road

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 Telegram and WordPress 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.
rss_articles_rewritten_to_wordpress_with_telegram_post.pyexample
import feedparser
from clickruntime import on_trigger, credentials, http, state, ai, report_fetched

FEEDS = ["https://council.example.gov/news/rss", "https://northwindfc.example.com/feed"]
CHANNEL = "@northwindtownnews"
SCHEMA = {"type": "object", "properties": {k: {"type": "string"} for k in ["title", "excerpt", "body_html"]}, "required": ["title", "excerpt", "body_html"]}
WP = "https://blog.example.com/wp-json/wp/v2"

def wp(method, path, **kw):
    r = http.request(method, f"{WP}/{path}", auth=(credentials.secret("WP_USER"), credentials.secret("WP_APP_PASSWORD")), **kw)
    r.raise_for_status()
    return r.json()
def telegram(method, **payload):
    return http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/{method}", json=payload).json()

@on_trigger
def run(event):
    seen = set(state.get("seen") or [])
    new = [e for f in FEEDS for e in feedparser.parse(http.get(f).content).entries[:10] if e.link not in seen]
    report_fetched(len(new))
    if not new:
        return {"published": 0}
    for e in new[:6]:
        art = ai.generate(f"Rewrite as a short local news article (HTML body) crediting and linking {e.link}:\n{e.title}\n{e.get('summary', '')[:2500]}", json_schema=SCHEMA, max_output_tokens=1200).json
        post = wp("POST", "posts", json={"title": art["title"], "excerpt": art["excerpt"], "content": art["body_html"], "status": "publish"})
        telegram("sendMessage", chat_id=CHANNEL, text=f"{art['title']}\n{post['link']}")
        seen.add(e.link)
    state.set("seen", list(seen)[-1000:])
    return {"published": min(6, len(new))}

FAQ

Common questions

Can it translate articles?
Yes. Ask for posts in another language and AI rewrites each item in that language.
Does it need to be an admin in the channel?
Yes. Add your bot to the Telegram channel as an admin with permission to post messages.
What about copyright?
The posts summarise in your own words and link to the source. Check each source's terms, and use only feeds you are allowed to draw on.
What permissions does it need?
WordPress author+; bot admin in channel. 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 “Rewrite new feed articles for your site and share them on Telegram” from your assistant

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