AI Agents

Activate intelligent agent with OpenAI for inquiry responses

23 nodes 181 105 Automatic trigger
Download

Workflow Description

A workflow combining an intelligent agent with OpenAI for automated message handling. Receives inquiries through a chat trigger, routes them to the agent for intelligent processing, generates responses using OpenAI models, and delivers answers to the user.

How it works

  1. 1.Receive inquiry via chat trigger
  2. 2.Process request using intelligent agent
  3. 3.Send text to OpenAI for unified response formatting
  4. 4.Return response to user

Use cases

  • Automated customer service handling common questions
  • Support system that classifies issues and suggests solutions
  • Virtual assistant that understands context and responds naturally

Requirements

  • Valid OpenAI API key
  • Chat trigger configured to accept incoming messages
  • Intelligent agent settings enabled for additional tools when needed

Service Value

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

Apps Used

AI Agent OpenAI Tool Chat Trigger

Details

Trigger Automatic trigger
Nodes 23
Apps 4
Views 181
Downloads 105

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

/

Create Perplexity Content

HTTP Request

#1

AI Writer Agent

Agent

#2

AI Editor Agent

Agent

#3

OpenAI Chat Model

OpenAI

#4

OpenAI Chat Model1

OpenAI

#5

Accept and Publish

Tool Workflow

#6

When chat message received

Chat Trigger

#7

JSON.parse1

Code

#8

Merge

Merge

#9

Format

Code

#10

JSON.parse

Code

#11

Format Perplexity Output & Add Citations

Code

#12

Initialize Count

Set

#13

Increment Count

Function

#14

Check Limit

If

#15

Stop Here

No Op

#16

Execute Workflow

Execute Workflow

#17

JSON.parse3

Code

#18

should submit

If

#19

Sticky Note

Sticky Note

#20

Sticky Note1

Sticky Note

#21

Sticky Note2

Sticky Note

#22

Sticky Note3

Sticky Note

#23