πŸ“± πŸ€– Instagram MCP AI agent – read, reply & manage comments with GPT-4o

⚑ 5,637 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.

View All Scrapers

Description

πŸ€– Instagram AI Agent with MCP Server – Built for Smart Engagement and Automation

Hi! I’m Amanda πŸ₯°

I build intelligent automations with n8n and Make.
This powerful workflow was designed to help teams automatically handle Instagram interactions with AI. Using Meta Graph API, LangChain, MCP Server, and GPT-4o, it allows your AI agent to search for posts, read captions, fetch comments, and even reply or message followers, all through structured tools.


πŸ”§ What the workflow does


🧰 Nodes & Tech Used


βš™οΈ Setup Instructions

  1. Create your Instagram App in Meta Developer Portal
  2. Add your Instagram ID and Access Token in the Set node
  3. Update the MCP Server Tool URL in the MCP Instagram node
    • Use your n8n server URL (e.g. https://yourdomain.com/mcp/server/instagram/sse)
  4. Trigger the workflow using the included LangChain Chat Trigger
  5. Interact via text to ask the agent to:
    • β€œGet latest posts”
    • β€œReply to comment X with this message”
    • β€œSend DM to this user about…”

πŸ‘₯ Who this is for


βœ… Requirements


🌐 Want to use this workflow?

❀️ Buy workflows: https://iloveflows.com
☁️ Try n8n Cloud: https://n8n.partnerlinks.io/amanda

πŸ”— Nodes Used

AI Agent, OpenAI Chat Model, Simple Memory, Chat Trigger, HTTP Request Tool, MCP Client Tool

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup