The moment it happens
Post to Instagram by sending a link
Send an image URL and caption from any tool and it's live on Instagram.
- Runs
- The moment it happens
- Apps
- AI
- Not needed
- Access
- instagram_business_content_publish
Send this to your assistant
Create a ClickRuntime automation: give me a link I can send an image URL and caption to. Publish each one on Instagram and reply with the post link.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A small e-commerce team shoots product photos in batches, and every item then has to be posted to Instagram by hand: open the app, upload the picture, paste the caption from a spreadsheet, tag the product, publish. Whoever does it is interrupted several times a day, and posts go out late or in the wrong order. Developers who already generate images and captions in other systems have no clean way to hand them to Instagram.
ClickRuntime gives you a link that accepts an image URL and a caption. When something sends data to it, the automation creates an Instagram media container from that image, publishes it to your professional account, and replies to the caller with the permalink of the live post.
It is handy for teams connecting a CMS, a product database or an internal tool to Instagram without writing their own integration.
What you get out of it
Posting becomes part of an existing workflow
Whatever tool produces your images and captions can trigger the post directly. A new product added to your catalog can appear on Instagram without anybody opening the app, which removes a repetitive step from launches.
No more copy and paste mistakes
Captions pasted by hand end up on the wrong photo or lose their line breaks. When the caption travels with the image in one request, the pairing is exact and the post is published as the author intended.
The caller gets the post link back
The reply contains the permalink of the published post, so the sending system can store it, show it in a dashboard, or share it with the team. You know immediately that the post went live and where to find it.
Developers avoid building Instagram plumbing
Creating containers, waiting for processing and publishing are several API steps with their own quirks. Having them wrapped behind a single link saves days of integration work and ongoing maintenance for a small engineering team.
Launch timing is under your control
A post can go out the second a product is ready, a campaign is approved, or a blog article is published. Nothing waits for a free person with a phone, and time-sensitive announcements are not published hours late.
How it works
What happens, step by step
When you send an image link and caption to the automation's private link, from a form, a spreadsheet or another tool, the automation starts.
It prepares the image and caption as a new Instagram post.
It publishes the post to your Instagram account straight away.
You get an email with the link to the published post.
Before it runs live
- Connect Instagram
- 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
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Instagram steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http, notify
IG = "https://graph.instagram.com/v21.0"
@on_event
def handle(event):
body = event.json
token = credentials.connection("instagram", "work")
container = http.post(f"{IG}/me/media", data={"image_url": body["image_url"], "caption": body.get("caption", ""),
"access_token": token}).json()["id"]
media_id = http.post(f"{IG}/me/media_publish", data={"creation_id": container, "access_token": token}).json()["id"]
link = http.get(f"{IG}/{media_id}", params={"fields": "permalink", "access_token": token}).json()["permalink"]
notify.email_me("Published on Instagram", link)
return {"permalink": link}FAQ
Common questions
What kind of image can I send to the link?
Does the Instagram account need to be a particular type?
How do I stop anyone else from posting to my account?
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
DM your link to anyone who comments a keyword
People who comment your keyword get your link in their DMs once, without you sending it by hand.
See how it worksAnswer common Instagram DMs and pass on the rest
Questions about prices, shipping and opening hours get an answer straight away, and anything else goes to Slack.
See how it worksKnow when someone tags your account
You get the link whenever a post tags your business account.
See how it worksKeep exploring
Set up “Post to Instagram by sending a link” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.