Slack messages

UI Bakery allows you to send Slack messages from your action to a predefined channel webhook.

By default, you can send pure text messages like this:

{
  text: 'Hello World!'
}

You can also reference the data from the previous step in your message:

{
  text: 'Hello ' + {{data.name}} + '!'
}

or from a UI component:

{
  text: 'Hello ' + {{ui.input.value}} + '!',
}

Slack API returns "ok" string if the message was sent successfully.

Additionally, you can use extended message formatting options, like blocks & attachments.

Last updated

© 2024 UI Bakery