Intelligent agent routing custom HTTP requests via OpenAI
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.Activate the manual trigger to capture user messages in the chat interface
- 2.Process incoming messages using an intelligent agent powered by OpenAI's language model
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (20)
On new manual Chat Message
Manual Chat Trigger
OpenAI Chat Model
OpenAI
HTTP Request
HTTP Request
Exctract HTML Body
Set
Is error?
If
Stringify error message
Set
Execute Workflow Trigger
Execute Workflow Trigger
Remove extra tags
Set
Simplify output
Set
Simplify?
If
QUERY_PARAMS
Set
CONFIG
Set
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
ReAct AI Agent
Agent
Convert to Markdown
Markdown
Send Page Content
Set
HTTP_Request_Tool
Tool Workflow