Instagram (Login) icon

Instagram (Login)

Use the Instagram API with Instagram Login (graph.instagram.com) - no Facebook Page required

Publish → Carousel

AI-generated

Summary

Publishes an Instagram carousel album (2-10 images and/or videos) to the authenticated account via graph.instagram.com. It creates a container for each item, then a carousel container, then publishes it.

Inputs

  • Carousel Items (required) — Ordered list of 2-10 items, each with a Media Type (Image or Video) and a public URL. Any other count throws an error.
  • Caption — Caption text for the whole carousel post.
  • Re-Host Media First — Default true. Downloads each item URL and re-uploads it to a public host before sending it to Instagram. This avoids timeouts and 403 errors from slow or blocked source servers.
  • Publish Options — Max Poll Attempts (default 30) and Poll Interval in seconds (default 5) for waiting on container processing. Also sets the re-host method: Catbox (with a custom upload URL, falling back to 0x0.st) or Supabase Storage (project URL, bucket, service key).
  • Graph API Version — Defaults to v21.0.
  • Access Token (Override) — Uses this token instead of the Instagram Login API credential. Useful for posting to different accounts from an expression.

Output shape

One output item per input item, containing creation_id (the carousel container ID) plus the media_publish response, which includes the published media id.

Each child container and the carousel container are polled until FINISHED. A status of ERROR, or running out of poll attempts, raises an error. With Continue On Fail, the item instead returns {error: message}. Re-hosting uploads your media to a third-party host (catbox/0x0.st or your Supabase bucket).

Examples

Example 1: Post a 3-photo carousel with a caption

Add three Carousel Items with Media Type Image and their URLs, set Caption, and leave Re-Host Media First on.

Example 2: Mixed image and video carousel when catbox is blocked

Add image and video items, then set Publish Options > Re-Host Method to Supabase with the project URL, bucket and service key. Raise Max Poll Attempts for long videos.

Example 3: Post to a different account per input item

Set Access Token (Override) to {{ $json.account_token }} and build Carousel Items from the input data.

Links

Discussion