Actions28
- Domain Actions
- DNS Record Actions
- SSL Actions
- User Actions
Overview
The node integrates with the Namecheap API to manage domain-related operations. Specifically, for the Domain - Get Contacts operation, it retrieves the contact information associated with a specified domain name. This is useful for users who need to programmatically access registrant, administrative, technical, or billing contact details of their domains.
Common scenarios include:
- Automating domain management workflows by fetching current contact details.
- Verifying domain ownership or updating records based on retrieved contacts.
- Integrating domain contact data into CRM or support systems.
Example: A user wants to fetch the contact details of "example.com" to verify or update the registrant information without manually logging into the Namecheap dashboard.
Properties
| Name | Meaning |
|---|---|
| Domain Name | The domain name to operate on (e.g., "example.com"). This is required to specify which domain's contacts to retrieve. |
Output
The node outputs an array of JSON objects, each representing the result of the operation for an input item. For the Get Contacts operation, the output JSON has the following structure:
{
"success": true,
"data": {
// Contact details object returned by the Namecheap API for the specified domain
}
}
success: Boolean indicating if the operation was successful.data: Contains the contact information for the domain, such as registrant, admin, technical, and billing contacts as provided by the Namecheap API.
If the operation fails and "Continue On Fail" is enabled, the output will be:
{
"success": false,
"error": "Error message describing what went wrong"
}
Dependencies
- Requires an active connection to the Namecheap API via an API key credential configured in n8n.
- The node depends on the Namecheap API being accessible and the credentials having sufficient permissions to query domain contact information.
Troubleshooting
Common issues:
- Invalid or missing domain name input will cause the operation to fail.
- API authentication errors due to incorrect or expired API keys.
- Network connectivity problems preventing access to the Namecheap API.
- Attempting to get contacts for a domain not owned or managed under the authenticated account.
Error messages:
"The operation "getContacts" is not known for resource "domain"!"— indicates a misconfiguration or unsupported operation; ensure the correct operation is selected.- API errors returned from Namecheap will be passed through; check the error message for details like invalid domain or permission denied.
Resolution tips:
- Verify the domain name is correctly spelled and registered under your account.
- Confirm API credentials are valid and have necessary permissions.
- Enable "Continue On Fail" to handle errors gracefully in workflows.