The moment it happens
Share each new article on Facebook and LinkedIn
Every new article on your site is announced on your Facebook Page and LinkedIn with a short introduction.
- Runs
- The moment it happens
- Apps
- Facebook Pages, LinkedIn
- AI
- Optional
- Access
- pages_manage_posts; LinkedIn w_member_social
Send this to your assistant
Create a ClickRuntime automation: when my website publishes a new article, write a short intro for it and share the link on my Facebook Page and LinkedIn.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A consultancy publishes thoughtful articles on its website, but they're shared inconsistently: sometimes on LinkedIn, rarely on Facebook, often days late. Good writing gets few readers.
Each new article is now announced on both networks as soon as it's published, with a short intro that tells people why it's worth reading.
What you get out of it
Every article gets readers
No piece is published to silence because someone forgot to share it.
Shared at the right moment
Announcements go out as soon as the article is live.
A reason to click
A short intro outperforms a bare link.
Never shared twice
Each article address is remembered, so updates to an old post don't trigger a second share.
How it works
What happens, step by step
Your website tells ClickRuntime that a new article has been published.
It checks that this article hasn't been shared before.
AI writes a short intro, unless the article already has an excerpt.
The link is shared on your Facebook Page and LinkedIn.
Before it runs live
- Connect Facebook Pages
- Connect LinkedIn
- Paste your automation's link into the other app's webhook settings
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 LinkedIn steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http, ai, state
PAGE_ID, AUTHOR = "1234567890", "urn:li:organization:12345"
@on_event
def handle(event):
post = event.json or {}
url = post.get("url")
if not url or state.get(f"shared:{url}"):
return {"skipped": True}
intro = post.get("excerpt") or ai.generate(f"Two-sentence intro inviting people to read: {post.get('title')}",
max_output_tokens=100).text.strip()
http.post(f"https://graph.facebook.com/v21.0/{PAGE_ID}/feed",
data={"message": intro, "link": url, "access_token": credentials.connection("facebook", "work")})
http.post("https://api.linkedin.com/rest/posts",
headers={"Authorization": f"Bearer {credentials.connection('linkedin', 'work')}", "LinkedIn-Version": "202409"},
json={"author": AUTHOR, "commentary": intro, "visibility": "PUBLIC", "lifecycleState": "PUBLISHED",
"distribution": {"feedDistribution": "MAIN_FEED"},
"content": {"article": {"source": url, "title": post.get("title", "")}}})
state.set(f"shared:{url}", True)
return {"shared": url}FAQ
Common questions
How does it know an article was published?
Can I write the intro myself?
What if I update an old article?
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
Turn one topic into posts for Facebook and LinkedIn
Send a topic and get two posts written for each audience, published on your Facebook Page and LinkedIn, with the links emailed to you.
See how it worksApprove submitted posts before they go to Facebook and LinkedIn
Content your team sends in is held for your approval, and only what you approve is posted to Facebook and LinkedIn.
See how it worksAnnounce new shop products on Facebook and LinkedIn
Every new product in your store is announced with its photo on your Facebook Page and LinkedIn.
See how it worksKeep exploring
Set up “Share each new article on Facebook and LinkedIn” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.