daytona

n8n community node for Daytona sandbox management and code execution

Package Information

Downloads: 103 weekly / 180 monthly
Latest Version: 0.1.2
Author: Hans Doebel

Documentation


n8n-nodes-daytona

NPM Version GitHub License NPM Downloads NPM Last Update Static Badge

Installation | Credentials | Resources | Development


A community node for n8n that integrates with the Daytona API. Create and manage sandboxes, execute code, handle snapshots, volumes, and more.

API Coverage

The table below shows which endpoints are currently implemented:

View all endpoints
API Resource Status Operations
Sandbox ✅ Full Create, Delete, Get, Get Many, Start, Stop
Code Execution ✅ Full Run Code, Run Command
Runner ✅ Full Create, Delete, Get, Get by Sandbox ID, Get Many, Set Draining, Set Scheduling
User ✅ Full Create, Enroll in SMS MFA, Get, Get Account Providers, Get Many, Get Me, Link Account, Regenerate Key Pair, Unlink Account
Snapshot ✅ Full Activate, Create, Deactivate, Delete, Get, Get Many
Volume ✅ Full Create, Delete, Get, Get Many
Docker Registry ✅ Full Create, Delete, Get, Get Many, Set Default, Update
API Key ✅ Full Create, Delete, Get, Get Current, Get Many
Organization ✅ Full Create, Delete, Get, Get Many

Installation

  1. Make a new workflow or open an existing one
  2. Open the nodes panel by selecting + or pressing Tab
  3. Search for Daytona
  4. Select Install to install the node for your instance

Credentials

  1. Get your API key from the Daytona Dashboard
  2. In n8n, go to Credentials > Add credential
  3. Search for Daytona API and paste your key

Resources

Sandbox
Operation Description
Create Create a new sandbox
Delete Remove a sandbox
Get Retrieve sandbox details
Get Many List sandboxes
Start Start a stopped sandbox
Stop Stop a running sandbox
Code Execution
Operation Description
Run Code Execute code in a sandbox
Run Command Run a shell command in a sandbox
Runner
Operation Description
Create Create a new runner
Delete Remove a runner
Get Retrieve runner details
Get by Sandbox ID Get the runner for a specific sandbox
Get Many List runners
Set Draining Enable or disable runner draining
Set Scheduling Enable or disable runner scheduling
User
Operation Description
Create Create a new user
Enroll in SMS MFA Enroll a user in SMS-based MFA
Get Retrieve user details
Get Account Providers List linked account providers
Get Many List users
Get Me Get the current authenticated user
Link Account Link an external account provider
Regenerate Key Pair Regenerate a user's key pair
Unlink Account Unlink an external account provider
Snapshot
Operation Description
Activate Activate a snapshot
Create Create a new snapshot
Deactivate Deactivate a snapshot
Delete Remove a snapshot
Get Retrieve snapshot details
Get Many List snapshots
Volume
Operation Description
Create Create a new volume
Delete Remove a volume
Get Retrieve volume details
Get Many List volumes
Docker Registry
Operation Description
Create Add a Docker registry
Delete Remove a registry
Get Retrieve registry details
Get Many List registries
Set Default Set a registry as default
Update Modify registry settings
API Key
Operation Description
Create Create a new API key
Delete Revoke an API key
Get Retrieve API key details
Get Current Get the currently used API key
Get Many List API keys
Organization
Operation Description
Create Create a new organization
Delete Remove an organization
Get Retrieve organization details
Get Many List organizations

Development

git clone https://github.com/hansdoebel/n8n-nodes-daytona.git
cd n8n-nodes-daytona
npm install
npm run build
npm run lint

License

MIT

GitHub | Issues | Daytona Docs

Discussion