axiom.onMonitorClosed runs when the selected monitor resolves. It returns the same normalized payload as the broad notification trigger.
automations/axiom-on-monitor-closed.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 resolves.
axiom.onMonitorClosed runs when the selected monitor resolves. It returns the same normalized payload as the broad notification trigger.
import { automation } from "automate.ax"
import { axiom } from "automate.ax/axiom"
export default automation("On monitor closed", () => {
const notification = axiom.onMonitorClosed({ monitorId: "monitor-id" })
notification.transform(({ action, event }) => ({
expectedAction: "Closed",
action,
monitorId: event.monitorId,
title: event.title,
value: event.value,
}))
})
account selects a static project binding.