DigitalOcean
List and create droplets on DigitalOcean. In Appbricx, your workflows and server functions call it by name once it is connected.
What you can do
11 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.
- Create DropletCreate a new Droplet or multiple Droplets.
create_droplet - List All DropletsRetrieve a list of all Droplets in your account.
list_droplets - Create DomainAdd a new domain to your DigitalOcean account.
create_domain - Delete DomainRemove a domain from your DigitalOcean account.
delete_domain - Delete DropletDelete an existing Droplet.
delete_droplet - Get DomainRetrieve details about a specific domain.
get_domain - Get DropletRetrieve details about a specific Droplet.
get_droplet - List Database ClustersRetrieve a list of all database clusters in your account.
list_database_clusters - List Database EventsRetrieve all event logs for a database cluster.
list_database_events - List All DomainsRetrieve a list of all domains in your account.
list_domains - Custom API CallMake a custom API call to a specific endpoint
custom_api_call
Set it up
About two minutes, once per project or once for the whole workspace.
- Open Integrations in the builder
Backend panel, Integrations tab, then DigitalOcean. To connect it for every project, use Workspace settings, Integrations.
- Add your credentials
An API key (or token) from your DigitalOcean account, pasted once. It is stored encrypted and only read on the server when an action runs.
- API key From DigitalOcean's settings
- Call an action
From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.
Workflow // .workflow.js (native ctx) export async function run(ctx) { const res = await ctx.integrations.invoke("digital-ocean", "create_droplet", { "creation_mode": "single", "name": "<droplet name>", "names": [], "size": "<size>", "image": "<image>" }); if (!res.success) throw new Error(res.error); ctx.log.info("DigitalOcean answered", { output: res.output }); }
More in Developer tools
DigitalOcean and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.