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.
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
Every hour, ClickRuntime checks your feeds for new articles.
AI writes a draft Facebook post for each, and the draft is stored.
You get each draft on Telegram with Approve and Skip buttons.
When you tap Approve, the post is published to your Page, once.
Before it runs live
- Connect Facebook Pages
- Connect Telegram
What you get
Build your own
Need it to work differently?
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
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?
What if I don't respond?
Can I change a draft?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Publish AI posts to your Page and get a Telegram note
AI writes and publishes a post on your Facebook Page from your topic list, and Telegram tells you what went out.
See how it worksGet content ideas on Telegram from trending Instagram posts
Each week Telegram sends you fresh post ideas based on what's doing well on Instagram hashtags in your niche.
See how it worksGet a weekly Meta Ads summary on Telegram
Every Monday Telegram sends you a short summary of last week's Meta ad results and what stood out.
See how it worksKeep exploring
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.