Publish Photo
instagram.publish_photo
ActionChat & messagingconnection required
Creates a media container then publishes it (Instagram Graph API).
Publish a photo to an Instagram Business account via the Graph API.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- Secret shape
- the Meta Graph API access token
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
ig_user_id The Instagram Business account id. | string | Yes | — | — | — |
image_url Public HTTPS image URL. | string | Yes | — | — | — |
caption Caption. Supports {{ }} expressions. | string | No | — | — | — |
Output
One shape.
published
| Field | Type | Example |
|---|---|---|
ok | boolean | true |
media_id Id of the published media. | string | — |
creation_id Id of the media container. | string | — |
{
"creation_id": "",
"media_id": "",
"ok": true
}Notes
- The image_url must be publicly reachable by Meta's servers — a private or localhost URL will fail.
See Publish Photo run in a workflow.
In a technical demo we add the Instagram connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.