Actions14
Overview
This node integrates with the Digital Ocean API to manage various resources such as accounts, domains, droplets, and events. Specifically, for the Domain - Get operation, it retrieves detailed information about a specified domain by its name. This is useful when you want to fetch domain configuration or status details from your Digital Ocean account within an automated workflow.
Practical examples include:
- Automatically retrieving domain details before performing updates or DNS record changes.
- Monitoring domain configurations as part of infrastructure audits.
- Integrating domain data into reports or dashboards.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method used to authenticate API requests. Options: "Access Token" or "OAuth2". |
| Domain Name | The exact name of the domain to retrieve information for (e.g., "example.com"). Required. |
Output
The node outputs JSON data representing the domain's details as returned by the Digital Ocean API. The structure includes all properties of the domain resource, such as its name, TTL, zone file, and other metadata associated with the domain.
No binary data output is produced by this operation.
Example output snippet (simplified):
{
"domain": {
"name": "example.com",
"ttl": 1800,
"zone_file": "...",
...
}
}
Dependencies
- Requires a valid Digital Ocean API credential configured in n8n, either via an access token or OAuth2 authentication.
- Network connectivity to the Digital Ocean API endpoint.
- The node uses internal helper functions to make authenticated HTTP requests to Digital Ocean's REST API.
Troubleshooting
Common issues:
- Invalid or expired API credentials will cause authentication failures.
- Providing a non-existent domain name will result in an error indicating the domain was not found.
- Network connectivity problems can cause request timeouts or failures.
Error messages:
- "Domain not found" — Verify the domain name is correct and exists in your Digital Ocean account.
- Authentication errors — Check that the API key or OAuth2 token is valid and has sufficient permissions.
- Rate limit exceeded — Digital Ocean enforces API rate limits; if hit, wait before retrying.
To resolve errors, ensure credentials are correctly set up, domain names are accurate, and network access is stable.