Reply to Instagram messages using ManyChat and ChatGPT
Loading workflow…
Workflow Description
A workflow that receives webhook requests and processes them using an OpenAI-powered intelligent agent, maintaining conversation context in a buffer memory system, and sending immediate responses back to the caller.
How it works
- 1.Receive incoming request through webhook trigger
- 2.Process input data and load conversation history into memory buffer
- 3.Send request to OpenAI agent for intelligent processing
- 4.Maintain context from previous interactions in memory
- 5.Return processed response via webhook callback
Use cases
- Build AI assistants that remember conversation history
- Handle customer inquiries with escalating complexity
- Automate decision-making tasks powered by language models
Requirements
- Valid OpenAI API key with appropriate permissions
- Understanding of webhook event structure and async handling
- Configuration of memory buffer window size based on use case
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (6)
Set your system promt for AI
Set
Local n8n memory
Memory Buffer Window
ChatGPT model
OpenAI
Send respond
Webhook
Sticky Note
Sticky Note
Getting message from Instagram
Webhook
Sticky Note1
Sticky Note
AI Agent
Agent
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Fresh workflows, straight to your inbox
Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.
- New workflows
- Clear overviews
- Setup guides