AI agent for Instagram DM/inbox. Manychat + Open AI integration
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (6)
- Edit Fields (Set)
n8n-nodes-base.set - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Respond to Webhook
n8n-nodes-base.respondToWebhook - Webhook
n8n-nodes-base.webhook - AI Agent
@n8n/n8n-nodes-langchain.agent
What it does
Automate Instagram DMs with OpenAI GPT and ManyChat How It Works: Once connected, GPT will automatically initiate conversations with messages from new recipients in Intagram. Who Is This For? This workflow is ideal for - marketers, - business owners - content creators who want to automatically respond to Instagram direct messages using OpenAI GPT. By integrating ManyChat, you can manage conversations, nurture leads, and provide instant replies at scale. What This Workflow Does - Captures incoming Instagram DMs through ManyChat’s integration. - Processes messages with GPT to generate a relevant response. - Delivers instant replies back to Instagram users, creating efficient, AI-driven communication. Setup 1. Import the Template: Copy the n8n workflow into your workspace. 2. OpenAI Credentials: Add your OpenAI API key in n8n so GPT can generate responses. 3. ManyChat Account: Create (or log in to) your ManyChat account. 4. Connect Instagram: Link your Instagram profile as a channel in ManyChat. 5. ManyChat Custom Field: Create a custom field for storing user input or conversation context. 6. Configure Default Reply: In ManyChat, set up the default Instagram reply flow to point to your n8n webhook. 7. Add External Request: Create an external request step in ManyChat to send messages to n8n. 8. Test the Flow: Send yourself a DM on Instagram to confirm the workflow triggers and GPT responds correctly. Instructions and links: Notion instruction Register in ManyChat