AutomationFlowsAI & RAG › Auto-like Linkedin Posts with Gpt-4o, Phantombuster and Sharepoint

Auto-like Linkedin Posts with Gpt-4o, Phantombuster and Sharepoint

Byplemeo @plemeo on n8n.io

Recruiters, B2B marketers, and thought-leadership builders who want to boost their LinkedIn engagement by automatically liking fresh, relevant posts—while staying under LinkedIn’s daily limits. Schedule Trigger runs hourly at a specified minute. Select Cookie chooses a rotating…

Cron / scheduled trigger★★★★★ complexityAI-powered36 nodesMicrosoft SharePointPhantomBusterOpenAI ChatAgent
AI & RAG Trigger: Cron / scheduled Nodes: 36 Complexity: ★★★★★ AI nodes: yes Added:

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

This workflow follows the Agent → OpenAI Chat 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": "5F2ghIwUuYdcyg3v",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "LinkedIn Auto Liking - Creators Hub",
  "tags": [],
  "nodes": [
    {
      "id": "43b77427-b90b-4651-b2a1-af2ee71dcab8",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1104,
        -1216
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "ef496e3c-aeca-4c05-848e-e42b135a4273",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        -96,
        -848
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "db260ac6-8c86-4920-8463-a9629ad4c42f",
      "name": "Get Random Post",
      "type": "n8n-nodes-base.code",
      "position": [
        -2304,
        -832
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "5c111af1-2bfc-41a2-8926-e99a9a6cf78f",
      "name": "Create CSV Binary",
      "type": "n8n-nodes-base.code",
      "position": [
        -1008,
        -832
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "add54404-c3c5-4cd2-a791-929f27562a84",
      "name": "Upload CSV",
      "type": "n8n-nodes-base.microsoftSharePoint",
      "position": [
        -848,
        -832
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6c9e23dc-e44e-4ac5-abae-4ca3b6a13d8d",
      "name": "Get Posts",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        -912,
        -1216
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "89cbfaab-0c7b-4258-8088-ecfa7733f3c2",
      "name": "Get Response",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        128,
        -848
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1e17cb4f-2a8f-4eb8-a6d5-6c1c7a33dc2e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2096,
        -1360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ee175397-d976-4d19-91ec-d52a0e904e8c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2528,
        -944
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "26bea35f-55d6-4d55-8a72-14172735aaa2",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        -944
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a1effc60-7aad-4b8b-baab-346c38afe2d9",
      "name": "Get Autoliking Agent",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        -576,
        -848
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "92195642-44f0-41f3-8f20-12de9ffd3250",
      "name": "Launch AL Agent",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        -336,
        -848
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0d4eece6-38c7-4ace-b520-024b3ff94aeb",
      "name": "Set ENV Variables",
      "type": "n8n-nodes-base.set",
      "position": [
        -1648,
        -1216
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c9eebe30-301b-48c6-9f91-97a076e50f81",
      "name": "Launch Agent",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        -1296,
        -1216
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "da268cda-4710-40e0-bc04-96d3e0ce75a0",
      "name": "Get Search Agent",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        -1472,
        -1216
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "73573842-0a30-4e09-846d-c46d78534faf",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2016,
        -1056
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7d495f43-fea3-4f9c-9e3d-3eb402379e3e",
      "name": "Generate Random Search Term",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2016,
        -1216
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b1f5d2e1-bd73-41f1-b32d-3e55035c68b6",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1824,
        -1648
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "2702b777-cd87-42a0-99cb-3ad584425161",
      "name": "Update file",
      "type": "n8n-nodes-base.microsoftSharePoint",
      "position": [
        -1168,
        -832
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fda63d27-45cf-4d92-b427-252084f60c32",
      "name": "Download file",
      "type": "n8n-nodes-base.microsoftSharePoint",
      "position": [
        -2144,
        -832
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "36501209-2a72-4e7a-9f80-ea1b259d7fce",
      "name": "Check if in List",
      "type": "n8n-nodes-base.code",
      "position": [
        -1808,
        -832
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ca81ddd2-4290-47b4-ba0d-6c90a5ab4c6e",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -1664,
        -832
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "4d4ea43f-3068-4062-85fd-a2ddbb0e9fad",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "position": [
        -2480,
        -832
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c64c4291-1f0a-42a4-a096-ab56eb1a860b",
      "name": "Prepare Updated Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -1504,
        -832
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f2e734c5-29dd-4484-83b0-611730bca586",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        -1984,
        -832
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "fdef54c5-8fe2-40dc-8b2e-75d2fa6ba51e",
      "name": "Convert to File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        -1328,
        -832
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "3763e82b-ae85-4575-b3f6-fc403b97b64b",
      "name": "Get Available Session Cookies",
      "type": "n8n-nodes-base.microsoftSharePoint",
      "position": [
        -1616,
        -1648
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3811c994-7fca-4414-9fc0-e8b070cd783d",
      "name": "Extract Cookies",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        -1408,
        -1648
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1b9d32e0-9b04-4b41-8d9e-be76a68062b4",
      "name": "Select Cookie",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1232,
        -1648
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f564a7e4-76eb-4a64-8434-eb9d5dd0f804",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1232,
        -1488
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "93180cc8-a16d-47d9-930a-8d624f3ed4f6",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2096,
        -1776
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f58f767c-0645-4129-b05f-2450370ad6aa",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        -1776
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "484f3995-1e11-461b-92a7-2c55e49d1ed5",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -672,
        -1360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5642f703-bbc7-4869-bad3-7684c735eb34",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2544,
        -608
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "afc3d92b-aff2-4fbe-b266-0f2b9eecad42",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1152,
        -608
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c7b3402d-b070-4326-88ff-b0867d48d488",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -336,
        -608
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "6d57fcfe-cc32-473f-8c3b-b4ec26a0976f",
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Prepare Updated Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Get Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Get Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "Get Random Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Posts": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload CSV": {
      "main": [
        [
          {
            "node": "Get Autoliking Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update file": {
      "main": [
        [
          {
            "node": "Create CSV Binary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Launch Agent": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download file": {
      "main": [
        [
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Select Cookie": {
      "main": [
        [
          {
            "node": "Generate Random Search Term",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File": {
      "main": [
        [
          {
            "node": "Update file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Cookies": {
      "main": [
        [
          {
            "node": "Select Cookie",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Random Post": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Launch AL Agent": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if in List": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Search Agent": {
      "main": [
        [
          {
            "node": "Launch Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get Available Session Cookies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create CSV Binary": {
      "main": [
        [
          {
            "node": "Upload CSV",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "Check if in List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Random Search Term",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set ENV Variables": {
      "main": [
        [
          {
            "node": "Get Search Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Select Cookie",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get Autoliking Agent": {
      "main": [
        [
          {
            "node": "Launch AL Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Updated Data": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Random Search Term": {
      "main": [
        [
          {
            "node": "Set ENV Variables",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Available Session Cookies": {
      "main": [
        [
          {
            "node": "Extract Cookies",
            "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

Recruiters, B2B marketers, and thought-leadership builders who want to boost their LinkedIn engagement by automatically liking fresh, relevant posts—while staying under LinkedIn’s daily limits. Schedule Trigger runs hourly at a specified minute. Select Cookie chooses a rotating…

Source: https://n8n.io/workflows/6762/ — 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

Influencers and social-media teams who want to comment automatically on posts from selected Instagram profiles—scaling engagement while staying within platform limits. Schedule Trigger runs every 2 h.

OpenAI Chat, Agent, Microsoft SharePoint +2
AI & RAG

Social-media teams and influencers who want to grow engagement by automatically posting short, relevant comments on new Instagram posts under rotating hashtags—while staying under platform limits. Sch

OpenAI Chat, PhantomBuster, Agent +1
AI & RAG

B2B marketers, recruiters, and personal-brand builders who want to spark conversations on LinkedIn by automatically posting short, relevant comments on fresh industry content—while staying under daily

OpenAI Chat, PhantomBuster, Agent +1
AI & RAG

Social-media managers, growth hackers, and brands who want to keep their Instagram accounts active by auto-liking posts from specific profiles they track—without scrolling feeds manually. Schedule Tri

Microsoft SharePoint, PhantomBuster, OpenAI Chat +2
AI & RAG

Growth hackers, community builders, and marketers who want to keep their Twitter (X) accounts active by liking posts from selected profiles automatically. Schedule Trigger fires hourly. Profile Post E

Microsoft SharePoint, PhantomBuster, Agent +2