Automatic LinkedIn engagement with AI comments using GPT-4o and Phantombuster
Ready for 3.0What this workflow does
This AI workflow has 29 nodes and runs on a schedule (every hour). Along the way it connects OpenAI Chat Model, Phantombuster and Microsoft SharePoint.
How it runs
Trigger: On a schedule (every hour).
- Get Available Session Cookies (Microsoft SharePoint): uses Microsoft SharePoint
- Extract Cookies (Extract from File): extracts data from a file (text)
- Select Cookie (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Generate Random Search Term (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Set ENV Variables (Edit Fields (Set)): sets 6 fields: ENV_SEARCH_TERM, ENV_SESSION_COOKIE, ENV_SEARCH_RESULTS_PER_LAUNCH…
- Get Search Agent (Phantombuster): get
- Launch Agent (Phantombuster): uses Phantombuster
- Wait: waits 30 seconds
- Get Posts (Phantombuster): get output
- Wait: pauses before continuing
…plus 15 more steps. See the full node list below.
Services it uses
Other OpenAI + Phantombuster templates (19) · Other OpenAI + Microsoft SharePoint templates (15) · Other Phantombuster + Microsoft SharePoint templates (10)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Wait
n8n-nodes-base.wait - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Phantombuster
n8n-nodes-base.phantombuster - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Microsoft SharePoint
n8n-nodes-base.microsoftSharePoint - Edit Fields (Set)
n8n-nodes-base.set - Schedule Trigger
n8n-nodes-base.scheduleTrigger - If
n8n-nodes-base.if - Extract from File
n8n-nodes-base.extractFromFile - Convert to File
n8n-nodes-base.convertToFile
From the author
Who’s it for 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 limits. How it works / What it does 1.…