Calendar Block Trigger
calendar_block_trigger · Nodes · Trigger · Trigger
Starts a workflow when a calendar block reminder, start, or end fires.
Calendar Block Trigger#
Starts a workflow when a calendar block reminder, start, or end fires.
- Tag:
calendar_block_trigger - Input: none
- Output:
output
Config#
event_kinds accepts block_reminder, block_start, and block_end. An empty array listens for all three.
Output#
The event is {kind, block, minutes_before, target_at, triggered_at}.
kind is one of the three config values. minutes_before is how far before the block's start the reminder fired, in whole minutes, and is 0 for block_start and block_end — a block carrying several reminders sends one event per offset, and this is what tells them apart. target_at is the instant the reminder is for.
block is the entry the reminder fired for, and it is one of two shapes. A persisted row — a normal block, a series root, or an occurrence override — carries id, type, title, start_at, end_at, properties, and exception when it overrides an occurrence. A projected occurrence with no row of its own carries id (a synthetic key that is not a block id and no endpoint accepts), series_id, occurrence_index, recurrence, and the same schedule and property fields. Address a projected occurrence with series_id and occurrence_index; use start_at and end_at for its effective span either way. Suppressed occurrences produce no block and no reminder.
Delivery behavior#
- The trigger listens for reminders still ahead of it. It does not replay ones that fired before the workflow was installed.
- Each matching reminder starts one run, in the order the reminders fired, including reminders that fire while earlier runs are still going.
Failure behavior#
- A run Verdalia cannot queue is retried.
Inputs
None.
Outputs
output
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
event_kinds | array<enum(block_reminder, block_start, block_end)> | No | |
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |