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

1,913 views · 🎬 Content Creation & Video

Description

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 carousel posts, using AI for both content and images. It includes semantic memory to ensure uniqueness across posts and a scalable architecture for brand growth.

Key Features

Use Cases

  1. E‑commerce Launches: Showcase product features across multiple slides with tailored benefits and CTAs.
  2. Fitness & Wellness Tips: Educate followers with step-by-step workouts or nutrition advice in a carousel format.
  3. Educational Infographics: Present multi-part tutorials, stats, or course highlights.
  4. SaaS Feature Demos: Demonstrate software workflows or new features slide by slide.
  5. Event Announcements: Build excitement for webinars, conferences, or local meetups.

Customization Examples

Workflow Overview

1. Theme Generation (Generate Theme Code Node)

2. Content Creation (AI Agent Code Node)

3. Semantic Memory Check (OpenAI Embeddings Node)

4. JSON Validation (Parse & Validate Code Node)

5. Content Storage (Google Sheets Node)

6. Image Generation (DALL·E Image Generation Node)

7. Image Hosting (Imgur Upload HTTP Request Node)

8. Instagram Publishing (Instagram Graph API Nodes)

9. Scheduling & Triggers

Security

All sensitive values (OpenAI API key, Imgur Client ID/Secret, Instagram Access Token, Google Sheets OAuth2) must be stored in n8n’s Credentials panel. Do not hardcode keys or tokens in HTTP Request or Code nodes. Instead, reference credential fields:

Instructions

  1. Import the Workflow: In n8n, go to Workflows > Import from File and upload the JSON.

  2. Configure Credentials:

    • OpenAI API – set up in Credentials > OpenAI API.
    • Google Sheets OAuth2 – set up in Credentials > Google Sheets OAuth2.
    • Imgur – set up in Credentials > Imgur.
    • Instagram Graph API – set up in Credentials > Instagram Graph API.
  3. Set Placeholders:

    • Google Sheets Document ID
    • Instagram User ID
  4. Customize Prompts & Vectors: Tweak Code node inputs and prompt templates as needed.

  5. Test & Activate: Run a manual trigger, verify outputs, then enable the cron schedule.

Tags

Social Media Instagram Carousel AI Content Generation OpenAI n8n Marketing Automation Vector Search Content Scheduling

Technical Notes

License

This workflow is released under the MIT License.

🔗 Nodes Used

Google Sheets, HTTP Request, Schedule Trigger, AI Agent, Embeddings OpenAI, OpenAI Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup