AI Agents

Intelligent agent routing custom HTTP requests via OpenAI

20 nodes 308 173 Automatic trigger
Download

Workflow Description

Automation that receives messages through a manual chat interface, processes them with an AI agent connected to OpenAI, then routes custom HTTP requests to execute tasks and integrate with external services like Twitter/X.

How it works

  1. 1.Activate the manual trigger to capture user messages in the chat interface
  2. 2.Process incoming messages using an intelligent agent powered by OpenAI's language model
  3. 3.Route and execute custom HTTP requests to perform operations on external platforms

Use cases

  • Build a smart assistant that converts text commands into API operations on external services
  • Create an advanced data processing agent combining AI reasoning with programmatic API calls

Requirements

  • Valid OpenAI API key with sufficient quota
  • External APIs or webhooks that accept custom HTTP requests

Service Value

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

Apps Used

Manual Chat Trigger OpenAI Twitter/X AI Agent Tool

Details

Trigger Automatic trigger
Nodes 20
Apps 5
Views 308
Downloads 173

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

/

On new manual Chat Message

Manual Chat Trigger

#1

OpenAI Chat Model

OpenAI

#2

HTTP Request

HTTP Request

#3

Exctract HTML Body

Set

#4

Is error?

If

#5

Stringify error message

Set

#6

Execute Workflow Trigger

Execute Workflow Trigger

#7

Remove extra tags

Set

#8

Simplify output

Set

#9

Simplify?

If

#10

QUERY_PARAMS

Set

#11

CONFIG

Set

#12

Sticky Note

Sticky Note

#13

Sticky Note1

Sticky Note

#14

Sticky Note2

Sticky Note

#15

Sticky Note3

Sticky Note

#16

ReAct AI Agent

Agent

#17

Convert to Markdown

Markdown

#18

Send Page Content

Set

#19

HTTP_Request_Tool

Tool Workflow

#20