npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-do

v1.0.1

Published

n8n node for DigitalOcean API - Manage Droplets, Spaces, Kubernetes, Databases, and more

Downloads

294

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.

npm version License: MIT n8n community node


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: true for use in AI agent workflows

Installation

In n8n Cloud or Self-hosted n8n

  1. Go to Settings → Community Nodes
  2. Click Install
  3. Enter: n8n-nodes-do
  4. Click Install
  5. Restart n8n if prompted

Via npm (self-hosted)

npm install n8n-nodes-do

Authentication

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:

  1. Log in to cloud.digitalocean.com
  2. Navigate to API → Tokens/Keys
  3. Click Generate New Token
  4. Give it a name and select Read and Write scopes
  5. 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 = Droplet and the Operation requires an ID
  • The ID field appears for operations like Get, Delete, Reboot, etc.

Node not found after installation

  1. Make sure you installed n8n-nodes-do
  2. Restart n8n after installation
  3. 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 limit parameter to fetch smaller batches
  • Consider using wait nodes between operations

License

MIT


Credits

Built with the n8n Node Starter. Uses the DigitalOcean API v2.