AI Agents

Automated workflow

11 nodes 234 113 Webhook
Download

Workflow Description

An automated workflow that receives requests via webhook and processes them using an intelligent OpenAI-powered agent, while maintaining a memory buffer to ensure contextual and consistent responses.

How it works

  1. 1.Receive incoming request through webhook and store initial data
  2. 2.Load previous memory buffer and integrate it with the current request
  3. 3.Process the request using OpenAI's intelligent agent with accumulated context
  4. 4.Send response via webhook and update memory with new conversation data

Use cases

  • Building context-aware chatbots that remember previous conversations
  • Automating complex inquiry processing requiring advanced comprehension
  • Creating intelligent assistants that learn and improve from past interactions

Requirements

  • Valid OpenAI API key configured and active
  • Webhook endpoints set up for receiving and sending data
  • Memory service availability to persist conversation context

Service Value

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

Apps Used

Memory OpenAI AI Agent

Details

Trigger Webhook
Nodes 11
Apps 3
Views 234
Downloads 113

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

/

Set your system promt for AI

Set

#1

Local n8n memory

Memory Buffer Window

#2

ChatGPT model

OpenAI

#3

Send respond

Webhook

#4

Sticky Note

Sticky Note

#5

Getting message from Instagram

Webhook

#6

Sticky Note1

Sticky Note

#7

AI Agent

Agent

#8

Sticky Note2

Sticky Note

#9

Sticky Note3

Sticky Note

#10

Sticky Note4

Sticky Note

#11