AI Agents

Proxy with custom HTTP request

20 nodes 202 101 Automatic trigger
Download

Workflow Description

Advanced template combining an AI agent powered by OpenAI with custom HTTP requests, enabling users to interact through manual chat to execute dynamic web requests and intelligently process responses with conditional logic.

How it works

  1. 1.Activate manual chat trigger to receive user commands
  2. 2.Route requests to OpenAI AI agent for analysis and interpretation
  3. 3.Construct and send custom HTTP requests based on instructions
  4. 4.Parse and transform responses back to user-friendly format
  5. 5.Optionally integrate with Twitter/X to publish results

Use cases

  • Invoke external APIs through natural language without coding
  • Collect and process data from multiple web sources intelligently
  • Create intelligent proxy for applications lacking built-in interfaces
  • Control external operations through conversational commands

Requirements

  • Valid OpenAI API key with appropriate permissions
  • Understanding of HTTP request/response structures and headers
  • Authentication credentials for any external APIs required
  • Clear documentation of target endpoints and expected data formats

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 202
Downloads 101

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