Description
Simplify AI Agent workflows in n8n using the new native HTTP tool (v1.47.0+)
๐ What Problem Does It Solve?
Before, simple API calls in AI Agent workflows required
โ Custom subworkflows
โ Execute Workflow Tool
โ Manual query and response formatting
The new HTTP tool removes this clutter by handling requests natively
๐ง How It Works
๐ Accepts input from the Chat Trigger
๐จ Sends it to the AI Agent node
๐ Agent calls APIs using the new HTTP Tool
๐ง Uses OpenAI GPT-4o for smart decision-making
๐งพ Supports both GET and POST requests with JSON and query param input
๐งฝ Reduces need for Set + Function + Formatting nodes
โจ Key Use Cases
๐ธ๏ธ Scrape web pages (Firecrawl API integration)
๐ Fetch structured content from public APIs
๐ฏ Build leaner, more efficient AI agents
๐ฆ Replace up to 10 workflow nodes with a single HTTP tool node
๐ ๏ธ Examples Included
๐ง Webpage Scraper Agent
๐ API Caller Agent
โ
Both are refactored to replace old Execute Workflow + formatting logic
๐งฐ What You Need
โ
OpenAI GPT-4o API Key
โ
(Optional) HTTP Header Auth credentials
โ
n8n v1.47.0 or later
โ๏ธ Setup Instructions
๐ Connect the Chat Trigger to the Set nodes
๐ค Forward input to the AI Agent
๐ Attach relevant HTTP Tool(s) to your Agent
๐งช Use test inputs to validate the new flow
๐ Integrations
OpenAI GPT-4o
n8n HTTP Tool
Firecrawl API
Any external API (via HTTP)