OptionalbuttonsThe card's buttons — a single button, an array, or omitted/empty for an informational card (a result with no next action to offer).
OptionalcontentCard body: inline Handlebars content, rendered with data (alternative to template).
OptionaldataRender data for template / content.
OptionaltemplateCard body: a Handlebars template path, rendered with data.
The specification for an action card: a caller-authored body and zero or more buttons. The body and the buttons are independent — a card author supplies only the body (via
templateorcontent); buildActionCard appends the buttons.