{
  "name": "Monitor .my domains with MYNIC RDAP and send alerts via Gmail and Discord",
  "nodes": [
    {
      "id": "74edd14d-00bb-4d8e-a326-17ba6fd7e0c8",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        -384
      ],
      "parameters": {
        "width": 336,
        "height": 448,
        "content": "**Endpoint**: https://rdap.mynic.my/rdap/domain/{domain}\n\n**Available Domain Response**:\n- `description[0]`: \"is available for registration\"\n- `description[1]`: Link to registrar list\n\n**Registered Do"
      }
    },
    {
      "id": "5b9da171-6f28-408a-aa90-f4cc79d0dae3",
      "name": "Domain Available?",
      "type": "n8n-nodes-base.if",
      "position": [
        528,
        -96
      ]
    },
    {
      "id": "febe7d9c-f8f2-4f88-aca0-8c8aabf9265e",
      "name": "Update Sheet: Mark Available",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1152,
        -208
      ]
    },
    {
      "id": "f2bc9c1e-e8cd-47ad-ac33-826dacb77717",
      "name": "Wait 10 Seconds",
      "type": "n8n-nodes-base.wait",
      "position": [
        1360,
        -80
      ]
    },
    {
      "id": "a7163e06-eaea-480d-bd15-9fc81fa928ec",
      "name": "Schedule: Every 30 Minutes",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -480,
        -112
      ]
    },
    {
      "id": "17f133d9-cde8-4271-86cf-59dcadfb69ae",
      "name": "Fetch Target Domains from Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -256,
        -112
      ]
    },
    {
      "id": "c5f6224f-92ec-4b14-9ba2-4920ae62235d",
      "name": "Loop Through Domains",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -32,
        -112
      ]
    },
    {
      "id": "628d1b41-2982-4a97-a955-ed7227d41d9a",
      "name": "RDAP: Check Domain Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        224,
        -96
      ]
    },
    {
      "id": "ec96b939-891c-4af1-9b10-681c1a340b98",
      "name": "Gmail: Send Availability Alert",
      "type": "n8n-nodes-base.gmail",
      "position": [
        704,
        -208
      ]
    },
    {
      "id": "f87af0c7-abd5-4910-9c71-c9510096d6ad",
      "name": "Discord: Notify Available Domain",
      "type": "n8n-nodes-base.discord",
      "position": [
        928,
        -208
      ]
    },
    {
      "id": "84922f38-278b-4bdf-b5f0-67bf784e1106",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -576,
        -688
      ],
      "parameters": {
        "width": 500,
        "height": 750,
        "content": "## RDAP .my Domain Availability Monitor\n\n### How it works\n1. A scheduled trigger runs (default every 30 minutes) and fetches target domains from a Google Sheet where isAvailable = no. \n2. The workflow"
      }
    }
  ],
  "connections": {
    "Wait 10 Seconds": {
      "main": [
        [
          {
            "node": "Loop Through Domains",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Domain Available?": {
      "main": [
        [
          {
            "node": "Gmail: Send Availability Alert",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait 10 Seconds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Through Domains": {
      "main": [
        [],
        [
          {
            "node": "RDAP: Check Domain Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "RDAP: Check Domain Status": {
      "main": [
        [
          {
            "node": "Domain Available?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule: Every 30 Minutes": {
      "main": [
        [
          {
            "node": "Fetch Target Domains from Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Sheet: Mark Available": {
      "main": [
        [
          {
            "node": "Wait 10 Seconds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail: Send Availability Alert": {
      "main": [
        [
          {
            "node": "Discord: Notify Available Domain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Target Domains from Sheet": {
      "main": [
        [
          {
            "node": "Loop Through Domains",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Discord: Notify Available Domain": {
      "main": [
        [
          {
            "node": "Update Sheet: Mark Available",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}