Overview
Add DigitalOcean to any ModuleX agent or workflow. Cloud infrastructure management via the DigitalOcean REST API (api.digitalocean.com/v2). Create and manage Droplets, domains, SSH keys, and snapshots.
Categories: Developer Tools & Infrastructure · Cloud Infrastructure · Devops · Auth: OAuth2 · Actions: 6
Authentication
OAuth2 Authentication
Connect using DigitalOcean OAuth (recommended)Required Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| Client ID | DigitalOcean OAuth App Client ID | Yes | - |
| Client Secret | DigitalOcean OAuth App Client Secret | Yes | - |
OAuth Configuration
- Authorization URL:
https://cloud.digitalocean.com/v1/oauth/authorize - Token URL:
https://cloud.digitalocean.com/v1/oauth/token - Scopes:
read,write
Available Actions
add_ssh_key — Add a new SSH key to your DigitalOcean account
add_ssh_key — Add a new SSH key to your DigitalOcean account
create_domain — Create a new domain in DigitalOcean DNS
create_domain — Create a new domain in DigitalOcean DNS
create_droplet — Create a new DigitalOcean Droplet (virtual machine)
create_droplet — Create a new DigitalOcean Droplet (virtual machine)
Parameters
Human-readable string used as the Droplet display name
Region slug where the Droplet will be deployed (e.g. nyc1, sfo1, ams3)
Image ID or slug for the base image (e.g. ubuntu-22-04-x64)
Size slug for the Droplet (e.g. s-1vcpu-1gb)
List of Block Storage volume IDs to attach to the Droplet
List of SSH key IDs or fingerprints to embed in the Droplet’s root account
Whether automated backups should be enabled
Whether IPv6 is enabled on the Droplet
Cloud-init user data or Bash script for first-boot configuration (max 64 KiB)
Whether private networking is enabled for the Droplet
Whether to install the DigitalOcean monitoring agent
List of tag names to apply to the Droplet after creation
Response
create_snapshot — Create a snapshot from an existing DigitalOcean Droplet
create_snapshot — Create a snapshot from an existing DigitalOcean Droplet
list_all_droplets — List all Droplets in your DigitalOcean account
list_all_droplets — List all Droplets in your DigitalOcean account
Limits & Quotas
- Rate limit: 5,000 requests per hour per OAuth token (returns HTTP 429 when exceeded).
- Droplet creation: subject to account-level Droplet limits (default 25; request increase via support).
- Error model: non-2xx responses and timeouts are caught and returned as
success=False+errorrather than raising.