AI Agents

Automated workflow

5 nodes 229 114 Automatic trigger
Download

Workflow Description

An intelligent agent workflow that processes user messages through a chat interface, leverages OpenAI's language model with contextual memory to maintain conversation coherence, and integrates search capabilities to retrieve real-time information for more accurate responses.

How it works

  1. 1.Trigger activates when user sends a message via chat interface
  2. 2.AI agent receives input and routes it to OpenAI language model for processing
  3. 3.Memory buffer retrieves relevant past conversation context to inform the response
  4. 4.Search tool queries external data sources for current, supplementary information
  5. 5.Agent formulates and delivers a comprehensive response to the user

Use cases

  • Automated customer support system handling complex inquiries with access to live information
  • Intelligent assistant providing contextually aware answers by combining conversation history with search results

Requirements

  • Valid OpenAI API key with appropriate model access
  • Properly configured search tool credentials and API endpoint

Service Value

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

Apps Used

OpenAI Memory Tool Chat Trigger AI Agent

Details

Trigger Automatic trigger
Nodes 5
Apps 5
Views 229
Downloads 114

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

OpenAI Chat Model

OpenAI

#1

Window Buffer Memory

Memory Buffer Window

#2

SerpAPI

Tool Serp Api

#3

When chat message received

Chat Trigger

#4

AI Agent

Agent

#5