AI Agents

Interactive AI agent with conversation memory and API integration

9 nodes 304 151 Automatic trigger
Download

Workflow Description

Build an AI agent that receives chat messages, maintains conversation history in memory, processes requests through OpenAI's models, and executes HTTP operations to integrate with external systems and retrieve data.

How it works

  1. 1.Receive user message through chat trigger interface
  2. 2.Store conversation context and previous messages in memory buffer
  3. 3.Process the request using an AI agent powered by OpenAI
  4. 4.Execute HTTP requests to connect with external services and APIs
  5. 5.Send the generated response back to the user

Use cases

  • Intelligent customer support that maintains long conversation context and coherence
  • Agent integration with external APIs for data retrieval and information lookup
  • Personal assistant that learns from interaction history and improves responses over time

Requirements

  • Valid OpenAI API key with appropriate permissions and quota
  • Properly configured HTTP endpoints with correct authentication credentials
  • Memory buffer settings adjusted for expected conversation length and complexity

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Chat Trigger Memory AI Agent OpenAI HTTP Request

Details

Trigger Automatic trigger
Nodes 9
Apps 5
Views 304
Downloads 151

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 (9)

When chat message received

Chat Trigger

#1

Sticky Note14

Sticky Note

#2

Window Buffer Memory

Memory Buffer Window

#3

Jina.ai Web Scraping Agent

Agent

#4

gpt-4o-mini

OpenAI

#5

Sticky Note

Sticky Note

#6

Sticky Note1

Sticky Note

#7

Sticky Note2

Sticky Note

#8

Jina.ai Web Scraper Tool

HTTP Request

#9