AutomationFlowsSocial Media › Automate Linkedin Posts with Claude Ai, Dall-e Images & Google Sheets Approval

Automate Linkedin Posts with Claude Ai, Dall-e Images & Google Sheets Approval

ByUsman Liaqat @usmanliaqat on n8n.io

How it works

Cron / scheduled trigger★★★★☆ complexityAI-powered28 nodesAgentOutput Parser StructuredAnthropic ChatTwitterFacebook Graph ApiHTTP RequestGoogle DriveGoogle Sheets
Social Media Trigger: Cron / scheduled Nodes: 28 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #4766 — we link there as the canonical source.

This workflow follows the Agent → Facebookgraphapi 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
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "1a11e25a-ea01-4adb-a337-3f9a4a79ea64",
      "name": "Idea Generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1740,
        340
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1.7
    },
    {
      "id": "9aa904db-7895-4832-b5c8-eb1d9c90eedd",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d7935948-a3a3-45e7-ac8e-561bd6ec5498",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2120,
        240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bea82c2c-91ed-4e2c-8c1e-0cf43b4d0c3f",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1940,
        540
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "276bffe0-5a03-40ae-aead-29a673c9035d",
      "name": "Anthropic Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        1600,
        540
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "e35964d1-637e-48a9-95b7-054ee7a5fa7d",
      "name": "Convert to File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        2600,
        420
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "10eec8ac-01de-4087-810d-0135161cead2",
      "name": "Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1200,
        340
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d7cc1ac4-325f-4e92-b42b-b041a12e8ca0",
      "name": "Join Ideas",
      "type": "n8n-nodes-base.code",
      "position": [
        1560,
        340
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "56f96df4-d046-4d39-a98f-b7765e1ab4e3",
      "name": "Pick One",
      "type": "n8n-nodes-base.limit",
      "position": [
        1560,
        840
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1fc65864-7215-4d74-a312-d324b9143c2b",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        740
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c4388b53-6f36-45f3-826c-c54e0c01dd08",
      "name": "X",
      "type": "n8n-nodes-base.twitter",
      "disabled": true,
      "position": [
        1780,
        1120
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c7d40512-ea04-4302-b5fa-bbaaac674109",
      "name": "Prepare Data for Instagram API",
      "type": "n8n-nodes-base.set",
      "disabled": true,
      "position": [
        2040,
        1120
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "39a9a9e4-04da-4953-a53e-c0f652749fcb",
      "name": "Create Instagram Media Container",
      "type": "n8n-nodes-base.facebookGraphApi",
      "disabled": true,
      "position": [
        2220,
        1120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0e8c9d4e-9fc9-4894-8046-66ac07c28a7c",
      "name": "Wait for Container Processing",
      "type": "n8n-nodes-base.wait",
      "disabled": true,
      "position": [
        2420,
        1120
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "2e5993a3-252f-4335-b1f7-6ba37fa9988a",
      "name": "Publish Post to Instagram",
      "type": "n8n-nodes-base.facebookGraphApi",
      "disabled": true,
      "position": [
        2620,
        1120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "033dfb23-5e51-4a79-a6e4-f15d9497f0f1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1720,
        1060
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e01b66e9-2759-4509-aded-4028c07c4040",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8eb257ac-92f4-4ba9-93cd-4dac96b0e454",
      "name": "OpenAI Image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2400,
        420
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "cb8ed234-9678-46f7-982e-a1fb2b94ed11",
      "name": "Image Style",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2180,
        420
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "b92bd35a-61e0-48bf-b092-64de27ecb737",
      "name": "Get Past Ideas",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1380,
        340
      ],
      "parameters": {},
      "typeVersion": 4.5,
      "alwaysOutputData": true
    },
    {
      "id": "84da84a9-f8e5-4e9f-be10-e1b938c5380f",
      "name": "Save Image",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2820,
        420
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "3441c86d-3465-447d-af1c-65bf945d6629",
      "name": "Save Post",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3020,
        420
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "d3421c14-3d77-4074-b3f4-87a2beb83ccd",
      "name": "Schedule 2",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1200,
        840
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "88aff01a-fedd-465f-987c-1079513871a0",
      "name": "Get Ready Posts",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1380,
        840
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "797d6646-ff58-4826-a7fd-c474d323e627",
      "name": "Download Image",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1760,
        840
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "7fcb5702-0c96-4510-aca8-59eed1bcd095",
      "name": "Publish Post",
      "type": "n8n-nodes-base.linkedIn",
      "position": [
        1960,
        840
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b211beb9-55a0-4650-b6e2-873e31159f65",
      "name": "Update Status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2160,
        840
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "e903c168-b507-4e12-82e0-00519ac7c2fb",
      "name": "Perplexity",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        1800,
        560
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "connections": {
    "Pick One": {
      "main": [
        [
          {
            "node": "Download Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule": {
      "main": [
        [
          {
            "node": "Get Past Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Join Ideas": {
      "main": [
        [
          {
            "node": "Idea Generator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity": {
      "ai_tool": [
        [
          {
            "node": "Idea Generator",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Save Image": {
      "main": [
        [
          {
            "node": "Save Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule 2": {
      "main": [
        [
          {
            "node": "Get Ready Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Image Style": {
      "main": [
        [
          {
            "node": "OpenAI Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Image": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Publish Post": {
      "main": [
        [
          {
            "node": "Update Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Image": {
      "main": [
        [
          {
            "node": "Publish Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Past Ideas": {
      "main": [
        [
          {
            "node": "Join Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Idea Generator": {
      "main": [
        [
          {
            "node": "Image Style",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File": {
      "main": [
        [
          {
            "node": "Save Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Ready Posts": {
      "main": [
        [
          {
            "node": "Pick One",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Idea Generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Idea Generator",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Container Processing": {
      "main": [
        [
          {
            "node": "Publish Post to Instagram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Data for Instagram API": {
      "main": [
        [
          {
            "node": "Create Instagram Media Container",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Instagram Media Container": {
      "main": [
        [
          {
            "node": "Wait for Container Processing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

How it works

Source: https://n8n.io/workflows/4766/ — original creator credit. Request a take-down →

More Social Media workflows → · Browse all categories →

Related workflows

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

Social Media

AI Posts Content Machine. Uses agent, stickyNote, outputParserStructured, lmChatAnthropic. Scheduled trigger; 28 nodes.

Agent, Output Parser Structured, Anthropic Chat +7
Social Media

Instead of manually writing, designing, and posting content, this workflow turns a single Google Sheet row into multi-platform posts plus a custom AI image that matches your message.

Google Sheets, Agent, Twitter +5
Social Media

✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition. Uses chatTrigger, stickyNote, toolWorkflow, memoryBufferWindow. Chat trigger; 100 nodes.

Chat Trigger, Tool Workflow, Memory Buffer Window +12
Social Media

This workflow is designed for content creators, social media managers, and marketing teams who need to efficiently create and publish content across multiple social media platforms. It's perfect for b

Chat Trigger, Tool Workflow, Memory Buffer Window +12
Social Media

This workflow is ideal for individuals, marketers, agencies, and brands who want to effortlessly automate the entire blogging and social media process—from idea generation to promotion. Its primary go

Execute Workflow Trigger, Notion, OpenAI Chat +13