AutomationFlowsAI & RAG › Automated Twitter Post Liking with PhantomBuster

Automated Twitter Post Liking with PhantomBuster

Original n8n title: Twitter Auto Liking - Creators Hub

Twitter Auto Liking - Creators Hub. Uses microsoftSharePoint, phantombuster, stickyNote, scheduleTrigger. Scheduled trigger; 35 nodes.

Cron / scheduled trigger★★★★★ complexityAI-powered35 nodesMicrosoft SharePointPhantomBusterAgentOpenAI Chat
AI & RAG Trigger: Cron / scheduled Nodes: 35 Complexity: ★★★★★ AI nodes: yes Added:

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": "IssChuEML9y0rKDs",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Twitter Auto Liking - Creators Hub",
  "tags": [],
  "nodes": [
    {
      "id": "f437df51-38a0-4d8e-b347-546ac86b28b8",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1168,
        -1216
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "32b2c52c-63b8-434c-89d5-b77761c72fee",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        -208,
        -848
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "83142945-b28d-4509-bd21-878799b715ff",
      "name": "Get Random Post",
      "type": "n8n-nodes-base.code",
      "position": [
        -2528,
        -848
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "80a98113-51d6-4891-b14a-5475d31f0035",
      "name": "Create CSV Binary",
      "type": "n8n-nodes-base.code",
      "position": [
        -1072,
        -832
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "bd1d28b2-9429-496f-9960-4a5d1ff8785e",
      "name": "Upload CSV",
      "type": "n8n-nodes-base.microsoftSharePoint",
      "position": [
        -912,
        -832
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "42a6a3a4-73af-4b51-b5ad-f0a278aebd4e",
      "name": "Get Posts",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        -928,
        -1216
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "226de940-2446-4c56-ac38-d5e4c9feba25",
      "name": "Get Response",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        0,
        -848
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7f0c28d1-9b5d-460d-a69d-1c4665e61a4a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2256,
        -1360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "cf2e990e-b3e4-4d7f-8d18-5fa7a5add634",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2768,
        -944
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4de76e10-3419-4aeb-b0b5-3ebda9416a27",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -704,
        -944
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "cda82277-18a3-4d1b-bcad-e6787f11a086",
      "name": "Get Autoliking Agent",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        -624,
        -848
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4ed1422d-e5cf-43c2-9ae6-18ff3b7983cb",
      "name": "Launch AL Agent",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        -416,
        -848
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "95e1628b-4a83-4d1a-a3a3-0e7b242354e0",
      "name": "Set ENV Variables",
      "type": "n8n-nodes-base.set",
      "position": [
        -1840,
        -1216
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "fb3fe67f-cd49-49de-831e-1f50fea0422b",
      "name": "Get Hashtag Agent",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        -1616,
        -1216
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5c01de6b-6af7-4ded-b9ea-94a8f70c1709",
      "name": "Launch Agent",
      "type": "n8n-nodes-base.phantombuster",
      "position": [
        -1376,
        -1216
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "da7cfcde-be68-47cc-abe0-02a1897dc5a9",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2048,
        -1648
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "96454093-8b30-4acf-8ee5-a5f0f35a3303",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2208,
        -1216
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "0cf1fa43-3543-4d08-ac9f-9b3ff5141a0d",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2208,
        -1072
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "ec2fc71b-bba4-4fd3-8c5a-121f10c6d823",
      "name": "Update file",
      "type": "n8n-nodes-base.microsoftSharePoint",
      "position": [
        -1232,
        -832
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d81beb85-9f07-43c3-9cc5-847e2af176f1",
      "name": "Download file",
      "type": "n8n-nodes-base.microsoftSharePoint",
      "position": [
        -2368,
        -848
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dfc87f0d-5d24-4b0a-b9dd-74e115be4569",
      "name": "Check if in List",
      "type": "n8n-nodes-base.code",
      "position": [
        -1968,
        -848
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "eab4af07-9b5d-490d-8fdf-6524cb44f8b9",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -1792,
        -848
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "d7e59f1e-698e-41a9-a4d9-a5b5bcb9837f",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "position": [
        -2688,
        -848
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d479e681-d28d-4943-a33b-baa6ca9a64d6",
      "name": "Prepare Updated Data",
      "type": "n8n-nodes-base.code",
      "position": [
        -1584,
        -832
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b8f271ab-4173-4746-9fce-63fdc3fbc0f0",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        -2176,
        -848
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "a5721c7d-5e12-440d-81f2-8c1408cacd42",
      "name": "Convert to File",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        -1408,
        -832
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "01657d66-092c-4af9-8b4d-59ccd6d83189",
      "name": "Get Available Session Cookies",
      "type": "n8n-nodes-base.microsoftSharePoint",
      "position": [
        -1792,
        -1648
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f75ca3e8-3a9a-4b69-a70d-e23cf8239702",
      "name": "Extract Cookies",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        -1568,
        -1648
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "787ef531-55f9-41f7-9ce7-449e0fc53354",
      "name": "Select Cookie",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1344,
        -1648
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "da8d0286-6739-4a88-9152-217a72663cf6",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1344,
        -1504
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "b377226b-6782-40f8-8e13-84ade01bde7c",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2256,
        -1760
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "009f2d85-7750-4a1b-a690-520c242176ef",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2640,
        -1760
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "290c9d17-4702-430c-a980-62b094224348",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2704,
        -1360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5e2eb2d6-8d08-4671-b3b0-ed98803a1d41",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2768,
        -624
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f9132891-210d-4f65-9d1b-c2828165f8c5",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -704,
        -624
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "714b54cc-6f36-4e71-910b-bca7267e0153",
  "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
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Set ENV Variables",
            "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": "AI Agent",
            "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
          }
        ]
      ]
    },
    "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
          }
        ]
      ]
    },
    "Get Hashtag Agent": {
      "main": [
        [
          {
            "node": "Launch Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set ENV Variables": {
      "main": [
        [
          {
            "node": "Get Hashtag Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "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
          }
        ]
      ]
    },
    "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

How this works

Creators and marketers gain a steady stream of engagement on Twitter by automating likes on relevant posts, boosting visibility and follower growth without manual effort. This workflow targets content creators building their online presence, using a scheduled trigger to run daily and PhantomBuster to fetch targeted tweets based on keywords or lists. The key step involves generating a CSV of random post URLs from SharePoint-stored data, then feeding it into PhantomBuster's auto-liker for seamless execution, enhanced by AI nodes for smarter post selection.

Use this workflow for consistent, low-effort Twitter growth when managing high-volume interactions, such as liking posts from niche communities or competitors' audiences. Avoid it for small-scale accounts or if Twitter's API changes demand real-time adjustments, as the cron schedule suits batch processing over instant responses. Common variations include tweaking the keyword filters in PhantomBuster for industry-specific targeting or integrating additional AI to prioritise viral content.

About this workflow

Twitter Auto Liking - Creators Hub. Uses microsoftSharePoint, phantombuster, stickyNote, scheduleTrigger. Scheduled trigger; 35 nodes.

Source: https://github.com/ScraperNode/awesome-n8n-templates/blob/main/templates/ai-and-llm/6761-auto-like-twitter-posts-with-ai-hashtags-cookie-rotation-sharepoint/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

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