Every 15 minutes
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.
- Runs
- Every 15 minutes
- Apps
- Facebook Pages, X
- AI
- Optional
- Access
- pages_manage_posts; tweet.write
Send this to your assistant
Create a ClickRuntime automation: every 30 minutes, check my blog feed for new articles, write a caption for Facebook and a short one for X, share both, and remember which articles were shared.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A nonprofit publishes stories from its projects on its blog, but sharing them on social media depends on a volunteer who isn't always around. Some stories are shared twice, some never.
New articles are now shared automatically within half an hour, once on each network, with captions that fit each platform.
What you get out of it
Every story reaches supporters
Nothing published goes unshared.
Captions that fit
A fuller caption on Facebook, a short one for X.
Never shared twice
Each article is remembered once it's been posted.
No volunteer rota needed
Sharing doesn't depend on who's around.
How it works
What happens, step by step
Every 30 minutes, ClickRuntime checks your blog's feed for new articles.
It skips articles already shared.
It writes a caption for each network, using AI if you've turned it on, or the title otherwise.
The article is shared on your Facebook Page and X, and remembered as done.
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, credentials, http, ai, state, report_fetched
PAGE_ID = "1234567890"
@on_trigger
def run(event):
shared = state.get("shared") or []
new = [e for e in feedparser.parse("https://northwind-trust.example/blog/feed").entries if e.link not in shared]
report_fetched(len(new))
if not new:
return {"summary": "No new articles"}
for e in new:
try:
caption = ai.generate(f"Short social caption for: {e.title}", max_output_tokens=80).text.strip()
except (ai.AINotIncluded, ai.AILimitReached):
caption = e.title
http.post(f"https://graph.facebook.com/v21.0/{PAGE_ID}/feed",
data={"message": caption, "link": e.link, "access_token": credentials.connection("facebook", "work")})
http.post("https://api.twitter.com/2/tweets", json={"text": f"{caption[:250]} {e.link}"},
headers={"Authorization": f"Bearer {credentials.connection('x', 'work')}"})
shared.append(e.link)
state.set("shared", shared[-300:])
return {"shared": len(new)}FAQ
Common questions
Does it need AI for captions?
Will it share old articles on the first run?
Can I delay posts to a better time?
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
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.
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 “Share each new blog post on Facebook and X” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.