AI Agents

Create an AI agent responding to chat messages

6 nodes 291 134 Automatic trigger
Download

Workflow Description

An automation that builds an intelligent agent receiving messages through a chat interface, processing them with OpenAI, maintaining conversation context via memory buffer, and using integrated tools to generate immediate, contextual responses.

How it works

  1. 1.Receive incoming message from the enabled chat trigger
  2. 2.Process message through OpenAI model while retaining conversation history
  3. 3.Execute required tools and generate intelligent response

Use cases

  • Build a smart assistant that automatically responds to customer inquiries
  • Create a multi-purpose agent integrating data from various sources

Requirements

  • OpenAI API key configured
  • Active chat channel set up to receive incoming messages

Service Value

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

Apps Used

Chat Trigger OpenAI Memory Tool AI Agent

Details

Trigger Automatic trigger
Nodes 6
Apps 5
Views 291
Downloads 134

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

When chat message received

Chat Trigger

#1

OpenAI Chat Model

OpenAI

#2

Simple Memory

Memory Buffer Window

#3

first tweet

Set

#4

hilo

Set

#5

Agente X

Agent

#6