Compare shipping rates with FedEx, DHL, BlueDart, Delhivery and Claude AI
Go to WorkflowDescription
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
Receive request - Webhook accepts shipment details (origin, destination, weight, dimensions)
Validate data - Checks required fields and calculates volumetric weight
Query carriers - Simultaneously fetches rates from FedEx, DHL, BlueDart, and Delhivery
Normalize responses - Parses different carrier formats into standardized structure
AI analysis - Claude AI evaluates options considering cost, speed, and preferences
Return results - Provides recommendation with savings analysis, or books shipment if enabled
Setup steps
Import this workflow into your n8n instance
Configure carrier API credentials:
FedEx API - Get credentials from FedEx Developer Portal
DHL API - Register at DHL Developer Portal
BlueDart API - Contact BlueDart for API access
Delhivery API - Get token from Delhivery partner portal
Add Anthropic API credentials for Claude AI
Activate workflow to generate webhook URL
Test with sample request:
{
"origin": "400001",
"destination": "110001",
"weight": 2,
"length": 30,
"width": 20,
"height": 15,
"deliverySpeed": "standard",
"autoBook": false
}
Features
Real-time rates** from 4 carriers
AI-powered recommendations** considering cost, speed, and preferences
Automatic booking** when enabled
Comprehensive error handling**
Detailed cost comparison** and savings analysis