Introduction to the HTTP tool
Needs changesWhat this workflow does
This AI workflow has 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model and HTTP Request. It also calls bored-api.appbrewery.com and api.firecrawl.dev over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set ChatInput (Edit Fields (Set)): sets 1 field: chatInput
- Set ChatInput (Edit Fields (Set)): sets 1 field: chatInput
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Webscraper Tool)
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Activity Tool)
Services it uses
HTTP calls to: bored-api.appbrewery.com, api.firecrawl.dev
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- HTTP Request Tool (legacy) in Activity Tool, Webscraper Tool: replace with HTTP Request node connected to the AI Agent's Tool input.
- AI Agent v1 (old agent modes) in AI Agent1 (v1.6), AI Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| HTTP Request Tool (legacy) Activity Tool, Webscraper Tool | HTTP Request node connected to the AI Agent's Tool input |
| AI Agent v1 (old agent modes) AI Agent1 (v1.6), AI Agent (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (5)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - HTTP Request Tool
@n8n/n8n-nodes-langchain.toolHttpRequest - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
This n8n template showcases the new HTTP tool released in version 1.47.0. Overall, the tool helps simplify AI Agent workflows where custom sub-workflows were performing the same simple http requests. Comparisons 1. AI agent that can scrape webpages Remake of…