Templates / Create & Publish Instagram Carousel Posts with GPT-4.1-mini, Imgur & Graph API

Create & Publish Instagram Carousel Posts with GPT-4.1-mini, Imgur & Graph API

Needs changes

by Luciano Gutierrez ✓ · 2,419 views · created 2025-04-24 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 17 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Embeddings OpenAI, Vector Store Question Answer and OpenRouter Chat Model and 2 more. It also calls api.imgur.com and graph.instagram.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. generate search term (Code): runs custom JavaScript code
  2. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 2 tools (Simple Vector Store, Answer questions with a vector store); memory: Simple Memory
  3. Parsear JSON Inicial (Code): runs custom JavaScript code
  4. save in sheets (Google Sheets): append
  5. generate image (OpenAI): work with image
  6. upload image to imgur (HTTP Request): calls api.imgur.com (POST)
  7. create container (HTTP Request): calls graph.instagram.com
  8. POst to instagram (HTTP Request): calls graph.instagram.com (POST)

Services it uses

OpenAI Chat ModelEmbeddings OpenAIVector Store Question AnswerOpenRouter Chat ModelGoogle SheetsOpenAI

HTTP calls to: api.imgur.com, graph.instagram.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (13)

From the author

Create & Publish Instagram Carousel Posts with GPT-4.1-mini, Imgur & Graph API Version: 2.0.0 n8n Version: 1.88.0+ Author: Unknown License: MIT Description An intelligent and modular workflow that automatically generates, manages, and publishes Instagram…

Excerpt from Luciano Gutierrez's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.