Skip to main content

Automated social media content creation with OpenAI, LinkedIn & Twitter approval

Workflow preview

Workflow preview
100%
Automated social media content creation with OpenAI, LinkedIn & Twitter approval preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Whether you’re a product manager, developer, or simply curious about workflow automation, you’re in the right place. This n8n workflow is designed to help you streamline and automate your social me...

Best for

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

Tools used

n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.linkedin, n8n-nodes-base.gmail, n8n-nodes-base.formtrigger, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.if

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automated social media content creation with OpenAI, LinkedIn & Twitter approval
Workflow name
Automated social media content creation with OpenAI, LinkedIn & Twitter approval

Whether you’re a product manager, developer, or simply curious about workflow automation, you’re in the right place. This n8n workflow is designed to help you streamline and automate your social media content creation, approval, and publishing process—all with minimal manual effort.

I’ve put together this guide to make it easy for you to get started, even if you’re new to n8n or automation tools. You’ll find step-by-step instructions, helpful links, and tips to ensure a smooth setup. Feel free to explore, experiment, and make this workflow your own!

Let’s dive in and unlock the power of automation together!

1. What This Workflow Does

This workflow automates the process of creating, reviewing, and publishing social media posts for LinkedIn and Twitter (X), including image generation and approval steps. It also notifies via Slack and logs posts in Google Sheets.

Workflow json: https://drive.google.com/drive/folders/1zE5W0Ff6EBoAFRHupWPybC-fnGZqE84r?usp=sharing

2. Prerequisites

  • An n8n account (sign up for free: n8n Cloud)
  • API credentials for:
    • OpenAI (for content and image generation)
    • LinkedIn
    • Gmail (for approval emails)
    • Twitter/X
    • Slack
    • Google Sheets

You’ll find help to set up auth at the end of this doc!

3. How to Use This Workflow

Step 1: Import the Workflow

  • Download or copy the workflow JSON.
  • In n8n, click Import and paste/upload the workflow.

Step 2: Set Up Credentials

  • For each service node (OpenAI, LinkedIn, Gmail, Twitter, Slack, Google Sheets), click the node and select or create the required credentials.
  • Use the official setup links provided earlier for each service.

Step 3: Configure the Trigger

  • The workflow starts with a Form Trigger node. Open the node to customize the form fields if needed.

Step 4: Test the Workflow

  • Click Test Workflow to run it manually.
  • Fill out the form to generate a post.
  • The workflow will:
    1. Generate platform-specific content using AI.
    2. Send an approval email.
    3. If approved, generate an image (if selected).
    4. Publish to LinkedIn and Twitter.
    5. Notify via Slack.
    6. Log the post in Google Sheets.

Step 5: Review and Adjust

  • Check each node for errors or missing credentials.
  • Adjust content prompts, approval logic, or output formatting as needed.

4. Helpful n8n Resources

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 - Sticky Note2

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

Block 2 - Social Media Content

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

Block 3 - gpt-4o-mini

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

Block 4 - gpt-4o LLM

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

Block 5 - LinkedIn Post

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

Block 6 - Gmail User for Approval

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 7 - Submit Social Post Details

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

Block 8 - Sticky Note10

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

Block 9 - Sticky Note11

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

Block 10 - Sticky Note12

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

Block 11 - Social Media Content Factory

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

Block 12 - Prepare Content Review Email

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

Block 13 - Is Content Approved?

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

Block 14 - Create Tweet

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

Block 15 - Generate an image

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

Block 16 - Send a message

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 17 - Sticky Note13

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

Block 18 - Append or update row in sheet

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

Block 19 - HTTP Request

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

Block 20 - Create a post

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

Block 21 - If

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

Block 22 - Sticky Note6

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

3. Summary Table

Workflow Automated social media content creation with OpenAI, LinkedIn & Twitter approval
Complexity advanced
Nodes 22
Categories Social Media, Multimodal AI
Author Saloni Malhotra
Published 26 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6486/6486.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 Automated social media content creation with OpenAI, LinkedIn & Twitter approval do?

Whether you’re a product manager, developer, or simply curious about workflow automation, you’re in the right place. This n8n workflow is designed to help you streamline and automate your social me...

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.