{
  "name": "Automate GoDaddy Subdomain Management via Email Requests",
  "nodes": [
    {
      "id": "ad85bd3c-1605-4b5e-823c-009280d2dae7",
      "name": "Create Subdomain",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        660,
        460
      ]
    },
    {
      "id": "629e7d14-10b5-42c9-8332-2cdfbc847f33",
      "name": "Delete Subdomain",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        660,
        660
      ]
    },
    {
      "id": "66b4d0fe-037e-4337-911a-e6d2f19335d9",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        220
      ],
      "parameters": {
        "width": 400,
        "height": 200,
        "content": "This n8n workflow automates subdomain creation and deletion on GoDaddy using their API, triggered via email requests. This empowers developers to manage subdomains directly without involving DevOps fo"
      }
    },
    {
      "id": "df3c9425-7d2e-4489-aada-01a321d56b1e",
      "name": "Start Workflow (GET Request)",
      "type": "n8n-nodes-base.emailReadImap",
      "position": [
        0,
        560
      ]
    },
    {
      "id": "e497482e-83b6-4632-bbe3-56cfeccc0a95",
      "name": "Extract Data from Email",
      "type": "n8n-nodes-base.code",
      "position": [
        220,
        560
      ]
    },
    {
      "id": "473060c3-ef5a-43c4-bfd6-920b300357fc",
      "name": "Validate Action Type",
      "type": "n8n-nodes-base.if",
      "position": [
        440,
        560
      ]
    },
    {
      "id": "0c9d9758-b4b8-4f7e-b35b-8647628fd7fe",
      "name": "Send Email Response",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        880,
        560
      ]
    }
  ],
  "connections": {
    "Create Subdomain": {
      "main": [
        [
          {
            "node": "Send Email Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delete Subdomain": {
      "main": [
        [
          {
            "node": "Send Email Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate Action Type": {
      "main": [
        [
          {
            "node": "Create Subdomain",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Delete Subdomain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Data from Email": {
      "main": [
        [
          {
            "node": "Validate Action Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Workflow (GET Request)": {
      "main": [
        [
          {
            "node": "Extract Data from Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}