AI Agents

Automated workflow

16 nodes 210 96 Automatic trigger
Download

Workflow Description

An automated workflow combining an AI agent with conversation memory to process inquiries and execute complex tasks across multiple applications including Twitter and HTTP interfaces.

How it works

  1. 1.Receive incoming messages through the chat trigger and store context in the sliding window memory buffer
  2. 2.Pass the user query to OpenAI for intelligent processing and semantic understanding
  3. 3.Route the request to an AI agent that selects and executes the appropriate tool or action
  4. 4.Execute tasks through specialized tools such as HTTP requests and Twitter post publishing
  5. 5.Aggregate results and deliver the final response back to the user

Use cases

  • Build an intelligent assistant that answers customer inquiries and performs automatic follow-up actions
  • Automate content distribution to social media based on natural language conversation requests
  • Create a context-aware AI agent that learns from conversation history and improves responses over time

Requirements

  • Valid OpenAI API key configured with appropriate model access
  • Twitter/X account credentials with API permissions enabled
  • Stable internet connection and active n8n workflow execution environment

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 Twitter/X

Details

Trigger Automatic trigger
Nodes 16
Apps 6
Views 210
Downloads 96

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

/

When chat message received

Chat Trigger

#1

OpenAI Chat Model

OpenAI

#2

Simple Memory

Memory Buffer Window

#3

Acuity Support Search API

HTTP Request

#4

Extract Relevant Fields

Set

#5

Results to Items

Split Out

#6

Has Results?

If

#7

Empty Response

Set

#8

Aggregate Response

Aggregate

#9

Knowledgebase Tool

Tool Workflow

#10

Sticky Note

Sticky Note

#11

Sticky Note1

Sticky Note

#12

Sticky Note2

Sticky Note

#13

AcuityScheduling Support Chatbot

Agent

#14

Sticky Note3

Sticky Note

#15

KnowledgeBase Tool Subworkflow

Execute Workflow Trigger

#16