The moment it happens
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.
- Runs
- The moment it happens
- Apps
- Facebook Pages, LinkedIn
- AI
- Yes, uses the built-in AI allowance
- Access
- pages_manage_posts, pages_read_engagement; LinkedIn w_member_social / w_organization_social
Send this to your assistant
Create a ClickRuntime automation: when I send a topic to my trigger link, write a friendly Facebook post and a professional LinkedIn post about it, publish both, and email me the links.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A physiotherapy clinic owner has plenty to say, about recovery tips, new services and team news, but writing two versions of every post for two audiences means most ideas never get posted.
Now they send a one-line topic from their phone. A friendly post for patients goes on the Facebook Page, a more professional one for referring doctors goes on LinkedIn, and the links arrive by email.
What you get out of it
Ideas get published
A one-line topic is all it takes, so good ideas don't sit in a notes app.
Right tone for each audience
Customers and professional contacts each get a post written for them.
Links in your inbox
The email confirms both posts went out and lets you check them.
Consistent presence on both
Both channels stay active without double the effort.
How it works
What happens, step by step
You send a topic, and optionally an image link, to your trigger link.
AI writes a friendly Facebook post and a more professional LinkedIn post about it.
Both are published, to your Facebook Page and your LinkedIn profile or company page.
You get an email with the links to both posts.
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, notify
PAGE_ID, AUTHOR = "1234567890", "urn:li:organization:12345"
@on_event
def handle(event):
topic = (event.json or {}).get("topic", "")
posts = ai.generate(f"Topic: {topic}. Write a friendly Facebook post and a professional LinkedIn post.", max_output_tokens=600,
json_schema={"type": "object", "properties": {"facebook": {"type": "string"}, "linkedin": {"type": "string"}}}).json
fb = http.post(f"https://graph.facebook.com/v21.0/{PAGE_ID}/feed",
data={"message": posts["facebook"], "access_token": credentials.connection("facebook", "work")}).json()
li = http.post("https://api.linkedin.com/rest/posts",
headers={"Authorization": f"Bearer {credentials.connection('linkedin', 'work')}", "LinkedIn-Version": "202409",
"X-Restli-Protocol-Version": "2.0.0"},
json={"author": AUTHOR, "commentary": posts["linkedin"], "visibility": "PUBLIC", "lifecycleState": "PUBLISHED",
"distribution": {"feedDistribution": "MAIN_FEED"}})
li_id = li.headers.get("x-restli-id", "")
notify.email_me(f"Posted: {topic[:80]}", f"Facebook: https://facebook.com/{fb['id']}\nLinkedIn: https://www.linkedin.com/feed/update/{li_id}")
return {"facebook": fb["id"], "linkedin": li_id}FAQ
Common questions
How do I send a topic?
Can I include an image?
Can I review the posts first?
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
Announce 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 worksShare 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.
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 worksKeep exploring
Set up “Turn one topic into posts for Facebook and LinkedIn” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.