AI Agents
Build an intelligent agent responding to webhook requests
11 nodes
297
166
Webhook
Workflow Description
Advanced template that creates an AI-powered agent receiving requests via webhook, maintains conversation history in memory, and processes queries using OpenAI before returning responses. Perfect for building context-aware conversational systems.
How it works
- 1.Receive incoming request via webhook and pass it to the agent
- 2.Store conversation context and previous messages in buffer memory
- 3.Process request using OpenAI model and intelligent agent logic
- 4.Send response back through webhook to the requester
Use cases
- Create a customer support assistant that answers inquiries while maintaining conversation context
- Build a conversational bot that learns from prior interactions within a session
Requirements
- Valid OpenAI API key with appropriate permissions
- Webhook endpoint capable of receiving and sending JSON-formatted data
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Memory
OpenAI
AI Agent
Details
Trigger
Webhook
Nodes
11
Apps
3
Views
297
Downloads
166
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 (11)
/
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