Caravel
Home
Book a Demo
Start For Free
Search…
Ahoy!
Getting Started
Quick Start
Get Onboarded 🚢
Connections
What is a Connection?
Connecting to BigQuery
Connecting to Slack
Connecting to Zendesk
Connecting to Front
Sources
What is a Source?
Microsurveys
Uploading CSVs
Creating Real-Time Sources
Clipping web content
Feeds
What is a Feed?
Searching Your Feed
Saving Feeds
Feed Reports
Classifiers
What is a Classifier?
How Caravel Classifies Sentiment
Prebuilt Classifiers
Custom Classifiers
Automations
What is an Automation?
Real-time Triggers
Defining Custom Action Payloads
Creating cards in Trello
Syncing insights to Airtable
Triggering Cloud Functions
Triggering Discord Messages
Triggering Emails via Sendgrid
Triggering Zaps in Zapier
Triggering Slack Messages
Sending Insights to Big Query
API
Getting started with our API
API Resources
Resources
Video tutorials
Powered By
GitBook
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!
Previous
Triggering Zaps in Zapier
Next - Automations
Sending Insights to Big Query
Last modified
7mo ago
Copy link
Contents
Slack HTTP Action Payload Template