n8n-nodes-do
v1.0.1
Published
n8n node for DigitalOcean API - Manage Droplets, Spaces, Kubernetes, Databases, and more
Downloads
294
Maintainers
Readme
n8n-nodes-do
Official n8n community node for DigitalOcean
Manage your DigitalOcean Droplets, Volumes, Databases, Kubernetes clusters, and more — all from your n8n workflows.
Features
- 13 Resources — Droplets, Volumes, Databases, Domains, Images, Kubernetes, Load Balancers, Projects, Reserved IPs, Snapshots, SSH Keys, VPCs, Account
- 50+ Operations — Complete CRUD coverage for all resources
- Auto-authentication — Uses Personal Access Token (Bearer token) authentication
- Pagination — Automatically handles paginated responses for list operations
- Expression Support — All ID fields support n8n expressions (
{{ $json.dropletId }}) - Dynamic Dropdowns — Resources load dynamically from your DigitalOcean account
- AI Tool Ready — Node is marked
usableAsTool: truefor use in AI agent workflows
Installation
In n8n Cloud or Self-hosted n8n
- Go to Settings → Community Nodes
- Click Install
- Enter:
n8n-nodes-do - Click Install
- Restart n8n if prompted
Via npm (self-hosted)
npm install n8n-nodes-doAuthentication
This node uses DigitalOcean Personal Access Token authentication. You'll need:
| Field | Description | |-------|-------------| | Personal Access Token | Your DigitalOcean API token |
How to get your credentials:
- Log in to cloud.digitalocean.com
- Navigate to API → Tokens/Keys
- Click Generate New Token
- Give it a name and select Read and Write scopes
- Copy the token (you won't be able to see it again!)
Note: Keep your token secure! It provides full access to your DigitalOcean account.
Resources & Operations
Account
| Operation | Description | |-----------|-------------| | Get | Get account information |
Droplet
Manage your DigitalOcean virtual machines.
| Operation | Description | |-----------|-------------| | Get Many | List all Droplets | | Get | Get a specific Droplet by ID | | Create | Create a new Droplet | | Delete | Delete a Droplet | | Reboot | Reboot a Droplet | | Shutdown | Shutdown a Droplet | | Power On | Power on a Droplet | | Power Off | Power off a Droplet |
Parameters for Create:
- Name (hostname)
- Region (e.g., nyc1, sfo3, ams3)
- Size (e.g., s-1vcpu-1gb, s-2vcpu-4gb)
- Image (OS distribution or custom image)
Volume
Manage block storage volumes.
| Operation | Description | |-----------|-------------| | Get Many | List all volumes | | Get | Get a specific volume by ID | | Create | Create a new volume | | Delete | Delete a volume |
Database
Manage managed database clusters.
| Operation | Description | |-----------|-------------| | Get Many | List all database clusters | | Get | Get a specific database cluster | | Create | Create a new database cluster | | Delete | Delete a database cluster |
Supported Engines: PostgreSQL, MySQL, MongoDB, Kafka, Valkey, OpenSearch
Domain
Manage domains and DNS records.
| Operation | Description | |-----------|-------------| | Get Many | List all domains | | Get | Get a specific domain | | Create | Create a new domain | | Delete | Delete a domain | | Get Records | List DNS records for a domain |
Image
Manage images (distributions and snapshots).
| Operation | Description | |-----------|-------------| | Get Many | List all images | | Get | Get a specific image | | Delete | Delete an image |
Kubernetes (DOKS)
Manage DigitalOcean Kubernetes clusters.
| Operation | Description | |-----------|-------------| | Get Many Clusters | List all Kubernetes clusters | | Get Cluster | Get a specific cluster | | Create Cluster | Create a new cluster | | Delete Cluster | Delete a cluster | | Get Kubeconfig | Get kubeconfig for a cluster |
Load Balancer
Manage load balancers.
| Operation | Description | |-----------|-------------| | Get Many | List all load balancers | | Get | Get a specific load balancer | | Create | Create a load balancer | | Delete | Delete a load balancer |
Project
Organize resources into projects.
| Operation | Description | |-----------|-------------| | Get Many | List all projects | | Get | Get a specific project | | Create | Create a new project | | Delete | Delete a project |
Reserved IP
Manage reserved (static) IP addresses.
| Operation | Description | |-----------|-------------| | Get Many | List all reserved IPs | | Get | Get a specific reserved IP | | Create | Create a reserved IP | | Delete | Delete a reserved IP |
Snapshot
Manage snapshots of Droplets and volumes.
| Operation | Description | |-----------|-------------| | Get Many | List all snapshots | | Get | Get a specific snapshot | | Delete | Delete a snapshot |
SSH Key
Manage SSH keys for Droplet access.
| Operation | Description | |-----------|-------------| | Get Many | List all SSH keys | | Get | Get a specific SSH key | | Create | Add a new SSH key | | Delete | Delete an SSH key |
VPC
Manage Virtual Private Clouds.
| Operation | Description | |-----------|-------------| | Get Many | List all VPCs | | Get | Get a specific VPC | | Create | Create a new VPC | | Delete | Delete a VPC |
Usage Examples
Example 1: Create a Droplet
[DigitalOcean - Create Droplet]
Name: "my-server"
Region: "nyc1"
Size: "s-1vcpu-1gb"
Image: "ubuntu-22-04-x64"Example 2: List All Droplets and Shutdown Running Ones
[DigitalOcean - Get Many Droplets]
↓
[If: status = "running"]
↓
[DigitalOcean - Shutdown]
Droplet ID: {{ $json.id }}Example 3: Create Daily Database Backups
[Schedule Trigger - Daily at 2 AM]
↓
[DigitalOcean - Get Many Databases]
↓
[DigitalOcean - Create Snapshot]
(for each database)Expression Reference
When chaining nodes, use these expressions:
| Field | Expression |
|-------|-----------|
| Droplet ID | {{ $json.id }} |
| Droplet Name | {{ $json.name }} |
| Droplet Status | {{ $json.status }} |
| Region | {{ $json.region.slug }} |
| IP Address | {{ $json.networks.v4[0].ip_address }} |
Regions
DigitalOcean supports the following regions:
| Code | Location | |------|----------| | nyc1, nyc2, nyc3 | New York, USA | | sfo2, sfo3 | San Francisco, USA | | tor1 | Toronto, Canada | | lon1 | London, UK | | fra1 | Frankfurt, Germany | | ams2, ams3 | Amsterdam, Netherlands | | sgp1 | Singapore | | blr1 | Bangalore, India | | syd1 | Sydney, Australia |
Troubleshooting
Authentication fails
- Double-check your Personal Access Token
- Make sure the token has Read and Write scopes
- Verify the token hasn't expired or been revoked
Droplet ID field not visible
- Confirm Resource =
Dropletand the Operation requires an ID - The ID field appears for operations like Get, Delete, Reboot, etc.
Node not found after installation
- Make sure you installed
n8n-nodes-do - Restart n8n after installation
- Check Settings → Community Nodes to confirm it's listed
Rate Limits
DigitalOcean API has rate limits. If you encounter rate limit errors:
- Reduce the frequency of API calls
- Use the
limitparameter to fetch smaller batches - Consider using wait nodes between operations
License
Credits
Built with the n8n Node Starter. Uses the DigitalOcean API v2.
