Agent with custom HTTP Request

Convert the query string into JSON, apply the limit for a page length

Workflow Structure (16 nodes)
100%
Langchain.manual Chat Trigger
On new manual Chat Message
Langchain.lm Chat Open Ai
OpenAI Chat Model
Langchain.agent
ReAct AI Agent
Langchain.tool Workflow
HTTP_Request_Tool
Set
Stringify error message
Execute Workflow Trigger
Execute Workflow Trigger
Set
QUERY_PARAMS
Set
CONFIG
Http Request
HTTP Request
If
Is error?
Set
Exctract HTML Body
Set
Remove extra tags
If
Simplify?
Set
Simplify output
Markdown
Convert to Markdown
Set
Send Page Content
Node Types:
trigger
default
http
transform
logic
Requires credentials

Prerequisites

Required Credentials (1)

OpenAI

Used by: OpenAI Chat Model

Docs

Complexity

Complex

Advanced features used. Requires n8n experience.

Setup time: ~30 min
Score: 51/100
Conditional Logic

When to Use This Workflow

AI-Powered Content Creation

Automate content generation, summarization, or analysis using AI capabilities.

Save hours of manual work while maintaining quality and consistency.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": "dsKnCFwysROIA4MT",
  "meta": {
    "instanceId": "03524270bab2c2dfd5b82778cd1355e56cdda3cf098bf2dfd865e18164c00485"
  },
  "name": "Agent with custom HTTP Request",
  "tags": [],
  "nodes": [
    {
      "id": "e7374976-f3c1-4f60-ae57-9eec65444216",
      "name": "On new manual Chat Message",
      "type": "@n8n/n8n-nodes-langchain.manualChatTrigger",
      "position": [
        763,
        676
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
...

Workflow Details

Nodes
20
Trigger
Event
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Build a Tax Code Assistant with Qdrant, Mistral.ai and OpenAI

Step 1. Download the Tax Code PDF [Read more about handling Zip Files](https://docs.n8n.io/integrations/builtin/core-nod...

Embeddingsmistralcloud
Documentdefaultdataloader
Textsplitterrecursivecharactertextsplitter
Http-request
38 nodesEvent
Curated

Building RAG Chatbot for Movie Recommendations with Qdrant and Open AI

Tool, calling Qdrant's recommendation API based on user's request, transformed by AI agent

Github
Embeddingsopenai
Documentdefaultdataloader
Textsplittertokensplitter
27 nodesEvent
Curated

Enrich Property Inventory Survey with Image Recognition and AI Agent

1. Use Airtable to Capture Survey Photos [Read more about AirTable](https://docs.n8n.io/integrations/builtin/app-nodes/n...

Lmchatopenai
Airtable
Executeworkflow
Http-request
29 nodesEvent
Curated

Extract insights & analyse YouTube comments via AI Agent chat

... or watch set up video [13 min] [![Youtube Thumbnail](https://cflobdhpqwnoisuctsoc.supabase.co/storage/v1/object/publ...

Lmchatopenai
Toolworkflow
Memorypostgreschat
Agent
29 nodesEvent
Curated

AI chat with any data source (using the n8n workflow tool)

Replace me with any other service, e.g. fetching your own data

Manualchat
Executeworkflow
Hackernews
Agent
12 nodesEvent
Curated

AI-powered WooCommerce Support-Agent

Find WooCommerce User-ID User-ID is required to query past orders

Memorybufferwindow
Executeworkflow
Woocommerce
Http-request
40 nodesEvent
Curated