Skip to main content
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
The Automations page shows a button named with the configured 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 accepts label, 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.

Trigger data

The trigger emits:
Automate.ax validates required values, email and URL formats, number bounds, string lengths, and select options before starting the automation.