Skip to main content
Automate.ax automations are TypeScript programs. You write ordinary functions, imports, objects, and modules; Automate.ax supplies durable triggers, integration authentication, deployment, and execution.
This small program contains the main concepts: The call to onNewEmail declares a Gmail subscription. Its email result is a signal, so email.messageId is also a signal. Passing it to markAsRead makes that action depend on the incoming event.
Source order describes the automation, but signal dependencies decide when actions are ready. Independent actions may execute concurrently.

Where to go next

Read Automations and Signals first. Use the Actions reference and Triggers reference for exact integration contracts.