AI Agents

Automated workflow

9 nodes 215 131 Automatic trigger
Download

Workflow Description

An automated workflow combining an AI agent with search capabilities, receiving queries through a chat interface and processing them using advanced language models while maintaining conversation history to improve successive responses.

How it works

  1. 1.Activate the workflow when receiving a message through the chat trigger
  2. 2.Process the inquiry using OpenAI's language model
  3. 3.Search the internet and encyclopedias using integrated search tools
  4. 4.Maintain previous conversation context in application memory
  5. 5.Execute the intelligent agent to answer complex queries

Use cases

  • Build a smart assistant that answers customer questions based on updated web information
  • Create an automated customer support system that remembers previous context and provides personalized responses

Requirements

  • OpenAI API key to access the language model
  • Search service API key (SerpApi) to retrieve search engine results

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 9
Apps 5
Views 215
Downloads 131

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)

Sticky Note4

Sticky Note

#1

Sticky Note3

Sticky Note

#2

Sticky Note6

Sticky Note

#3

When chat message received

Chat Trigger

#4

OpenAI Chat Model

OpenAI

#5

Simple Memory

Memory Buffer Window

#6

SerpAPI

Tool Serp Api

#7

Wikipedia

Tool Wikipedia

#8

AI Agent

Agent

#9