Customize the Agent Action UI with Lightning Types

Enhance the chat response experience by creating custom Lightning types. Use these types to override the default user interface with your own Lightning web components to create a branded, interactive experience. You can override the default UI only for agent actions that use Apex classes as input or output.

For example, here’s one way that you can enhance the agent action output UI with custom Lightning types.

The default UI for output in an agent actionThe customized UI for output in an agent action
Agent's response to a flight details request, with no labels, a cluttered and unappealing layout, and no Book Now button.Agent's response to a flight details request, featuring clear labels, an appealing layout, a highlighted discount, and a prominent Book Now button.

See Also