Ai Agent For Instagram Dm Inbox. Manychat + Open Ai Integration 2718 – n8n Workflows – Free Template

⬇️ Download workflow.json
Archivo detectado: wf-2718.json

What This Workflow Does

This n8n workflow automates Instagram direct message responses using ManyChat and OpenAI’s ChatGPT. It captures incoming messages from Instagram, processes them through an AI chat model, and sends intelligent replies back to users without manual intervention.

How It Works

The workflow follows a streamlined process to handle Instagram conversations:

  • A webhook receives incoming messages directly from ManyChat integration
  • The message data is processed and formatted using the Set node
  • A memory buffer window maintains conversation context for more natural responses
  • OpenAI’s LM Chat model generates contextually appropriate replies using your custom system prompt
  • The response is sent back through ManyChat to appear as a direct message on Instagram
  • An agent node can handle additional routing or complex logic if needed

Use Cases

  • Customer support automation for Instagram-based businesses handling frequent inquiries
  • Lead qualification through intelligent chatbot conversations that identify interested prospects
  • E-commerce order tracking where customers receive automated updates about their purchases
  • Content creator engagement where fans receive personalized responses to common questions
  • Community management for brands that need 24/7 Instagram presence without dedicated staff

Nodes Used

  • Webhook: Receives incoming messages from ManyChat when users send Instagram DMs
  • Set: Prepares and structures the message data for processing
  • Memory Buffer Window: Maintains conversation history to provide contextual responses
  • LM Chat OpenAI: Generates AI-powered responses using ChatGPT with your custom system prompt
  • Agent: Handles complex routing decisions and multi-step interactions
  • Respond to Webhook: Sends the generated response back to ManyChat for Instagram delivery
  • Sticky Note: Provides workflow documentation and configuration reminders

Prerequisites

  • An active ManyChat account connected to your Instagram business profile
  • OpenAI API key with access to GPT models
  • n8n instance with webhook functionality enabled
  • ManyChat webhook integration configured to send messages to your n8n workflow URL
  • Instagram business account with messaging capabilities
  • Familiarity with system prompts for customizing ChatGPT behavior

Difficulty Level

Intermediate. This workflow requires basic knowledge of webhook integrations, API keys, and prompt engineering. Users should be comfortable connecting third-party services and customizing AI behavior through system prompts. No advanced coding is needed as all components are pre-built n8n nodes.

This workflow template is shared under the n8n fair-code license. Free to use and modify.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *