AutomationFlowsAI & RAG › Auto-Generate & Post LinkedIn Content with GPT-4

Auto-Generate & Post LinkedIn Content with GPT-4

Original n8n title: Generate & Post Linkedin Content Automatically with Gpt-4 & Gpt Image 1

Generate & Post LinkedIn Content Automatically with GPT-4 & GPT Image 1. Uses formTrigger, lmChatOpenAi, agent, gmail. Event-driven trigger; 16 nodes.

Event trigger★★★★☆ complexityAI-powered16 nodesForm TriggerOpenAI ChatAgentGmailGoogle DriveLinkedInOpenAITool Think
AI & RAG Trigger: Event Nodes: 16 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow follows the Agent → Form Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "VYfNOz0agvhX4kcA",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Generate & Post LinkedIn Content Automatically with GPT-4 & GPT Image 1",
  "tags": [],
  "nodes": [
    {
      "id": "7b2d1731-957b-47af-9abb-a16be9a579cc",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -1216,
        -96
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "ac13ee60-e8b3-497a-b7c9-2edcbea48619",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -800,
        128
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "a5baff02-88a1-420a-9968-320a89be3c0e",
      "name": "AI Agent Content Generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -992,
        -96
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "aa54c9c9-265b-48d2-a21f-c17ba6e3b350",
      "name": "Ai Agent Prompt Image generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -640,
        -96
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2ce60a25-f692-49f5-bb42-c5a7927bd151",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        160,
        -96
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "b3307f18-13bd-47b1-b481-892569f411f3",
      "name": "Upload file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -64,
        -96
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "ee365c7e-0de2-4584-a992-a1fd1b0f20ed",
      "name": "Create a post",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        608,
        -96
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8a489482-c2f0-490d-a2ed-1e868cabe2c7",
      "name": "Download file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        384,
        -96
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "e0743a3a-75a2-41c6-820a-c603c16e815b",
      "name": "Image-1",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -288,
        -96
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "177d7dff-d694-4607-beb2-eae682d26d2b",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1280,
        -208
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9ea0d4fc-350f-4774-9746-ac3b00a22f5a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        -208
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "cb53ab59-f032-4f21-8a20-2b4d6381fc09",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -112,
        -208
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fda3adbd-6423-4c5b-a2e6-77daa16b6cc7",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        336,
        -208
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "79012684-ac59-4e84-8c04-62fe8ad1d137",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2096,
        -208
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "11a24363-3ee0-4324-870e-4af39eb4fa2f",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1296,
        352
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3e70332c-1f40-4db8-b5d2-ab74210fbc28",
      "name": "Research Sources",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        -624,
        128
      ],
      "parameters": {},
      "typeVersion": 1.1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "48c8adf3-e710-44ff-a4aa-9e3f84c8fdb6",
  "connections": {
    "Image-1": {
      "main": [
        [
          {
            "node": "Upload file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload file": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download file": {
      "main": [
        [
          {
            "node": "Create a post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Research Sources": {
      "ai_tool": [
        [
          {
            "node": "AI Agent Content Generator",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent Content Generator",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Ai Agent Prompt Image generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "AI Agent Content Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent Content Generator": {
      "main": [
        [
          {
            "node": "Ai Agent Prompt Image generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ai Agent Prompt Image generator": {
      "main": [
        [
          {
            "node": "Image-1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

How this works

Automate your LinkedIn presence by generating engaging posts and visuals with AI, saving hours of content creation time so you can focus on networking and growth. This workflow suits professionals and marketers who need consistent, high-quality updates without manual effort, using GPT-4 for text and DALL-E for images. The key step involves an AI agent that crafts tailored content from your input, then posts it directly to LinkedIn via seamless integration.

Use this when you want event-driven automation, like triggering posts from a form submission for scheduled or on-demand content. Avoid it for highly customised or real-time social strategies, where manual oversight is essential to match brand voice precisely. Common variations include swapping Gmail notifications for Slack alerts or adding Google Drive storage for content archives before posting.

About this workflow

Generate & Post LinkedIn Content Automatically with GPT-4 & GPT Image 1. Uses formTrigger, lmChatOpenAi, agent, gmail. Event-driven trigger; 16 nodes.

Source: https://github.com/ScraperNode/awesome-n8n-templates/blob/main/templates/ai-and-llm/7801-generate-post-linkedin-content-automatically-with-gpt-4-gpt-image-1/workflow.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

🎯 Create viral TikToks, Shorts, Reels, podcasts, and ASMR videos in minutes — all on autopilot.

OpenAI, HTTP Request, Form Trigger +7
AI & RAG

22-Automate_Multi_Platform_Social_Media_Content_Creation. Uses outputParserStructured, lmChatGoogleGemini, lmChatOpenAi, httpRequest. Event-driven trigger; 57 nodes.

Output Parser Structured, Google Gemini Chat, OpenAI Chat +11
AI & RAG

This n8n workflow automates turning short user ideas into production-ready real-estate marketing assets (photorealistic images and optional 360° videos). A form submission seeds a prompt board → an LL

Form Trigger, Google Sheets, Agent +6
AI & RAG

This workflow turns Reddit pain points into emotionally-driven comic-style ads using AI. It takes in a product description, scrapes Reddit for real user pain points, filters relevant posts using AI, g

Form Trigger, OpenAI, Reddit +6
AI & RAG

This n8n workflow is designed for e-commerce businesses, digital marketers, and content creators who want to automatically generate professional 3D product videos from product images. It's perfect for

Form Trigger, Google Drive, HTTP Request +9