Build a Multi-Task AI Agent Triggered by Webhook
Workflow Description
An advanced template that creates an intelligent OpenAI-powered agent receiving requests via webhook, maintains conversation context through memory, executes custom HTTP tools, and responds intelligently. Perfect for building autonomous assistants that make decisions and take actions.
How it works
- 1.Receive incoming request via webhook trigger
- 2.Process input through OpenAI model with contextual memory
- 3.Execute HTTP tools or conditional logic based on agent decisions
- 4.Return intelligent response to the client via webhook
Use cases
- Create a customer support agent that answers inquiries with historical context
- Automate complex workflows requiring real-time decision-making
- Build an agent that integrates external data sources through HTTP calls
Requirements
- Valid OpenAI API key configured
- Active webhook endpoint for receiving requests
- Defined HTTP tools or executable business logic
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 (28)
OpenAI Chat Model2
OpenAI
Respond to Webhook
Webhook
calendarAgent
Tool Workflow
When chat message received
Chat Trigger
taskAgent
Tool Workflow
Window Buffer Memory
Memory Buffer Window
Map Fields
Set
Map Fields1
Set
Exclude Previews from Speech
Set
Main Agent
Agent
OpenAI Chat Model
OpenAI
HTTP Request
HTTP Request
Settings
Set
Format output
Set
Notion Task Agent
Agent
Window Buffer Memory1
Memory Buffer Window
Get calendar availability
HTTP Request
Book appointment
HTTP Request
Google Calendar Agent
Agent
OpenAI Chat Model1
OpenAI
Settings1
Set
Format output1
Set
Window Buffer Memory2
Memory Buffer Window
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Webhook
Webhook