The moment it happens
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.
- Runs
- The moment it happens
- Apps
- Facebook Pages, LinkedIn
- AI
- Yes, uses the built-in AI allowance
- Access
- pages_manage_posts; LinkedIn w_member_social
Send this to your assistant
Create a ClickRuntime automation: when a new product is added to my shop, write a short announcement and post it with the product photo 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 homeware brand adds new products every week but only remembers to post about the big launches. Smaller additions go unnoticed, even though followers would happily buy them.
Each new product now gets its own announcement with a photo on Facebook and LinkedIn, written from the product name and description, as soon as it's added to the shop.
What you get out of it
Every product gets a launch
Small additions get the same attention as big releases.
Photos that stop the scroll
Image posts get far more attention than links alone.
Reach trade buyers too
LinkedIn puts new products in front of shops and businesses who buy wholesale.
No extra admin
Adding a product to your shop is the only step.
How it works
What happens, step by step
Your shop tells ClickRuntime that a new product was added.
AI writes a short announcement from the product's name and description.
The announcement is posted with the product photo on your Facebook Page.
The same announcement, with the photo uploaded, is posted on 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
PAGE_ID, AUTHOR = "1234567890", "urn:li:organization:12345"
@on_event
def handle(event):
p = event.json or {}
if p.get("status") != "active":
return {"skipped": "not published"}
text = ai.generate(f"Short, upbeat product announcement for {p['title']}: {p.get('body_html', '')[:600]}",
max_output_tokens=150).text.strip()
image = p["image"]["src"]
http.post(f"https://graph.facebook.com/v21.0/{PAGE_ID}/photos",
data={"url": image, "caption": text, "access_token": credentials.connection("facebook", "work")})
li = {"Authorization": f"Bearer {credentials.connection('linkedin', 'work')}", "LinkedIn-Version": "202409"}
init = http.post("https://api.linkedin.com/rest/images?action=initializeUpload", headers=li,
json={"initializeUploadRequest": {"owner": AUTHOR}}).json()["value"]
http.put(init["uploadUrl"], data=http.get(image).content, headers=li)
http.post("https://api.linkedin.com/rest/posts", headers=li,
json={"author": AUTHOR, "commentary": text, "visibility": "PUBLIC", "lifecycleState": "PUBLISHED",
"distribution": {"feedDistribution": "MAIN_FEED"}, "content": {"media": {"id": init["image"]}}})
return {"announced": p["title"]}FAQ
Common questions
Which shops does it work with?
Will draft products be announced?
Can it include the price?
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 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 “Announce new shop products on Facebook and LinkedIn” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.