Docs »

Automations »

Triggers »

ui.widget

ui.widget automations allow custom output to be implemented for card, profile, or workspace widgets. This replaces bot behavior-based widgets, which are now deprecated.

This trigger uses event handler KATA, and the first enabled automation is executed.

Inputs

The automation dictionary starts with the following values:

Key Type Notes
inputs dictionary Custom input values from the caller
record_* record The current record dictionary (supports key expansion). Only available on card and profile widgets.
widget_* record The card, profile, or workspace widget record (supports key expansion)
worker_* record The current worker record (supports key expansion)

Outputs

return:

Key Type Notes
html text The HTML to render for the widget