Proxy with custom HTTP request
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.Activate manual chat trigger to receive user commands
- 2.Route requests to OpenAI AI agent for analysis and interpretation
- 3.Construct and send custom HTTP requests based on instructions
- 4.Parse and transform responses back to user-friendly format
- 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
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