Automated Twitter following with hashtag targeting, Phantombuster, and GPT-4o
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every hour). Along the way it connects Phantombuster, OpenAI Chat Model 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
- 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_SEARCH_RESULTS_PER_LAUNCH
- Get Hashtag Agent (Phantombuster): get
- Launch Agent (Phantombuster): uses Phantombuster
- Wait: waits 30 seconds
- Get Profiles (Phantombuster): get output
- Set Item (Edit Fields (Set)): sets 1 field: twitterProfile
…plus 4 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.
Nodes used (8)
- Phantombuster
n8n-nodes-base.phantombuster - Wait
n8n-nodes-base.wait - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Microsoft SharePoint
n8n-nodes-base.microsoftSharePoint - Extract from File
n8n-nodes-base.extractFromFile
From the author
Who’s it for Growth marketers, community managers, and personal-brand builders who want to steadily grow their Twitter (X) network by following new, relevant accounts on autopilot—while respecting daily limits. How it works / What it does 1. Schedule Trigger…