Skip to content

Automations

Automations let you trigger shell commands, HTTP webhooks, or multi-step workflows from the NOBA UI, on a schedule, or in response to alerts.

Creating an Automation

Navigate to Automations in the sidebar and click New Automation.

FieldDescription
NameDisplay label
TypeSee types below
IconFont Awesome 6 class (e.g. fa-bolt)
DescriptionOptional notes

Automation Types

TypeDescription
scriptRun a shell command on the NOBA server
webhookSend an outbound HTTP request
workflowMulti-step visual workflow (see Workflows)
agent_commandSend a command to a specific agent
service_controlStart / stop / restart a systemd service
notificationSend a notification to one or more channels
compositeRun multiple automations in sequence

Script Automation

yaml
type: script
command: "find /tmp -name 'noba-*' -delete && echo Done"
timeout: 30

Script output streams into the Action Log panel in real time. Only one script can run at a time.

Webhook Automation

yaml
type: webhook
url: "http://n8n.local:5678/webhook/sync"
method: POST
headers:
  Content-Type: application/json
body: '{"source": "noba"}'

Alert Rules

Alert rules evaluate metric conditions and trigger notifications or automations.

Configure in Automations → Alert Rules:

FieldDescription
ConditionMetric expression, e.g. cpu_percent > 90
ChannelNotification channel: email, telegram, discord, slack, pushover, gotify
MessageNotification text (supports {value} placeholder)
CooldownSeconds between repeat notifications (default 300)
ActionOptional: automation to trigger when condition is met

Available metrics:

MetricDescription
cpu_percentCPU usage %
mem_percentRAM usage %
cpu_tempCPU temperature (°C)
gpu_tempGPU temperature (°C)
disk_percentRoot filesystem usage %
ping_msPing latency to WAN target (ms)
net_rx_bytesNetwork receive rate (bytes/s)
net_tx_bytesNetwork transmit rate (bytes/s)

Operators: >, <, >=, <=, ==, !=

Running Automations

  • Click the Run button on any automation card to execute it immediately.
  • Automations can also be triggered via the API or on a cron schedule.

Templates

Click Templates to browse the built-in automation library:

TemplateDescription
NAS Backuprsync backup to a NAS mount
Cloud Syncrclone sync to a configured remote
Disk CleanupClear tmp files and journal logs
Update CheckRun system package update check
Certificate RenewRun certbot renew
Docker PruneRemove unused Docker images and volumes

Apply a template to create a pre-configured automation that you can customise.

Import / Export

  • Export — downloads your automation definitions as a JSON file.
  • Import — upload a previously exported JSON to restore or copy automations.

Automation IDs are regenerated on import to avoid collisions.

Schedules

Attach a cron schedule to any automation:

0 3 * * *   # Every day at 03:00
*/15 * * * * # Every 15 minutes
0 0 * * 0   # Every Sunday at midnight

The schedule editor includes a human-readable preview (e.g. "Every day at 03:00").

Released under the MIT License.