This tag can be used for questions specific to slack 'Slash Commands'
Questions tagged [slack-commands]
225 questions
30
votes
6 answers
slash command "dispatch_failed"
I have went through creating the custom slash command configuration via slack and installed it on workspace. However when I run it I get this
/testing failed with the error "dispatch_failed"
I tried multiple workspaces but same issue. Anyone…

Asim Zaidi
- 27,016
- 49
- 132
- 221
25
votes
4 answers
How to render tables in Slack
I have a slack application that responds with formatted data in mrkdwn but it would be nice to have the information presented in table form like so
Am trying to implement this but cant quite find how to format this message. The only close solution…

Caleb Njiiri
- 1,563
- 1
- 11
- 20
13
votes
3 answers
Setting reminder for last day of the month
Is there a Slack reminder for last day of the month so that the reminder will occur on the 31st, 30th, or the 28th depending on the month?
Does something like /remind @channel to do X on the last day of the month work?

Sam
- 571
- 1
- 6
- 18
12
votes
1 answer
We had some trouble connecting error when submitting slack dialog (Slack API)
I am building a slack app connected with a Symfony application that uses slash commands and dialogs as UI to create new users, accounts and projects and store them in a database.
I use a slash command to trigger a dialog with input fields and store…

Tara Van den Eede
- 121
- 1
- 4
11
votes
1 answer
Can a Slack bot get the thread id that a slash command was sent from?
Suppose a user types a slash command inside a thread, as opposed to inside the main channel.
Is it possible for to include this information in the request sent to the bot? I want the bot to know where exactly the message came from so that it can…

CodyBugstein
- 21,984
- 61
- 207
- 363
8
votes
1 answer
How to make a Slack App/Bot post a code block (Python)
In Slack you're able to post as a user in a code block like in Stackoverflow
like so
As a posting user, you're able to do this by typing "```" it then changes your input box to one formatted for code.
I need to get my Slack App/Bot to post a…

James Gove
- 81
- 1
- 2
8
votes
1 answer
Unsubscribe from a repo using Github App on Slack
The Github App on Slack let's you subscribe to notifications for a repository using the /github subscribe organization/repository command.
I want to know how to undo this, or how do I unsubscribe from the org/repo.

silentPlanet
- 341
- 2
- 9
7
votes
1 answer
slack slash command work but send "failed with the error "operation_timeout""
I have a problem, probably stupid one, with slack slash command.
I config a /command that simple ask some data about covid infection that will be fetch at request, the answer work well but after some second (3000 ms for timeout) i have a message of…

jacklondon
- 145
- 1
- 1
- 10
7
votes
1 answer
Deep link that opens up Slack and auto-fills text in the message box
I wish to implement this feature that allows users to use a deep link into a Slack's channel on their phones or computers, and pre-fill some texts in the message box.
I have read through the documents and didn't find relevant solutions.
I was…

Yang Liu
- 81
- 1
- 4
6
votes
1 answer
Slack: Is there a way to work in development or production environment?
So, I've been integrating Slack into my back end lately and I noticed that it's getting kind of super annoying to work in development and/or production.
Mainly because there does not seem to be a way to switch between environments so I was wondering…

Stefan Falk
- 23,898
- 50
- 191
- 378
6
votes
3 answers
How to format a reply as a code snippet when responding to a bitbucket comment via slack?
I am trying to reply to a comment, on a PR, on bitbucket with a code snippet instead of plain text, from the associated slack channel.

Sanvir
- 93
- 1
- 1
- 6
5
votes
2 answers
Slack not_allowed_token_type error - How to send message on command line
I create an app then click "install to workspace". I select the channel.
[![enter image description here][1]][1]
I generate app level token
[![enter image description here][2]][2]
Then
I use according command
curl…

us2956
- 476
- 12
- 27
5
votes
1 answer
Slack call API - getting 500 error when posting on response url
I am trying to build a calling app on slack that invokes a voip app installed on the computer. So when the slack app is given a particular command with a number it should invoke this desktop app and allow the user to make a call.
I have given the…

user948999
- 143
- 1
- 2
- 6
4
votes
1 answer
Use FastAPI to parse incoming POST request from Slack
I'm building a FastAPI server to receive requests sent by slack slash command. Using the code below, I could see that the…

Piljae Chae
- 987
- 10
- 23
4
votes
1 answer
Slack App Slash Command - Invalid Signature Detected (401 Unauthorized)
Ok, let's set the stage.
I'm trying to build a slack app using Java JDK 14, with gradle and ngrok. (and Slack's SDK module, Bolt)
So far, I've been able to include the dependencies required very easily and my issues don't seem at all associated with…

jsegal
- 41
- 6