onDashboardRun lets an organization member start an automation on demand from the Automations page, with optional form fields for run inputs. Use it for approvals, internal requests, maintenance tasks, and other workflows that need a human starting point.
Example
automations/approval-request.automation.ts
title for every deployed dashboard run. Selecting it opens the configured fields in a dialog. Only members of the project’s organization can submit the form.
Form options
Trigger configuration is static and cannot use signals.
Field types
Every field acceptslabel, optional description, and optional required. Fields are required by default.
An optional empty number is
null; other optional empty text and select fields are "". Select values are inferred as a string-literal union from the configured options.