Questions tagged [slack-commands]
131 questions
8
votes
0 answers
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
- 81
- 3
8
votes
0 answers
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
- 17,496
- 50
- 159
- 312
6
votes
4 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
- 23,590
- 46
- 125
- 213
4
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
- 391
- 2
- 15
4
votes
1 answer
How to fix missing scope error in Slack (rtm.connect) API?
When I try to use the rtm.connect method with own token, tester returns me a false response.
URL : https://slack.com/api/rtm.connect?token=xoxp-532016xxxxx-53xxxxxx-536743xxxxxx-9211bedc4bfe9ddfexxxxxxxxxxxxxx&pretty=1
{
"ok": false,
…
Akash Patel
- 51
- 1
- 8
3
votes
1 answer
How to rename slack app home tab and change the order of opening tabs
I am looking for alternative ways to customize the slack home tab, have a couple of questions:
How to rename the home tab button?
If we click on the app it first open home tab, can we change it to the message tab? if yes, how?
Can we add custom…
Vipin Samleti
- 31
- 1
3
votes
1 answer
Get user-id of user in direct message slack channel
We're developing a Slack bot and one of the slash commands should - when used in a direct message channel - be able to determine the Slack user-id of the target user in the direct message channel. So for example, imagine 3 Slack users User1, User2…
Gero
- 2,937
- 6
- 19
- 19
3
votes
1 answer
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
- 822
- 5
- 18
3
votes
1 answer
I can't send layout blocks using python slack API
I used the latest bot kit builder by slack to generate the following buttons for my message attachment. The message is getting sent without any problem and but I don't see the attachment. I have been trying to figure this out and appreciate some…
python
- 3,642
- 6
- 43
- 84
3
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
- 18,764
- 34
- 144
- 286
3
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
- 31
- 3
3
votes
3 answers
Darn - that slash command didn't work (error message: `404_client_error`)
I am attempting to call a URI with my Slack slash command but I get the error:
https://pubsub.pubnub.com/v1/blocks/sub-key/sub-c-redacted/mypath
Darn - that slash command didn't work (error message: `404_client_error`). Manage the command at…
Craig Conover
- 4,364
- 29
- 53
3
votes
1 answer
can't open Slack dialog through google apps scripts
I'm trying to use google apps scripts and slack to automate my work. And I wish to enter some text with the Slack dialog to modify my google spreadsheet with google apps scripts. However, with the below code, I can't open a Dialog via Slack-API's…
luvwinnie
- 419
- 6
- 17
2
votes
0 answers
Opening a new Modal after form submission Slack Bot
So I've created a slack bot that opens a modal with a form on it. When the form is submitted, I want another modal to open or the same modal to update saying
form submitted successfully!
For some reason the second modal doesn't open up. I've tried…
jbone
- 55
- 2
2
votes
1 answer
How can I schedule an action like changing status without a cron job in slack api
I am writing a slackbot and it involves scheduling change of status at certain times set.
I found the below API to update status but looks like I need a chron job to look up the time
POST /api/users.profile.set
Host: slack.com
Content-type:…
leo
- 83
- 5