Skip to content
For LLMsView as Markdown·

Instagram ​

Manage Instagram Business accounts, publish media, and access insights.

DetailValue
CategorySocial Media
Base URLhttps://graph.facebook.com/v19.0
AuthenticationOAuth2
Endpoints5
Connector keyinstagram

Using Instagram in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Instagram from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
GET /{userId}Get user profile
GET /{userId}/mediaList user media
POST /{userId}/mediaCreate a media container
POST /{userId}/media_publishPublish media
GET /{userId}/insightsGet account insights

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /{userId} ​

Get user profile

DetailValue
Operation IDsocial.getProfile
MethodGET
Path/{userId}

Parameters ​

NameLocationTypeRequired
userIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Instagram connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getProfile.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Instagram API reference.

GET /{userId}/media ​

List user media

DetailValue
Operation IDsocial.listMedia
MethodGET
Path/{userId}/media

Parameters ​

NameLocationTypeRequired
userIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Instagram connection from the Connection dropdown.
  3. In the Operation dropdown, select social.listMedia.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Instagram API reference.

POST /{userId}/media ​

Create a media container

DetailValue
Operation IDsocial.createMedia
MethodPOST
Path/{userId}/media

Parameters ​

NameLocationTypeRequired
userIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Instagram connection from the Connection dropdown.
  3. In the Operation dropdown, select social.createMedia.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Instagram API reference.

POST /{userId}/media_publish ​

Publish media

DetailValue
Operation IDsocial.publishMedia
MethodPOST
Path/{userId}/media_publish

Parameters ​

NameLocationTypeRequired
userIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Instagram connection from the Connection dropdown.
  3. In the Operation dropdown, select social.publishMedia.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Instagram API reference.

GET /{userId}/insights ​

Get account insights

DetailValue
Operation IDsocial.getInsights
MethodGET
Path/{userId}/insights

Parameters ​

NameLocationTypeRequired
userIdpathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your Instagram connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getInsights.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Instagram API reference.