UI Bakery allows you to send Slack messages from your action to a predefined channel webhook.
By default, you can send plain text messages like this:
{ text: 'Hello World!' }
Slack API returns the "ok" string if the message was sent successfully.
"ok"
In addition to sending text messages, you can also reference the data from the previous step or the data of the UI component:
You can also use Slack's extended message formatting optionsarrow-up-right, such as block & attachments.
Last updated 8 months ago
Was this helpful?
{ text: 'Hello ' + {{data.name}} + '!' }
{ text: 'Hello ' + {{ui.input.value}} + '!', }