{
  "name": "Compare shipping rates with FedEx, DHL, BlueDart, Delhivery and Claude AI",
  "nodes": [
    {
      "id": "48452fd5-01e3-4211-86d6-cdaf40ab0c6a",
      "name": "Receive shipment request",
      "type": "n8n-nodes-base.webhook",
      "position": [
        3424,
        5872
      ]
    },
    {
      "id": "dc940eba-a7fd-48f6-aeaa-39de558d8490",
      "name": "Validate input and calculate weights",
      "type": "n8n-nodes-base.code",
      "position": [
        3648,
        5872
      ]
    },
    {
      "id": "49ff4abf-ce3b-4033-88a7-3e542f31f4fd",
      "name": "Get FedEx rates",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3872,
        5584
      ]
    },
    {
      "id": "25831822-8f70-4818-b9cd-e75dc86d0f5f",
      "name": "Get DHL rates",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3872,
        5776
      ]
    },
    {
      "id": "1722bca0-bbc4-48a6-98cd-2599907fa4a5",
      "name": "Get BlueDart rates",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3872,
        5968
      ]
    },
    {
      "id": "58beb078-f224-4077-b4c9-24ff36ca46d7",
      "name": "Get Delhivery rates",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3872,
        6160
      ]
    },
    {
      "id": "67140ee6-bba6-4482-a3b0-38eb6d10af27",
      "name": "Combine all carrier responses",
      "type": "n8n-nodes-base.merge",
      "position": [
        4096,
        5872
      ]
    },
    {
      "id": "4971d1ba-2f6e-4f67-8c90-d4443917cb83",
      "name": "Parse and normalize carrier rates",
      "type": "n8n-nodes-base.code",
      "position": [
        4320,
        5872
      ]
    },
    {
      "id": "3353c46c-c50f-4cee-a8bd-d3628f105ea5",
      "name": "Analyze with Claude AI",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        4544,
        5872
      ]
    },
    {
      "id": "cd07d172-2e69-48d5-9701-8283e895dd26",
      "name": "Claude AI model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        4616,
        6096
      ]
    },
    {
      "id": "6d8c057a-efd9-4c53-b5b8-4d343da94a7d",
      "name": "Build final response",
      "type": "n8n-nodes-base.code",
      "position": [
        4896,
        5872
      ]
    },
    {
      "id": "86b26897-d45d-4305-bf3e-0b51bfba2090",
      "name": "Check if auto-booking enabled",
      "type": "n8n-nodes-base.if",
      "position": [
        5120,
        5872
      ]
    },
    {
      "id": "ce8a11a8-6b61-4a78-8397-e8988835f20d",
      "name": "Prepare booking request",
      "type": "n8n-nodes-base.code",
      "position": [
        5344,
        5776
      ]
    },
    {
      "id": "b9272e4f-0012-4475-9260-03c051c5896c",
      "name": "Book shipment with carrier",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        5568,
        5776
      ]
    },
    {
      "id": "06218eee-b8f1-4a42-a153-fa0d96f50884",
      "name": "Format booking confirmation",
      "type": "n8n-nodes-base.code",
      "position": [
        5792,
        5776
      ]
    },
    {
      "id": "1c155c2d-46e2-4926-a1b5-3eb1715f2635",
      "name": "Format quote response",
      "type": "n8n-nodes-base.code",
      "position": [
        5792,
        5968
      ]
    },
    {
      "id": "75d57ff1-41b6-4f26-959e-9745cbec5e55",
      "name": "Send response to client",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        6016,
        5872
      ]
    },
    {
      "id": "67db4ae5-ac95-4285-b69c-9cf11b29d36d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2432,
        5200
      ],
      "parameters": {
        "width": 760,
        "height": 1084,
        "content": "## Compare shipping rates with FedEx, DHL, BlueDart, Delhivery and Claude AI\n\nThis AI-powered workflow automatically compares shipping rates across four major carriers, uses Claude AI to recommend the"
      }
    },
    {
      "id": "52fd0104-1bbc-46ac-9d41-1783efe02dff",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3340,
        5704
      ],
      "parameters": {
        "width": 424,
        "height": 328,
        "content": "## 1. Input validation"
      }
    },
    {
      "id": "8dc75b93-73ba-4e3a-aebd-f37f276ea69c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3788,
        5444
      ],
      "parameters": {
        "width": 456,
        "height": 684,
        "content": "## 2. Fetch carrier rates"
      }
    },
    {
      "id": "1ea2ac82-f318-40d6-a862-9926a8ea0f10",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        4292,
        5748
      ],
      "parameters": {
        "width": 712,
        "height": 284,
        "content": "## 3. AI recommendation"
      }
    },
    {
      "id": "b99daf49-429a-4c56-a660-23d11a0d982d",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        5052,
        5636
      ],
      "parameters": {
        "width": 1176,
        "height": 492,
        "content": "## 4. Book or quote"
      }
    }
  ],
  "connections": {
    "Get DHL rates": {
      "main": [
        [
          {
            "node": "Combine all carrier responses",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Claude AI model": {
      "ai_languageModel": [
        [
          {
            "node": "Analyze with Claude AI",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get FedEx rates": {
      "main": [
        [
          {
            "node": "Combine all carrier responses",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get BlueDart rates": {
      "main": [
        [
          {
            "node": "Combine all carrier responses",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Delhivery rates": {
      "main": [
        [
          {
            "node": "Combine all carrier responses",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Build final response": {
      "main": [
        [
          {
            "node": "Check if auto-booking enabled",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format quote response": {
      "main": [
        [
          {
            "node": "Send response to client",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze with Claude AI": {
      "main": [
        [
          {
            "node": "Build final response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare booking request": {
      "main": [
        [
          {
            "node": "Book shipment with carrier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive shipment request": {
      "main": [
        [
          {
            "node": "Validate input and calculate weights",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Book shipment with carrier": {
      "main": [
        [
          {
            "node": "Format booking confirmation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format booking confirmation": {
      "main": [
        [
          {
            "node": "Send response to client",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if auto-booking enabled": {
      "main": [
        [
          {
            "node": "Prepare booking request",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Format quote response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine all carrier responses": {
      "main": [
        [
          {
            "node": "Parse and normalize carrier rates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse and normalize carrier rates": {
      "main": [
        [
          {
            "node": "Analyze with Claude AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate input and calculate weights": {
      "main": [
        [
          {
            "node": "Get FedEx rates",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get DHL rates",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get BlueDart rates",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Delhivery rates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}