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
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