This tag can be used for questions specific to slack 'Slash Commands'
Questions tagged [slack-commands]
225 questions
2
votes
1 answer
Unable to get timestamp of the message posted by Slack App
Whenever my app posts ephemeral message to Slack channel (in response to a query by a user), I am unable to get the timestamp of my Slack app response. As I want to delete it once the user has made a selection using one of the buttons. Although I…

Jung Sandhu
- 23
- 1
- 4
1
vote
2 answers
How to run commands in Slack programmatically from the API called by running a command?
I implemented a slash command in Slack that calls an AWS Lambda function and in return, the Lambda function needs to run some other Slash commands in Slack. What's the best way of doing this?
Is it possible to do it through the webhook of a channel?…

Pablo Fernandez
- 279,434
- 135
- 377
- 622
1
vote
1 answer
Is opening a popup iframe or webpage using slack API supported?
I am working on a slack app and I want it to open a iframe (or webpage) upon entering a slack command so that I can make REST requests and have more flexible styling options compared to what is offered in slack's dialog API.
Is opening a popup…

Matthew Keller
- 283
- 2
- 8
1
vote
0 answers
How to create a direct link to a specific Slack channel and prepopulates specific text
I am trying to easily allow 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 and directs them to a specific channel
I have read through the documents and didn't find relevant…

CrossLuke
- 11
- 1
1
vote
1 answer
Slack slash command - Accept media files (image, video, voice memo)
I've built a slash command on slack that tries to utilize slack's built-in file upload and accepts text together with media files (and posts it to another channel if specific keywords are present).
However, whenever I get the payload of the command…

Nuriel
- 3,731
- 3
- 23
- 23
1
vote
1 answer
Create Salesforce Case From Slack
I am trying to create Salesforce Case from Slack using /service-create case present in Service Setup for slack.
This is the doc link: https://help.salesforce.com/s/articleView?id=sf.slack_service_create_record.htm&type=5
Can someone please help me…

Varshita Nukala
- 11
- 1
1
vote
2 answers
Slack slash command not visible in the channel
I am developing a Slack bot using Bolt API in Node.js. The problem I am facing is when I send a slash command, the bot receives and responds to the command successfully but the command is not visible in the channel.
I read the following article…

Dummy Cron
- 143
- 2
- 11
1
vote
0 answers
How to post to chat.postMessage as an user in a Slack team?
I'm working on a slack integration module where users of a Slack Team can post message in a Slack Channel via 'chat.postMessage' API. When an user posting a message every time it's showing the sender name who created the channel. How to show the…

Sourav Das
- 527
- 2
- 5
- 13
1
vote
1 answer
Is there a way to send message as a user (not as a bot) when using slash command in Slack API?
Hi I want to add functionality to our slack app that when slash command is used, it posts message from the actual command executer (not from a bot)
for example
if person Foo Bar posts message using slash command /treats in channel where app bot…

M.K. Kim
- 481
- 1
- 4
- 17
1
vote
0 answers
Slack - How to verify interactivity requests
Setting up my first Slack slash command. I built it out originally using the deprecated verification token but, for posterity, have decided to use signed secrets authentication.
Reading through the signed secrets documentation, I've had no issue…

nbpeth
- 2,967
- 4
- 24
- 34
1
vote
0 answers
Slack modal is not cleared from a Updated view
I have modal flow in my Slack App. I have some issues with the end of the flow however.
Basic idea of the flow. You get a Modal, you do a selection, you get another modal, you perform an action and then Modal disappears.
I have tried two different…

Ludvig
- 53
- 1
- 8
1
vote
0 answers
How to Authenticate Slack APP And Redirect To My Auth Server To Get tokens
Hi I am Trying to develop a slack app for my product .
Slack OAuth - I am able to get the access token from slack after user allows and install the slack app.
But Now i need to get my product login screen so that user can enter credentials which…

LearnerForLife
- 147
- 1
- 12
1
vote
1 answer
Slack bot: How to post a message on behalf of the user like the Giphy integration
Like the image below, the Giphy integration is capable of posting a message on behalf of the user when receiving a /gihpy command even though it does not require an OAuth flow.
How can this app possibly have the user write a message without the…

ddffbb
- 61
- 9
1
vote
0 answers
slack block add confirmation only for one option in static_select
Is it possible to have confirmation dialogue just on any one options from slack's static_select?
I'm at the situation where i have static_select drop-down with 3 options send, duplicate, delete.
And i just want confirmation dialogue to show up only…

Parse Shyam
- 366
- 2
- 14
1
vote
1 answer
Slack Bot deployed in Cloud Foundry returns 502 Bad Gateway errors
In Slack, I have set up an app with a slash command. The app works well when I use a local ngrok server.
However, when I deploy the app server to PCF, it is returning 502 errors:
[CELL/0] [OUT] Downloading droplet...
[CELL/SSHD/0] [OUT] Exit status…

Simon Tower
- 664
- 3
- 11
- 27