Auto-Follow Instagram Profiles via Phantombuster and SharePoint
## Who's it for Community managers, growth hackers, and brands that want to grow their Instagram audience by automatically following new, relevant profiles while respecting daily limits. ## How it works / What it does 1. **Schedule Trigger** runs hourly at a specified minute. 2. **Select Cookie** chooses a rotating Instagram session-cookie (time-slice logic). 3. **Get List of Accounts** downloads a CSV of seed profiles from SharePoint. 4. **Follower Collector Agent** (Phantombuster) fetches each seed profile's followers (limit set by `ENV_AMOUNT_FOLLOWERS_PER_PROFILE`). 5. **Autofollow Agent** follows up to `ENV_PROFILES_TO_PROCESS` of those followers per launch. 6. **Wait** nodes pause between Phantombuster calls and poll until each run is complete. 7. Rate-limit configuration keeps follows between 1 and 40 per hour. ## How to set up 1. Add credentials: Phantombuster API, SharePoint OAuth2, (optional) OpenAI API key if you later add AI. 2. In SharePoint “Phantombuster” folder add: - `instagram_session_cookies.txt` - one cookie per line. - `accounts_to_follow.csv` - header `profileUrl`, one seed profile per line. 3. Update **Set ENV Variables** to control profiles/launch and followers/profile. 4. Adjust schedule frequency or Wait durations to meet your plan limits. 5. Activate the workflow; it will follow new profiles every hour. ## Requirements - n8n 1.33 + - Phantombuster Growth plan (API access) - Microsoft 365 SharePoint tenant ## How to customize - Scrape hashtags instead of followers: replace the Follower Collector agent with a Hashtag-to-Profiles agent. - Increase speed: raise `ENV_PROFILES_TO_PROCESS` and cron frequency (ensure you stay within Instagram limits). - Swap SharePoint for Drive/Dropbox by replacing storage nodes.
- Platform
- n8n
- Category
- Social Media
- Price
- $14.99
- Creator
- plemeo
- set
- wait
- stickyNote
- phantombuster
- agent
- extractFromFile
- scheduleTrigger
- microsoftSharePoint
- lmChatOpenAi
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Social Media workflows
- Generate & Auto-Post AI Videos to Social Media with Veo3 and Blotato$14.99
- Automate AI-Driven Social Media Content Creation and Publishing$24.99
- Automate Viral TikTok Cloning and Multi-Platform Posting with AI$19.99
- Automate LinkedIn Content Creation and Publishing via Email with AI$24.99
- Automate Social Media Posts Using Google Trends and AI$14.99
- Automate Video Captioning and Posting to Instagram and TikTok$14.99
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.