Skip to main content

Compare shipping rates with FedEx, DHL, BlueDart, Delhivery and Claude AI

Workflow preview

Workflow preview
100%
Compare shipping rates with FedEx, DHL, BlueDart, Delhivery and Claude AI preview
Open on n8n.io

1. Workflow Overview

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 shipment...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.merge, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatanthropic, n8n-nodes-base.if, n8n-nodes-base.respondtowebhook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.

Original n8n.io source

1.1 Workflow description

Title
Compare shipping rates with FedEx, DHL, BlueDart, Delhivery and Claude AI
Workflow name
Compare shipping rates with FedEx, DHL, BlueDart, Delhivery and Claude AI

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 shipment details (origin, destination, weight, dimensions)
  2. Validate data - Checks required fields and calculates volumetric weight
  3. Query carriers - Simultaneously fetches rates from FedEx, DHL, BlueDart, and Delhivery
  4. Normalize responses - Parses different carrier formats into standardized structure
  5. AI analysis - Claude AI evaluates options considering cost, speed, and preferences
  6. Return results - Provides recommendation with savings analysis, or books shipment if enabled

Setup steps

  1. Import this workflow into your n8n instance
  2. 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
  1. Add Anthropic API credentials for Claude AI
  2. Activate workflow to generate webhook URL
  3. 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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Receive shipment request

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 2 - Validate input and calculate weights

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Get FedEx rates

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Get DHL rates

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Get BlueDart rates

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Get Delhivery rates

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Combine all carrier responses

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 8 - Parse and normalize carrier rates

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Analyze with Claude AI

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.6

Block 10 - Claude AI model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAnthropic - lmChatAnthropic
Config choices
Version 1

Block 11 - Build final response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Check if auto-booking enabled

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 13 - Prepare booking request

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Book shipment with carrier

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 15 - Format booking confirmation

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Format quote response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Send response to client

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1

Block 18 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Compare shipping rates with FedEx, DHL, BlueDart, Delhivery and Claude AI
Complexity advanced
Nodes 22
Categories Market Research, AI Summarization
Author Oneclick AI Squad
Published 04 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10500/10500.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Compare shipping rates with FedEx, DHL, BlueDart, Delhivery and Claude AI do?

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 shipment...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.