Compare shipping rates with FedEx, DHL, BlueDart, Delhivery and Claude AI
Needs changesWhat this workflow does
This AI workflow has 17 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Anthropic Chat Model. It also calls api.fedex.com, api-eu.dhl.com and api.bluedart.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validate input and calculate weights (Code): runs custom JavaScript code
- Get FedEx rates (HTTP Request): calls api.fedex.com
- Get DHL rates (HTTP Request): calls api-eu.dhl.com
- Get BlueDart rates (HTTP Request): calls api.bluedart.com
- Get Delhivery rates (HTTP Request): calls track.delhivery.com
- Combine all carrier responses (Merge): merges the data from its input branches
- Parse and normalize carrier rates (Code): runs custom JavaScript code
- Analyze with Claude AI (AI Agent): runs an AI agent, with model: Claude AI model
- Build final response (Code): runs custom JavaScript code
- Check if auto-booking enabled (If): checks a condition and branches into true / false
…plus 5 more steps. See the full node list below.
Services it uses
HTTP calls to: api.fedex.com, api-eu.dhl.com, api.bluedart.com, track.delhivery.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 Analyze with Claude AI (v1.6): 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) Analyze with Claude AI (v1.6) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
This AI-powered workflow automatically compares shipping rates across four major carriers, uses Claude AI to recommend the best option based on cost and delivery time, and optionally books shipments instantly. How it works 1. Receive request - Webhook accepts…