Scheduled Instagram auto-liker with Phantombuster, GPT-4o & cookie rotation
Ready for 3.0What this workflow does
This AI workflow has 27 nodes and runs on a schedule (every 2 hours). Along the way it connects Phantombuster, Microsoft SharePoint and OpenAI Chat Model.
How it runs
Trigger: On a schedule (every 2 hours).
- 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 Hashtag (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Set ENV Variables (Edit Fields (Set)): sets 3 fields: ENV_SEARCH_HASHTAGS, ENV_SESSION_COOKIE, ENV_MAX_POSTS_PER_HASHTAG
- Get Hashtag Agent (Phantombuster): get
- Launch Agent (Phantombuster): uses Phantombuster
- Wait: waits 30 seconds
- Get Posts (Phantombuster): get output
- Wait: pauses before continuing
…plus 14 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 - Phantombuster
n8n-nodes-base.phantombuster - Code
n8n-nodes-base.code - Microsoft SharePoint
n8n-nodes-base.microsoftSharePoint - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Schedule Trigger
n8n-nodes-base.scheduleTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - 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 Social-media managers and brands that want to keep their Instagram accounts active by automatically liking fresh posts under selected hashtags—hands-free and rate-limited. How it works / What it does 1. Schedule Trigger runs every 2 hours at a…