πŸ’¬ AI agent for Instagram DM/inbox. Manychat + Open AI integration

⚑ 46,687 views Β· πŸ’¬ Lead Nurturing & AI Sales Agents

πŸ’‘ 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

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

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

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.

Notion instruction

Register in ManyChat

πŸ”— Nodes Used

Webhook, AI Agent, OpenAI Chat Model, Simple Memory

πŸ“₯ Import

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

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