{
  "name": "Automated DHL shipment tracking bot for web forms and email inquiries",
  "nodes": [
    {
      "id": "intro-note-1",
      "name": "Workflow Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -112,
        80
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "webhook-trigger",
      "name": "Webhook Form Trigger",
      "type": "n8n-nodes-base.webhook",
      "position": [
        304,
        112
      ]
    },
    {
      "id": "gmail-trigger",
      "name": "Gmail Email Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        304,
        304
      ]
    },
    {
      "id": "setup-note-1",
      "name": "Trigger Setup",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        304,
        480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "merge-triggers",
      "name": "Merge Triggers",
      "type": "n8n-nodes-base.merge",
      "position": [
        608,
        208
      ]
    },
    {
      "id": "extract-tracking",
      "name": "Extract Tracking Number",
      "type": "n8n-nodes-base.code",
      "position": [
        800,
        208
      ]
    },
    {
      "id": "extraction-note",
      "name": "Extraction Logic",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        384
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "dhl-api-request",
      "name": "Get DHL Tracking Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1008,
        208
      ]
    },
    {
      "id": "api-note",
      "name": "DHL API Configuration",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        384
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "format-response",
      "name": "Format Response Message",
      "type": "n8n-nodes-base.code",
      "position": [
        1200,
        208
      ]
    },
    {
      "id": "check-source",
      "name": "Check Source",
      "type": "n8n-nodes-base.if",
      "position": [
        1408,
        208
      ]
    },
    {
      "id": "routing-note",
      "name": "Response Routing",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1344,
        352
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "webhook-response",
      "name": "Webhook Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1600,
        112
      ]
    },
    {
      "id": "gmail-send",
      "name": "Send Gmail Response",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1600,
        304
      ]
    },
    {
      "id": "email-config-note",
      "name": "Email Setup",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1600,
        464
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Check Source": {
      "main": [
        [
          {
            "node": "Webhook Response",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Gmail Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Triggers": {
      "main": [
        [
          {
            "node": "Extract Tracking Number",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail Email Trigger": {
      "main": [
        [
          {
            "node": "Merge Triggers",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Webhook Form Trigger": {
      "main": [
        [
          {
            "node": "Merge Triggers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Tracking Number": {
      "main": [
        [
          {
            "node": "Get DHL Tracking Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Response Message": {
      "main": [
        [
          {
            "node": "Check Source",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get DHL Tracking Status": {
      "main": [
        [
          {
            "node": "Format Response Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}