Skip to main content

Ai-powered social media content generator & publisher

Workflow preview

Workflow preview
100%
Ai-powered social media content generator & publisher preview
Open on n8n.io

Important notice

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

1. Workflow Overview

AI Powered Social Media Content Generator & Publisher This AI driven n8n workflow automates social media content creation and publishing across LinkedIn, Instagram, Facebook, and Twitter (X) . I...

Best for

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

Tools used

n8n-nodes-base.formtrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.set, n8n-nodes-base.form, n8n-nodes-base.aggregate, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Ai-powered social media content generator & publisher
Workflow name
Ai-powered social media content generator & publisher

AI-Powered Social Media Content Generator & Publisher πŸš€

This AI-driven n8n workflow automates social media content creation and publishing across LinkedIn, Instagram, Facebook, and Twitter (X). It generates engaging, platform-optimized posts using Google Gemini AI, based on user inputs such as a post title, keywords, and an uploaded image. The workflow ensures seamless content generation and publishing, making it a perfect tool for marketers, business owners, influencers, and content creators.


🌟 Features & Benefits

βœ… AI-Generated Social Media Posts – Uses Google Gemini AI to create high-quality, optimized content.
βœ… Multi-Platform Support – Automatically generates posts for LinkedIn, Instagram, Facebook, and Twitter (X).
βœ… Hashtag & SEO Optimization – Includes trending hashtags to enhance visibility and engagement.
βœ… Image Upload & Processing – Allows image uploads for Instagram and Facebook using imgbb and Facebook Graph API.
βœ… Automated Publishing – Posts are automatically published on all selected platforms.
βœ… Custom Call-to-Action – Each platform's post is optimized with CTAs for better engagement.
βœ… User-Friendly Form Submission – Easy-to-use form where users can enter post titles, keywords, links, and images.
βœ… Performance Tracking – Provides confirmation and tracking links for published posts.


πŸ“Œ How It Works

1️⃣ User Submission Form

  • Fill out the form with Post Title, Keywords, and an Optional Link.
  • Upload an image for Instagram & Facebook posts.

2️⃣ AI Content Generation

  • Google Gemini AI generates optimized content for each platform.
  • The AI ensures professional, engaging, and audience-specific content.

3️⃣ Content Review

  • Users review and approve the AI-generated content before publishing.

4️⃣ Automated Publishing

  • Posts are automatically published on LinkedIn, Facebook, Instagram, and Twitter (X).
  • Uses Facebook Graph API, LinkedIn API, Twitter API, and Instagram API.

5️⃣ Post Confirmation & Tracking

  • Get links to track published posts on each platform.

πŸ› οΈ Prerequisites

Before using this workflow, ensure you have:

  • βœ… n8n Instance (Cloud or Self-Hosted)
  • βœ… Social Media API Credentials (Facebook, Instagram, LinkedIn, Twitter API)
  • βœ… Google Gemini AI API Key
  • βœ… imgbb API Key (for image hosting)

Get N8n My Affiliate Link Buy My Book:
Mastering n8n on Amazon

Full Courses & Tutorials:
http://lms.syncbricks.com

πŸ“Ί YouTube Video Tutorial πŸŽ₯

Watch the step-by-step tutorial on how to set up and use this n8n workflow template:

πŸ”— YouTube Tutorial - AI-Powered Social Media Posting in n8n


🎯 Use Cases

πŸ“Œ Marketing Agencies – Automate client content scheduling.
πŸ“Œ Businesses & Brands – Maintain a consistent brand presence on social media.
πŸ“Œ Content Creators & Influencers – Generate high-quality posts quickly.
πŸ“Œ E-commerce & Startups – Promote products and services effortlessly.
πŸ“Œ Corporate & Enterprise Teams – Streamline internal and external communications.


Important

Start with n8n

Learn n8n with Amjid

Get n8n Book

πŸ‘¨β€πŸ’» Creator Information

πŸ‘€ Developed by: Amjid Ali
🌐 Website: SyncBricks
πŸ“§ Email: [email protected]
πŸ’Ό LinkedIn: Amjid Ali
πŸ“Ί YouTube: SyncBricks


πŸ’‘ Support & Contributions

If you find this workflow helpful, consider supporting my work:

πŸ‘‰ Donate via PayPal

For full courses on ** AI Automation**, visit:

πŸ“š SyncBricks LMS

πŸ“š AI and Auotmation Course

πŸ‘‰ Get Started with N8N

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 - On form submission

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

Block 2 - AI Agent

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

Block 3 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 4 - Structured Output Parser

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

Block 5 - Split Form Input

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.2

Block 6 - Upload Image

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

Block 7 - Split Data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.2

Block 8 - Data for AI

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Aggregate

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

Block 10 - Form

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

Block 11 - Nest Top Meta

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 12 - Rename Image Binary Top Image

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

Block 13 - Publish to Facebook

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

Block 14 - Publish to LinkedIn

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

Block 15 - Sticky Note

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

Block 16 - X

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

Block 17 - Sticky Note1

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

Block 18 - Sticky Note2

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

Block 19 - Sticky Note3

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

Block 20 - Sticky Note4

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

Block 21 - Edit Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 22 - Image for Instagram

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

Block 23 - Publish to Instagram

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

Block 24 - Merge1

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Ai-powered social media content generator & publisher
Complexity advanced
Nodes 26
Categories Social Media, Multimodal AI
Author Amjid Ali
Published 20 Feb 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2950/2950.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 Ai-powered social media content generator & publisher do?

AI Powered Social Media Content Generator & Publisher This AI driven n8n workflow automates social media content creation and publishing across LinkedIn, Instagram, Facebook, and Twitter (X) . I...

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.