Skip to content

On a schedule

Approve news for your Facebook Page from Telegram

New articles from your feeds become draft Page posts sent to Telegram; tap Approve and they're published.

Runs
On a schedule
Apps
Facebook Pages, Telegram
AI
Yes, uses the built-in AI allowance
Access
pages_manage_posts; bot token

Send this to your assistant

Create a ClickRuntime automation: every hour, check my news feeds for new articles, write a draft Facebook post for each, and send it to me on Telegram with Approve and Skip buttons. Publish the approved ones to my Page.

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 estate agent likes sharing property news and local stories on their Facebook Page, but finding articles and writing posts takes time they'd rather spend with clients. They also want to check every post before it goes out.

Each new article from their chosen feeds now arrives on Telegram as a ready-written post. One tap publishes it to the Page; anything they skip is never posted.

What you get out of it

  • Approve from your phone

    One tap in Telegram, wherever you are.

  • Drafts ready to go

    No writing needed, just a yes or no.

  • Stay relevant locally

    Feeds you choose keep the Page focused on your area.

  • Nothing posts by surprise

    Every post needs your tap first.

How it works

What happens, step by step

  1. Every hour, ClickRuntime checks your feeds for new articles.

  2. AI writes a draft Facebook post for each, and the draft is stored.

  3. You get each draft on Telegram with Approve and Skip buttons.

  4. When you tap Approve, the post is published to your Page, once.

Before it runs live

  • Connect Facebook Pages
  • Connect Telegram

What you get

RunsOn a schedule
Approve news for your Facebook Page from Telegramtoday, 9:00Succeeded
Telegram · Page draftsThe new tram stop on Elm Road opens in spring, good news for buyers in Northfield. [Approve] [Skip]

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 Facebook Pages and Telegram 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_to_facebook_with_telegram_approval.pyexample
import feedparser
from clickruntime import on_trigger, on_event, credentials, http, ai, state, report_fetched

PAGE_ID, CHAT = "1234567890", "123456789"

@on_trigger
def run(event):
    seen = state.get("seen") or []
    new = [e for e in feedparser.parse("https://news.example.org/local.rss").entries if e.link not in seen]
    report_fetched(len(new))
    if not new:
        return {"summary": "No new articles"}
    token = credentials.secret("TELEGRAM_BOT_TOKEN")
    for n, e in enumerate(new):
        key, draft = f"{len(seen) + n}", ai.generate(f"Short Facebook post for a local estate agent sharing: {e.title}", max_output_tokens=150).text.strip()
        state.set(f"draft:{key}", {"text": draft, "link": e.link})
        buttons = [[{"text": "Approve", "callback_data": f"ok:{key}"}, {"text": "Skip", "callback_data": f"no:{key}"}]]
        http.post(f"https://api.telegram.org/bot{token}/sendMessage",
                  json={"chat_id": CHAT, "text": f"{draft}\n{e.link}", "reply_markup": {"inline_keyboard": buttons}})
    state.set("seen", (seen + [e.link for e in new])[-500:])
    return {"drafts": len(new)}

@on_event
def on_button(event):
    action, key = (event.json or {}).get("callback_query", {}).get("data", "no:").split(":")
    if action == "ok" and (d := state.get(f"draft:{key}")):
        http.post(f"https://graph.facebook.com/v21.0/{PAGE_ID}/feed",
                  data={"message": d["text"], "link": d["link"], "access_token": credentials.connection("facebook", "work")})
    state.delete(f"draft:{key}")
    return {"action": action}

FAQ

Common questions

What does each Telegram message include?
The draft post, the article title and link, and Approve and Skip buttons.
What if I don't respond?
The draft simply waits. Nothing is posted until you tap Approve.
Can I change a draft?
Reply to the message with your own wording, and that version is posted instead.
What permissions does it need?
pages_manage_posts; bot token. 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 “Approve news for your Facebook Page from Telegram” from your assistant

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