Skip to main content

Auto-generate Instagram carousels with GPT-Image-1 & AI captions from Google Sheets

Workflow preview

Workflow preview
100%
Auto-generate Instagram carousels with GPT-Image-1 & AI captions from Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Instagram Carousel Scheduler A tool to automatically publish Instagram carousels using a , , and the number of images you want to post — all directly from a Google Sheet. At the end of each post...

Best for

  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.outputparseritemlist, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest, n8n-nodes-base.splitout, n8n-nodes-base.converttofile, n8n-nodes-base.wait

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jorge Martínez.

Original n8n.io source

1.1 Workflow description

Title
Auto-generate Instagram carousels with GPT-Image-1 & AI captions from Google Sheets
Workflow name
Auto-generate Instagram carousels with GPT-Image-1 & AI captions from Google Sheets

🧰 Instagram Carousel Scheduler

A tool to automatically publish Instagram carousels using a Post Description, Instructions, and the number of images you want to post — all directly from a Google Sheet. At the end of each post, the next row is marked as Pending, allowing fully automated posting, so you can prepare months of content in advance.

✅ Requirements

  • 📱 Instagram Business Account Required to publish content via the Meta Graph API. Make sure your IG account is connected to a Facebook Page.

  • 🔐 Facebook Developers Token Required to use the Graph API and publish on Instagram. 👉 It's highly recommended to create a System User so your token never expires.

  • ☁️ Cloudinary Upload Preset Used to upload generated images and retrieve public URLs. 👉 Use an unsigned upload preset (no API key required).

  • 🧠 OpenAI API Key Used for:

    • Generating a caption from the post description.
    • Creating image prompts.
    • Generating images using gpt-image-1. ⚠️ You might need to verify your business with OpenAI to access this model.
  • 📊 Google Sheets App with OAuth credentials To fetch your content and instructions from the spreadsheet.


💬 Notes and Customization

  • ✏️ You can customize the prompt to change the visual style of the images. Examples:

    • Gumball style
    • Comic-style illustration
    • Digital painting
  • 🔄 You can replace Google Sheets with tools like:

    • Airtable
    • Notion
    • Your own database
  • 🔐 If Facebook requires a Privacy Policy, you can quickly create one here: 👉 https://www.privacypolicygenerator.info

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Basic LLM Chain

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 2 - Item List Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserItemList - outputParserItemList
Config choices
Version 1

Block 3 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 4 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 5 - OpenAI - Generate Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Separate Image Outputs

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 7 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 8 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 9 - Cloudinary

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - URL

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 12 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 13 - Completed

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 14 - Next Pending

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 15 - Get Pending

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 16 - IG images ID

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 17 - IG Media Carousel

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 18 - IG post Media

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 19 - Images ID Array

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 20 - ig-user-id

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 21 - IG User ID

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 22 - Facebook Pages

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 23 - Setup Instructions

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Setup Instructions1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 32 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Auto-generate Instagram carousels with GPT-Image-1 & AI captions from Google Sheets
Complexity advanced
Nodes 32
Categories Multimodal AI
Author Jorge Martínez
Published 22 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7750/7750.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-generate Instagram carousels with GPT-Image-1 & AI captions from Google Sheets do?

Instagram Carousel Scheduler A tool to automatically publish Instagram carousels using a , , and the number of images you want to post — all directly from a Google Sheet. At the end of each post...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Multimodal AI use case.