Skip to main content
Triggers turn a computer into a reactive system. Each trigger pairs a source that produces events with one or more actions that run in response, plus optional dedup to suppress noise. They run continuously inside the VM, managed for you.

Sources

A source’s type selects which fields apply. Metric sources cover cpu_percent, ram_percent, disk_percent, net_in_mbps, net_out_mbps, and the gpu_* family, compared with >, >=, <, <=, ==, or !=.

Actions

A trigger runs one or more actions in order. The type selects the fields. Action body, run, and similar fields support {{...}} templating, so you can include event data in a webhook payload.

Dedup

Bursty sources can fire constantly. Add at most one dedup strategy per trigger.

Triggers vs. health checks

They complement each other:
  • A health check is a per-app watchdog - it polls one service and auto-heals it (on_fail: restart_service:…).
  • A trigger is general automation - any source to any action, across the whole VM.
Reach for a health check to keep a service alive; reach for a trigger to react to files, schedules, metrics, or desktop activity.

Next steps

Schema reference

Every source and action field.

Examples

Triggers in real templates.