Automated Instagram Commenting on Selected Profiles with GPT-4o and Phantombuster
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
Schedule Trigger runs every 2 h.
Profile Post Extractor fetches up to 20 posts per profile from your CSV.
Select Cookie rotates Instagram session-cookies.
Get Random Post selects one.
Create Comment (GPT-4o) writes ≤150-character reply in your chosen language.
Builds instagram_post_to_comment.csv, uploads to SharePoint.
Phantombuster Autocomment Agent posts it.
Logged in instagram_posts_already_commented.csv to prevent repeats.
How to set up
Same as the auto-liker, but also add instagram_posts_already_commented.csv (header postUrl).
Define tracked profiles in profiles_instagram.csv.
Configure comment prompt & language in Set ENV Variables.
Profile CSV format
Your profiles_instagram.csv must contain a header profileUrl and valid Instagram profile URLs. Example:
profileUrl
https://www.instagram.com/brand_account/
https://www.instagram.com/influencer123/
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments