Domain Name Availability Checker with n8n using WHMCS API

Developed by Omer Fayyaz

Domain Name Availability Checker

This AI-powered chat interface integrates with the WHMCS DomainWhois API through n8n workflow automation to provide real-time domain availability checking. The system uses the official WHMCS API endpoint to verify domain registration status.

🔧 N8N Workflow Integration

The system is powered by a custom n8n workflow that:

📡 WHMCS DomainWhois API

This system integrates with the official WHMCS DomainWhois API endpoint:


How the Domain Checker Works

The AI assistant "Erik" is powered by Google Gemini and integrated with a custom n8n workflow that connects to the WHMCS DomainWhois API for real-time domain availability checking. The system maintains conversation context and provides intelligent domain suggestions based on WHMCS API responses.

Technical Architecture

WHMCS API Request Format

POST /includes/api.php
Content-Type: application/x-www-form-urlencoded

identifier=Your_WHMCS_Identifier
secret=Your_WHMCS_Secret
action=DomainWhois
domain=example.com
responsetype=json

WHMCS API Response Format

{
  "result": "success",
  "status": "unavailable",
  "whois": "Domain registration information..."
}

N8N Workflow Components

Embed + init

<link href="https://cdn.jsdelivr.net/npm/@n8n/chat/dist/style.css" rel="stylesheet" />
<script type="module">
  import { createChat } from 'https://cdn.jsdelivr.net/npm/@n8n/chat/dist/chat.bundle.es.js';
  
  createChat({
    webhookUrl: 'https://your-n8n/webhook/domain-checker',
    botName: 'Erik - Domain Expert',
    brandColor: '#10b981',
    accentColor: '#059669',
    launcherVariant: 'icon-text',
    launcherText: 'Check Domain Availability',
    allowHTMLInResponses: true
  });
</script>

Configuration Options

Webhook Contract

Request body sent to n8n workflow:

{
  "message": "user text",
  "sessionId": "...",
  "metadata": { }
}

The n8n workflow processes domain queries through the WHMCS API and returns availability information along with intelligent suggestions.


Omer Fayyaz

Omer Fayyaz

Senior Software Engineer

10+ Years Experience

🐙 GitHub 💼 LinkedIn