Auto-comment on Instagram posts with GPT-4o, Phantombuster, and SharePoint
Ready for 3.0What this workflow does
This AI workflow has 29 nodes and runs on a schedule (every 2 hours). Along the way it connects OpenAI Chat Model, Phantombuster and Microsoft SharePoint.
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 5 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 15 more steps. See the full node list below.
Services it uses
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.
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 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. How it works / What it does 1. Schedule Trigger…