Back to Templates

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

Created by

Created by: Saloni Malhotra || salonimalhotra

Saloni Malhotra

Last update

Last update 22 days ago

Share


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