Questions tagged [slack-dialog]
63 questions
0
votes
1 answer
Unable to open Slack modal from Google App Scripts
I am trying to open a slack modal on a button click from GAS. Currently I am sending an interactive button with this function:
function Send(){
var url = "my slack url here"
var payload =
{
"text": "Here's your interactive buttons…

CTR Tracker
- 37
- 1
- 6
0
votes
1 answer
Slack Bot OpenModal Error: missing_post_type
I newly started with Slack Bot programming and I got an issue.
I am using Zapier as a webhook, and I created a new message with a button.
Now I want to open a modal like documented here: https://api.slack.com/methods/dialog.open#arg_token
For that,…

BlockchainProgrammer
- 1,999
- 5
- 20
- 32
0
votes
1 answer
How to set trigger ID from shortcut to enable modal on slack
Need a slack interactive dialog box, for that I have:
A shortcut created with a callback ID.
A modal created in a payload.
How can I enable a modal using a shortcut?
In API, they mention that it can be done using trigger ID.
But I am not quite…
0
votes
1 answer
Trigger ID not found with Slack slash command?
My goal is to be able to use a slash command to open a dialog and process the feedback into a database. I am trying to get the dialog to open but am getting an error regarding the slash command where it says "trigger_id" not found.
My app is set…

chrisindfw
- 29
- 7
0
votes
1 answer
Passing Slack Native JSON from Watson Assistant Dialog as Response
I have integrated Watson Assistant with Slack App using Slack Integration.
Now, I am trying to push Native JSON supported by Slack through Watson Dialog using JSON Editor.
I found an article which says I need to use -
output.slack: insert any JSON…

Techidiot
- 1,921
- 1
- 15
- 28
0
votes
1 answer
Responding to slack view_submission event with error object
I use ASP.NET Core 2.1 to build integration with Slack
Here is my modal in json format.
{
"type": "modal",
"callback_id": "send_sms",
"title": {
"type": "plain_text",
"text": "Send SMS",
"emoji": false
},
"submit": {
…

Никита Ростовский
- 11
- 2
0
votes
1 answer
SlackAPI - Include dialogs input and original message
I'm using SlackAPI views_open with trigger_id to open a dialog modal.
In that dialog modal user will input some information. My issue is I want to include this input and original message before submit.
Would anyone guide me how to do this?
I'm very…

スーパーマン
- 125
- 2
- 11
0
votes
1 answer
Slack dialog accessory static select not wokring
I'm trying to open a slack modal.
The following is my JSON. The value is not passed when the field is put under accessory. I'm getting an error next to the field. Am I doing anything wrong? The same thing works when I put it inside input type…

user3636388
- 187
- 2
- 24
0
votes
1 answer
Slack API slash commands and interactive components modal
I'm trying to make a bot in slack. I created a slash command with /showmodal, when the command triggered my api return this json
{
"type": "modal",
"title": {
"type": "plain_text",
"text": "My App",
"emoji": true
},
"submit": {
…

Mark Lester
- 149
- 1
- 3
- 12
0
votes
0 answers
What is the best way to build recurring events in Slack using modals?
I'm trying to build a recurring event for my Slack app using modals. Though I handled weekly recurring events, I am not sure how to handle monthly recurring events - say, Monthly on 6th, Monthly every first Tuesday, Monthly every second Tuesday,…

Vedika Hansaria
- 31
- 3
0
votes
1 answer
Slack command timeout error firing only on mobile (before 3000 ms)
I am doing exactly as said in the docs: sending instant 200 responses after receiving commands.
Exactly as @rcoup is saying in How to avoid slack command timeout error?.
And it works perfectly on slack desktop. No error messages at all.
However,…

Pablo Assis
- 47
- 7
0
votes
1 answer
Uploading image via Slack interactive button
I have such interactive button I place at the bottom of backend-generated message:
The button click calls the dialog:
If I enter the public URL of an image in the 'URL' field it is successfully sent to the backend and I'm able to update the…

toinbis
- 747
- 7
- 23
0
votes
1 answer
Add file upload field in slack dialog
I am setting up a slack dialog form, where a slack user can add a file to the dialog form and then submit it. Where do I need to add a field in my dialog creation, so slack will show a file upload field to the user?
Here is my dialog:
const…

Rep
- 109
- 4
- 15
0
votes
1 answer
How to combine slash commands, buttons and dialogs for a menu?
My Slack app is started with a slash command, which then posts an ephemeral menu message to the user. That menu has some information and three message buttons.
Example:
First button allows the user to close the menu
Second button allows the user…

Erik Kalkoken
- 30,467
- 8
- 79
- 114
0
votes
1 answer
Slack sends invalid, mal-formed JSON data after Dialog interaction
I am working on a slash command that'll invoke a dialog.
$dialog = [
'callback_id' => 'ryde-46e2b0',
'title' => 'Request a Ride',
'submit_label' => 'Request',
'elements' => [
[
'type' =>…

JasonGenX
- 4,952
- 27
- 106
- 198