Skip to main content

Auto-generate & post social media content with GPT-4, Notion & Instagram API

Workflow preview

Workflow preview
100%
Auto-generate & post social media content with GPT-4, Notion & Instagram API preview
Open on n8n.io

Important notice

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

1. Workflow Overview

How It Works This workflow automates social media content creation and posting. It starts by receiving raw text input through a Webhook (for example, from LINE Bot) and saves the content into a Not...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.notion, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Supira Inc..

Original n8n.io source

1.1 Workflow description

Title
Auto-generate & post social media content with GPT-4, Notion & Instagram API
Workflow name
Auto-generate & post social media content with GPT-4, Notion & Instagram API

How It Works

This workflow automates social media content creation and posting. It starts by receiving raw text input through a Webhook (for example, from LINE Bot) and saves the content into a Notion database for centralized storage. Next, GPT-4 generates platform-specific captions for Instagram, Threads, X/Twitter, and Blog. Instagram captions are prepared for automatic publishing, while Threads, X, and Blog drafts are stored in Notion for later review and manual posting.

The workflow then fetches book cover images or other visuals from external APIs such as Google Books, OpenBD, or OpenLibrary. The chosen image is uploaded to Cloudinary to generate a secure, optimized URL. Finally, the Instagram Graph API is used to create a media container and publish the post automatically with the caption and image. This way, the workflow provides both automation for Instagram and reusable drafts for other platforms.

Requirements

  • Notion account with a database configured for text and captions
  • Cloudinary account for image hosting
  • Instagram Business account connected to the Meta Developer Platform
  • GPT-4 (via OpenAI or LangChain node in n8n)

Setup Instructions

  1. Configure the Webhook node to capture text input.
  2. Update the Notion database ID and property keys to match your schema.
  3. Add Cloudinary credentials (【cloud_name】, 【upload_preset】) in the HTTP Request node.
  4. Set 【IG_ACCESS_TOKEN】 as an environment variable.
  5. Activate the workflow and test with a sample input.

Customization

  • Adjust caption prompts for style, hashtags, or character limits.
  • Add additional GPT nodes for more platforms.
  • Replace or extend image sources as needed.
  • Integrate a scheduler (Cron node) to post at specific times.

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 - Step 1: Input

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

Block 2 - Step 2: Generate Captions

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

Block 3 - Step 3: Image Handling

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

Block 4 - Step 4: Instagram Publish

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

Block 5 - Webhook

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

Block 6 - Notion Page Create

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

Block 7 - Instagram Caption Generate

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 8 - Instagram Caption Save

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

Block 9 - Threads Caption Generate

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 10 - Threads Caption Save

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

Block 11 - X Caption Generate

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 12 - X Caption Save

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

Block 13 - Blog Draft Generate

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 14 - Blog Draft Save

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

Block 15 - Upload to Cloudinary

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

Block 16 - Instagram Media Container

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

Block 17 - Instagram Publish

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

3. Summary Table

Workflow Auto-generate & post social media content with GPT-4, Notion & Instagram API
Complexity advanced
Nodes 17
Categories Social Media, Multimodal AI
Author Supira Inc.
Published 13 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8553/8553.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 & post social media content with GPT-4, Notion & Instagram API do?

How It Works This workflow automates social media content creation and posting. It starts by receiving raw text input through a Webhook (for example, from LINE Bot) and saves the content into a Not...

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 Social Media, Multimodal AI use case.