Compare sequential, agent-based, and parallel LLM processing with Claude 3.7
Needs changesWhat this workflow does
This AI workflow has 31 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Anthropic Chat Model. It also calls blog.n8n.io over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- HTTP Request: calls blog.n8n.io
- Basic LLM Chain: sends a prompt to an LLM, with model: Anthropic Chat Model
- Markdown: converts between Markdown and HTML
- LLM Chain - Step (Basic LLM Chain): sends a prompt to an LLM, with model: Anthropic Chat Model
- LLM Chain - Step (Basic LLM Chain): sends a prompt to an LLM, with model: Anthropic Chat Model
- LLM Chain - Step (Basic LLM Chain): sends a prompt to an LLM, with model: Anthropic Chat Model
- LLM Chain - Step (Basic LLM Chain): sends a prompt to an LLM, with model: Anthropic Chat Model
- Clean memory (Chat Memory Manager): uses Chat Memory Manager, with memory: Simple Memory
- Merge: merges the data from its input branches
- Initial prompts (Edit Fields (Set)): sets 5 fields: system_prompt, step1, step2…
…plus 9 more steps. See the full node list below.
Services it uses
HTTP calls to: blog.n8n.io
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 All LLM steps here - sequentially (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) All LLM steps here - sequentially (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (13)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Markdown
n8n-nodes-base.markdown - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Merge
n8n-nodes-base.merge - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Chat Memory Manager
@n8n/n8n-nodes-langchain.memoryManager - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Webhook
n8n-nodes-base.webhook - No Operation, do nothing
n8n-nodes-base.noOp - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
This workflow demonstrates three distinct approaches to chaining LLM operations using Claude 3.7 Sonnet. Connect to any section to experience the differences in implementation, performance, and capabilities. What you'll find: 1️⃣ Naive Sequential Chaining The…