axiom.onMonitorOpened runs when the selected monitor enters the open state. Use the query window and value to investigate the exact evaluation.
automations/axiom-on-monitor-opened.automation.ts
account selects a static project binding.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Runs when the selected monitor enters the open state.
axiom.onMonitorOpened runs when the selected monitor enters the open state. Use the query window and value to investigate the exact evaluation.
import { automation } from "automate.ax"
import { axiom } from "automate.ax/axiom"
export default automation("On monitor opened", () => {
const notification = axiom.onMonitorOpened({ monitorId: "monitor-id" })
notification.transform(({ action, event }) => ({
expectedAction: "Open",
action,
monitorId: event.monitorId,
title: event.title,
value: event.value,
}))
})
account selects a static project binding.