AI Agents

Build a Multi-Task AI Agent Triggered by Webhook

28 nodes 281 153 Webhook
Download

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. 1.Receive incoming request via webhook trigger
  2. 2.Process input through OpenAI model with contextual memory
  3. 3.Execute HTTP tools or conditional logic based on agent decisions
  4. 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

OpenAI Tool Chat Trigger Memory AI Agent HTTP Request

Details

Trigger Webhook
Nodes 28
Apps 6
Views 281
Downloads 153

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (28)

/

OpenAI Chat Model2

OpenAI

#1

Respond to Webhook

Webhook

#2

calendarAgent

Tool Workflow

#3

When chat message received

Chat Trigger

#4

taskAgent

Tool Workflow

#5

Window Buffer Memory

Memory Buffer Window

#6

Map Fields

Set

#7

Map Fields1

Set

#8

Exclude Previews from Speech

Set

#9

Main Agent

Agent

#10

OpenAI Chat Model

OpenAI

#11

HTTP Request

HTTP Request

#12

Settings

Set

#13

Format output

Set

#14

Notion Task Agent

Agent

#15

Window Buffer Memory1

Memory Buffer Window

#16

Get calendar availability

HTTP Request

#17

Book appointment

HTTP Request

#18

Google Calendar Agent

Agent

#19

OpenAI Chat Model1

OpenAI

#20

Settings1

Set

#21

Format output1

Set

#22

Window Buffer Memory2

Memory Buffer Window

#23

Sticky Note

Sticky Note

#24

Sticky Note1

Sticky Note

#25

Sticky Note2

Sticky Note

#26

Sticky Note3

Sticky Note

#27

Webhook

Webhook

#28