📱 Auto-follow Instagram profiles via Phantombuster and SharePoint
⚡ 361 views · 📱 Social Media & Email Marketing
💡 Pro Tip — Heads up — if this workflow’s Instagram scraping breaks (it happens whenever Meta updates their frontend), ScraperNode is a community node that handles profiles, posts, reels, and comments without any HTML parsing.
Description
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
- Schedule Trigger runs hourly at a specified minute.
- Select Cookie chooses a rotating Instagram session-cookie (time-slice logic).
- Get List of Accounts downloads a CSV of seed profiles from SharePoint.
- Follower Collector Agent (Phantombuster) fetches each seed
profile’s followers (limit set by
ENV_AMOUNT_FOLLOWERS_PER_PROFILE). - Autofollow Agent follows up to
ENV_PROFILES_TO_PROCESSof those followers per launch. - Wait nodes pause between Phantombuster calls and poll until each run is complete.
- Rate-limit configuration keeps follows between 1 and 40 per hour.
How to set up
- Add credentials: Phantombuster API, SharePoint OAuth2, (optional) OpenAI API key if you later add AI.
- In SharePoint › “Phantombuster” folder add:
•instagram_session_cookies.txt– one cookie per line.
•accounts_to_follow.csv– headerprofileUrl, one seed profile per line. - Update Set ENV Variables to control profiles/launch and followers/profile.
- Adjust schedule frequency or Wait durations to meet your plan limits.
- 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_PROCESSand cron frequency (ensure you stay within Instagram limits). - Swap SharePoint for Drive/Dropbox by replacing storage nodes.
🔗 Nodes Used
Phantombuster, Schedule Trigger, AI Agent, OpenAI Chat Model, Extract from File, Microsoft SharePoint
📥 Import
Download workflow.json and import into n8n:
Workflow menu → Import from File