AI Agents

Build an intelligent agent with OpenAI memory and tools

6 nodes 336 144 Automatic trigger
Download

Workflow Description

An automation that creates a smart agent capable of maintaining conversation context through a rolling memory buffer, using computational tools, and responding to user interactions in real time via an interactive chat interface.

How it works

  1. 1.Trigger conversation from user interaction through the chat interface
  2. 2.Store conversation context in a rolling memory buffer
  3. 3.Send user request to OpenAI with available tools
  4. 4.Execute mathematical operations when required by the agent
  5. 5.Return processed response to the user

Use cases

  • An intelligent assistant that remembers context and provides accurate answers to complex questions
  • An agent that performs advanced calculations seamlessly within natural conversation

Requirements

  • OpenAI API key with proper authentication
  • Connected chat interface for user interaction

Service Value

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

Apps Used

Memory OpenAI Tool Chat Trigger

Details

Trigger Automatic trigger
Nodes 6
Apps 4
Views 336
Downloads 144

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)

Sticky Note1

Sticky Note

#1

Sticky Note4

Sticky Note

#2

Simple Memory

Memory Buffer Window

#3

OpenAI

OpenAI

#4

Calculator1

Tool Calculator

#5

When chat message received

Chat Trigger

#6