Automate Social Media Posts with AI Content and Images across Twitter, LinkedIn & Facebook — n8n Workflow

Medium complexity Scheduled8 nodes📣 Marketing👁 37 viewsby Abrar Sami

Overview

Auto-generate & post content using AI

This workflow helps you create daily content using just a topic prompt. It writes a tweet, generates an image, and publishes across Twitter, Facebook, and LinkedIn — all on autopilot.

How it works

Triggers daily at 10 PM to start the flow
Uses OpenAI to generate a niche topic title
Writes a short-form post (tweet style) with hashtags
Generates a Japanese anime-style image for visual context
Saves everything in Google Sheets
Publishes automatical

Nodes used

Google SheetsFacebook Graph APIX (Formerly Twitter)LinkedInOpenAI

Workflow Preview

S
Schedule Trigger
Message a model
Message a model1
Generate an image
Append or update row in …
Create Tweet
Create a post
Facebook Graph API
8 nodes11 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a scheduled trigger, running on a defined schedule.

  2. 2

    Process

    Data flows through 8 nodes, connecting facebookgraphapi, googlesheets, linkedin.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (8)

GO

Google Sheets

googleSheets

#1
FA

Facebook Graph API

facebookGraphApi

#2
X

X (Formerly Twitter)

twitter

#3
LI

LinkedIn

linkedIn

#4
OP

OpenAI

n8n-nodes-langchain.openAi

#5

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded automate-social-media-posts-with-ai-content-and-images-across-twitter-linkedin-facebook file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Automate Social Media Posts with AI Content and Images across Twitter, LinkedIn & Facebook", "nodes": [...], ...}

Integrations

facebookgraphapigooglesheetslinkedinopenaischeduletriggertwitter

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes8
Complexitymedium
Triggerscheduled
Views37
CategoryMarketing

Created by

Abrar Sami

Abrar Sami

@abrarsami

Tags

facebookgraphapigooglesheetslinkedinopenaischeduletriggertwitter

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →