Skip to content

Hetzner Cloud

Create and delete Hetzner Cloud servers/load balancers and create/delete server snapshots

API Token: Create a token in Hetzner Cloud Console → Project → Security → API Tokens. Use Read & Write scope.

The Create Load Balancer component creates a load balancer in Hetzner Cloud.

  1. Creates a load balancer with the specified name, type, location, and algorithm via the Hetzner API
  2. Emits the created load balancer details on the default output channel
  • Name: The name for the new load balancer (supports expressions)
  • Type: The load balancer type (e.g. lb11, lb21, lb31)
  • Location: The location where the load balancer will be created
  • Algorithm: The load balancing algorithm — Round Robin (default) or Least Connections
{
"data": {
"id": "12345",
"name": "my-load-balancer",
"status": "running"
},
"timestamp": "2024-01-15T10:30:00Z",
"type": "hetzner.load_balancer.created"
}

The Create Server component creates a new server in Hetzner Cloud and waits for the create action to complete.

  1. Creates a server with the given name, server type, image (system image or snapshot), and optional location/SSH keys/user data
  2. Polls the Hetzner API until the create action finishes
  3. Emits the server details on the default output when ready. If creation fails, the execution errors.
  • Name: Server name (supports expressions)
  • Server type: e.g. cx11, cpx11, cax11
  • Image: System image or snapshot image ID
  • Location (optional): e.g. fsn1, nbg1, hel1
  • SSH keys (optional): List of SSH key names or IDs
  • Firewall (optional): Attach an existing firewall to the server
  • User data (optional): Cloud-init user data
{
"data": {
"created": "2024-01-15T10:30:00+00:00",
"id": 42,
"name": "my-server",
"publicIp": "1.2.3.4",
"status": "running"
},
"timestamp": "2024-01-15T10:30:00Z",
"type": "hetzner.server.created"
}

The Create Snapshot component creates a snapshot image from an existing Hetzner Cloud server and waits for completion.

  1. Calls the Hetzner API to create a snapshot from the selected server
  2. Polls the action until snapshot creation finishes
  3. Emits snapshot details (including image ID) on success. If creation fails, the execution errors.
  • Server: Existing server to snapshot
  • Snapshot name (optional): Snapshot description/name in Hetzner Cloud
{
"data": {
"actionId": "12345",
"imageId": 67890,
"imageType": "snapshot",
"serverId": "42",
"snapshotName": "workflow-snapshot"
},
"timestamp": "2024-01-15T10:30:00Z",
"type": "hetzner.snapshot.created"
}

The Delete Load Balancer component deletes a load balancer in Hetzner Cloud.

  1. Deletes the selected load balancer via the Hetzner API
  2. Emits on the default output when the load balancer is deleted. If deletion fails, the execution errors.
{
"data": {
"loadBalancerId": "12345"
},
"timestamp": "2024-01-15T10:30:00Z",
"type": "hetzner.load_balancer.deleted"
}

The Delete Server component deletes a server in Hetzner Cloud and waits for the delete action to complete.

  1. Deletes the selected server via the Hetzner API
  2. Polls the API until the delete action finishes
  3. Emits on the default output when the server is deleted. If deletion fails, the execution errors.
{
"data": {
"actionId": 123,
"serverId": 42
},
"timestamp": "2024-01-15T10:30:00Z",
"type": "hetzner.server.deleted"
}

The Delete Snapshot component deletes a snapshot image in Hetzner Cloud.

  1. Deletes the selected snapshot via the Hetzner API
  2. Emits on the default output when the snapshot is deleted. If deletion fails, the execution errors.
{
"data": {
"imageId": "67890"
},
"timestamp": "2024-01-15T10:30:00Z",
"type": "hetzner.snapshot.deleted"
}