Consider using this:
I know only one way to “send messages” - using a “logbook.log” service:
action: logbook.log data: message: message name: name
But these messages are only displayed on a main Logbook view, they cannot be shown in a Logbook card.