Block Kit is a UI framework for Slack apps that offers a balance of control and flexibility when building experiences in messages and other surfaces. Customize the order and appearance of information and guide users through your app's capabilities by composing, updating, sequencing, and stacking blocks — reusable components that work almost everywhere in Slack.
Questions tagged [slack-block-kit]
172 questions
0
votes
0 answers
IBM Watson Assistant: Slack date picker not working in chatbot
I built a chatbot with Watson Assistant and integrated it with Slack. I added a date picker provided by Slack Block Kit Builder into the watson assistant dialogue node json like this:
{
"output": {
"generic": [
{
"channels": [
…

Rachel Dong
- 179
- 1
- 3
- 11
0
votes
1 answer
how do I program a slackbot to send a regular message automatically every week
I am building a slackbot that will remind people in my organisation to perform certain admin (hours expenses etc) every week. I know this can be very easily done by each person creating a recurring reminder. What i want is to create a bot that will…

Billies Wesley
- 437
- 1
- 6
- 21
0
votes
2 answers
Is there a way to update individual block elements in a Slack message?
I am trying to update a Slack message's button style and text using a bot, but I can not find information regarding updating individual blocks, rather than the array as a whole. How can I only update "text" and "style" of the res_but element, while…

IGoodlet
- 11
- 4
0
votes
1 answer
Slack uploading a document
I would like to know if there are any possible methods to make "upload a document" feature in Slack Workflow. Or maybe some great connection with Zapier will also work. I found some API features but it isn't exactly what I need.

freshuh
- 1
0
votes
2 answers
Unable to send custom payload via DialogFlow Fulfilment npm for Slack
I am unable to send a custom payload back to dialogflow from my nodejs webhook code for SLACK platform.
const {WebhookClient, Payload, Platforms, Suggestion} = require('dialogflow-fulfillment');
let payloadObj = new Payload(Platforms.SLACK,…

Amrit Kochar
- 21
- 2
0
votes
1 answer
How to embed audio in Slack via API?
We want to be able to embed an audio file in a Slack chat via the web API.
So far I managed to files.remote.add but that's just an external link.
Then I tried files.upload and share it to a channel, it does embed and play right inside Slack, but for…

Petruza
- 11,744
- 25
- 84
- 136
0
votes
1 answer
How do I combine multiple Slack Blocks into one?
I wrote a script in Google's Apps Script that sends data from Google Sheets as a message to Slack formatted in blocks.
Now I want the message to be of variable length depending on how many lines I have in my spreadsheet and I only want to send 1…

Pim
- 1
0
votes
1 answer
What happens if we don't enable "interactivity and shortcuts" option in slack api?
I'm trying to create a slack app. And am planning to use a button for my slack app to give the message a better look even though the same was possible through a link in the message.
And was successful in doing so. However, i'm seeing this…

dev404
- 1,047
- 8
- 21
0
votes
1 answer
Can slack channel link is not visible
I am using a bot to do some api actions.
I am using slack conversations.create to create a new channel
{
name: 'channel_name',
is_private: false,
};
Then I post the channel name using chat.postMessage
{
type: 'section',
text: {
type:…

Alexander Gorelik
- 3,985
- 6
- 37
- 53
0
votes
1 answer
BotFramework Composer and Slack Block Kit
How can I send a BlockKit attachment from a Bot Framework Composer Bot using the C# slack-adapter?
I'm trying to use this in the .lg but the only message that gets to the slack client is: Value cannot be null. (Parameter 'uriString')
#…

Martín La Rosa
- 790
- 4
- 17
0
votes
0 answers
Looking to integrate button with block in Json [slack]
I'm looking to integrate the button with block id using modal in slack, not able to successfully integrate so far now, not sure what I'm missing here also I'm a newbie in JSON so definitely might be missing something minor here. So basically when…
0
votes
0 answers
"invalid blocks" error with user select in slack block kit
app.command("/hello", (req, ctx) -> {
List blocks = asBlocks(
section(section -> section.text(markdownText("select the meeting option"))),
actions(actions ->…

akshay
- 13
- 6
0
votes
1 answer
How do I change modals icon in Slack?
Unable to find anything in the documentation. https://api.slack.com/surfaces/modals/using

Ankit Chauhan
- 54
- 10
0
votes
1 answer
How to get the name of the slack channel from conversation menu?
I have added a slack conversation dropdown and in the response I want to save/show channel name (or conversation name). I'm able to get the public channels information through conversation.info API but for the private channels, I am not able to…

iibtisam
- 167
- 3
- 11
0
votes
2 answers
Unable to receive Button click event on my request URL
We are building an interactive app and published a view on our home tab which contains a button. We are using .net core web API to process Slack events. We subscribed "app_home_opened" event from our app configuration and the event is successfully…

Shivendra Singh
- 11
- 2