Automated Social Media Content Creation with OpenAI, LinkedIn & Twitter Approval

Go to Workflow
0 views
Built by Saloni Malhotra Saloni Malhotra
Created on June 05, 2026

Description

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:
Generate platform-specific content using AI.
Send an approval email.
If approved, generate an image (if selected).
Publish to LinkedIn and Twitter.
Notify via Slack.
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

n8n Quickstart Guide
How to use workflow templates
Working with credentials
Using expressions in n8n

Nodes Used (10)

AI Agent
@n8n/n8n-nodes-langchain.agent
Gmail
n8n-nodes-base.gmail
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
LinkedIn
n8n-nodes-base.linkedIn
OpenAI
@n8n/n8n-nodes-langchain.openAi
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Slack
n8n-nodes-base.slack
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
X (Formerly Twitter)
n8n-nodes-base.twitter