Triggering Slack Messages
Video overview on how to send automated messages to your Slack channels
To lean more about Slack's accepted json format for action payloads, read about Block Kit here and explore Blocks using the Block Kit Builder.

Slack HTTP Action Payload Template

1
{
2
"blocks": [
3
{
4
"type": "header",
5
"text": {
6
"type": "plain_text",
7
"text": "An Urgent message was detected"
8
}
9
},
10
{
11
"type": "divider"
12
},
13
{
14
"type": "context",
15
"elements": [
16
{
17
"type": "mrkdwn",
18
"text": "*Message:* {{{message.text}}}"
19
}
20
]
21
},
22
{
23
"type": "actions",
24
"elements": [
25
{
26
"type": "button",
27
"text": {
28
"type": "plain_text",
29
"text": "View in Caravel",
30
"emoji": true
31
},
32
"value": "click_me_1",
33
"url": "https://hub.caravelapp.com/feeds/new/conversations/{{{message.conversationId}}}",
34
"action_id": "button-action-1"
35
}
36
]
37
}
38
]
39
}
Copied!