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.
The system is powered by a custom n8n workflow that:
This system integrates with the official WHMCS DomainWhois API endpoint:
https://your_whmcs_url/includes/api.phpDomainWhoisThe 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.
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
{
"result": "success",
"status": "unavailable",
"whois": "Domain registration information..."
}
<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>
webhookUrl: your n8n Webhook URL (required)botName: display name for the AI assistantbrandColor, accentColor: theming colorslauncherVariant: icon | text | icon-textallowHTMLInResponses: safely render HTML repliesRequest 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.
Senior Software Engineer
10+ Years Experience