Alerts arrive the way you write them, on any chat
An alert used to arrive in one fixed shape, and an e-mail alert could not use your own template. Now you shape every message, for e-mail and every chat, and send it from a flow or from code too.
What is new
The Email Studio is now called Messages. It has three tabs: E-mail, Chat and Webhook. Everything that was on the e-mail page is still on the E-mail tab, and old links open it.
A chat message uses the service's own structure: Slack blocks, a Discord embed, a Teams card, a Google Chat card or your webhook's JSON. You place the alert's facts in it, see a preview as you type, and Send test posts it to the real channel.
Chat and webhook addresses are saved once, as destinations, and picked by name. The address is never shown again after it is saved.
An e-mail alert channel can use one of your project's e-mail templates, with a preview of it in the dialog. "Create a template" starts one that already uses the alert's facts.
A rule can use a different format for its own messages, for example a louder one for a critical rule on the same Slack channel.
Google Chat is a new alert channel. Alerts arrive as cards.
A flow can send a message with the new Send message step, and code can send one with waiso.api.messages.send, in all nine languages.
Discord messages arrive under the name Waiso with the Waiso picture, instead of the webhook's default. A format that sets its own name and picture keeps them.
Fixed
The default alert e-mail now arrives in the rule's language. It always came in English.
The test and summary alert e-mails had a button with no words and no link. It now opens the project's alerts.
Connect with Google on a Gmail e-mail provider now finishes the connection. The dialog used to close and no provider appeared.
Editing a variable now opens its whole value. A value longer than 80 characters opened cut, and saving only the description wrote the cut value back. Pasted JSON is now laid out in the editor, and the description box grows with the text.
The variables list no longer fails when an accented letter falls at the 80th character of a value.
Update commands
# .env
WAISO_VERSION=1.13.0
docker compose pull && docker compose up -d --remove-orphans