On a schedule
Approve articles from your feeds before they go to Facebook and X
New articles from feeds you follow become draft posts, emailed to you with an approve link; approved ones go to Facebook and X.
- Runs
- On a schedule
- Apps
- Facebook Pages, X
- AI
- Yes, uses the built-in AI allowance
- Access
- pages_manage_posts; tweet.write
Send this to your assistant
Create a ClickRuntime automation: every hour, check my news feeds for new articles. Write a draft post for each, email me approve links, and when I approve, publish it to my Facebook Page and X.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
An industry association wants to share useful news with members, but can't risk posting something off-message. Reading feeds, drafting posts and getting sign-off takes a staff member half a day each week.
New articles from trusted feeds now arrive in the inbox as ready-written drafts, each with an approve link. One click publishes it on Facebook and X; anything not approved is simply never posted.
What you get out of it
Curated news without the reading time
Drafts arrive ready to judge, so you only decide yes or no.
Nothing posts without approval
Your brand stays safe from off-message shares.
One click to publish both
Approving posts to Facebook and X together.
Feeds you trust
Only sources you choose are used.
How it works
What happens, step by step
Every hour, ClickRuntime checks your chosen feeds for new articles.
AI writes a draft post for each one, and the drafts are stored.
You get an email with each draft and an approve link.
When you click approve, that post is published to your Facebook Page and X, once.
Before it runs live
- Connect Facebook Pages
- Connect X
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 X 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, notify, report_fetched
PAGE_ID, LINK = "1234567890", "https://run.clickruntime.example/t/abc123"
@on_trigger
def run(event):
seen, lines = state.get("seen") or [], []
new = [e for e in feedparser.parse("https://news.example.org/industry.rss").entries if e.link not in seen]
report_fetched(len(new))
if not new:
return {"summary": "No new articles"}
for n, e in enumerate(new):
draft, key = ai.generate(f"Short social post sharing: {e.title}", max_output_tokens=80).text.strip(), f"{len(seen) + n}"
state.set(f"draft:{key}", {"text": draft, "link": e.link})
lines.append(f"{draft}\n{e.link}\nApprove: {LINK}?approve={key}")
notify.email_me(f"{len(new)} drafts to approve", "\n\n".join(lines))
state.set("seen", (seen + [e.link for e in new])[-500:])
return {"drafts": len(new)}
@on_event
def approve(event):
key = (event.json or {}).get("approve")
if not (d := state.get(f"draft:{key}")):
return {"skipped": True}
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")})
http.post("https://api.twitter.com/2/tweets", json={"text": f"{d['text'][:250]} {d['link']}"},
headers={"Authorization": f"Bearer {credentials.connection('x', 'work')}"})
return state.delete(f"draft:{key}") or {"posted": key}FAQ
Common questions
How do I approve a draft?
What happens to drafts I ignore?
Can I edit 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
Share each new blog post on Facebook and X
When you publish an article, it's shared on your Facebook Page and X within half an hour, with a caption for each.
See how it worksPost AI-written updates to Facebook and X from your topic list
Each day the next topic on your list becomes a Facebook post and an X post, written to fit each one and published.
See how it worksPost about a trending topic in your niche each day
Each day the most talked-about topic in your niche becomes a post on your Facebook Page and X.
See how it worksKeep exploring
Set up “Approve articles from your feeds before they go to Facebook and X” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.