Listeners — how an automation is triggered

Listeners — how an automation is triggered #

Use listen to say when an automation runs. Everything that starts a run — a live event, a schedule, a person clicking "Run now" — arrives through a listen line.

listen #

inbox = connect email
…
listen as "Deal intake" to inbox { key: "deals" } fire `Intake`

Saving the file registers its listeners; if one can't go live, the save says so. Schedules come from the cron system, and ad-hoc runs — "Run now", pasted text, uploaded files — from manual; each has its own chapter.

inbound-mail #

connect email is inbound mail. Which carrier delivers it is a setting of the deployment, not a choice an automation makes.