The moment it happens
Turn one topic into a LinkedIn post and an X post
Send a topic and get a professional LinkedIn post and a short X post, both published, with the links emailed to you.
- Runs
- The moment it happens
- Apps
- LinkedIn, X
- AI
- Yes, uses the built-in AI allowance
- Access
- LinkedIn w_member_social; X tweet.write
Send this to your assistant
Create a ClickRuntime automation: when I send a topic to my trigger link, write a LinkedIn post and a short X 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 developer advocate has something worth sharing most days but posting it twice, once at length for LinkedIn and once in a few words for X, is the part that never happens.
Now a one-line topic sent from a phone shortcut becomes two posts, each in the right shape, published within a minute. The links arrive by email so they can check both.
What you get out of it
Share ideas while they're fresh
A quick message is all it takes to post.
Each network gets the right format
Longer and more professional for LinkedIn, short and sharp for X.
Confirmation by email
Links to both posts arrive straight away.
Consistent on both
Neither network gets forgotten.
How it works
What happens, step by step
You send a topic to your trigger link.
AI writes a LinkedIn post and a short X post about it.
Both are published, to LinkedIn and X.
You get an email with links to both posts.
Before it runs live
- Connect LinkedIn
- Connect X
- 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 LinkedIn and X steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http, ai, notify
AUTHOR = "urn:li:person:abc123"
@on_event
def handle(event):
topic = (event.json or {}).get("topic", "")
posts = ai.generate(f"Topic: {topic}. Write a LinkedIn post (professional, under 1200 chars) and an X post (under 260 chars).",
max_output_tokens=600, json_schema={"type": "object",
"properties": {"linkedin": {"type": "string"}, "x": {"type": "string"}}}).json
li = http.post("https://api.linkedin.com/rest/posts",
headers={"Authorization": f"Bearer {credentials.connection('linkedin', 'work')}", "LinkedIn-Version": "202409"},
json={"author": AUTHOR, "commentary": posts["linkedin"], "visibility": "PUBLIC", "lifecycleState": "PUBLISHED",
"distribution": {"feedDistribution": "MAIN_FEED"}})
tw = http.post("https://api.twitter.com/2/tweets", json={"text": posts["x"]},
headers={"Authorization": f"Bearer {credentials.connection('x', 'work')}"}).json()
links = f"LinkedIn: https://www.linkedin.com/feed/update/{li.headers.get('x-restli-id')}\nX: https://x.com/i/status/{tw['data']['id']}"
notify.email_me(f"Posted: {topic[:80]}", links)
return {"x": tw["data"]["id"]}FAQ
Common questions
How do I send a topic?
Can I review before posting?
Can I add hashtags?
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 releases on LinkedIn and X when your changelog changes
When your README or CHANGELOG changes on GitHub, a release announcement is written from the changes and posted on LinkedIn and X.
See how it worksForward your Telegram channel posts to LinkedIn and X
Posts in your Telegram channel are reposted to LinkedIn and X, and tags in the post decide which networks they go to.
See how it worksShare the day's top story in your field on LinkedIn and X
Each day a trending story in your field is picked and shared on LinkedIn and X with a short take, never the same story twice.
See how it worksKeep exploring
Set up “Turn one topic into a LinkedIn post and an X post” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.