Claude 3.7 Sonnet AI chatbot agent with Anthropic web search and think functions
Needs changesWhat this workflow does
This AI workflow has 6 nodes and runs when a chat message arrives. Along the way it connects Anthropic Chat Model and HTTP Request. It also calls api.anthropic.com over HTTP.
How it runs
Trigger: When a chat message arrives.
- AI Agent: runs an AI agent, with model: Anthropic Chat Model; 2 tools (Think, web_search); memory: Simple Memory
Services it uses
HTTP calls to: api.anthropic.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.9): 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 |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (6)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Http Request Tool
n8n-nodes-base.httpRequestTool - Think Tool
@n8n/n8n-nodes-langchain.toolThink
From the author
This workflow builds a conversational AI chatbot agent using Claude 3.7 Sonnet model with the new . It enhances standard LLM capabilities with Anthropic’s features: Web Search and Think: Real-time web search, to answer up-to-date factual queries. A “Think”…