Templates / Automated Instagram commenting on selected profiles with GPT-4o and Phantombuster

Automated Instagram commenting on selected profiles with GPT-4o and Phantombuster

Ready for 3.0

by plemeo ✓ · 785 views · created 2025-09-16 · Social Media

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (12)

OpenAI Chat ModelAI AgentMicrosoft SharePointPhantombuster

What it does

Who’s it for Influencers and social-media teams who want to comment automatically on posts from selected Instagram profiles—scaling engagement while staying within platform limits. How it works / What it does 1. Schedule Trigger runs every 2 h. 2. Profile Post Extractor fetches up to 20 posts per profile from your CSV. 3. Select Cookie rotates Instagram session-cookies. 4. Get Random Post selects one. 5. Create Comment (GPT-4o) writes ≤150-character reply in your chosen language. 6. Builds instagramposttocomment.csv, uploads to SharePoint. 7. Phantombuster Autocomment Agent posts it. 8. Logged in instagrampostsalreadycommented.csv to prevent repeats. How to set up - Same as the auto-liker, but also add instagrampostsalreadycommented.csv (header postUrl). - Define tracked profiles in profilesinstagram.csv. - Configure comment prompt & language in Set ENV Variables. Profile CSV format Your profilesinstagram.csv must contain a header profileUrl and valid Instagram profile URLs. Example: csv profileUrl https://www.instagram.com/brandaccount/ https://www.instagram.com/influencer123/

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.