Sterling Duchess
Sterling Duchess

Reputation: 2080

Open slack dialog by external app

The slack docs state that dialog's can be invoked using slash commands and buttons.

Is there however a way to not use either ? I would want my app to prompt user with a dialog. One option I found possible is to send a button via incoming web hooks or postMessage attachment than user clicks the button and opens a dialog but this seems like a needless step.

Another was to invoke the dialog via slash command but i cant find a way to invoke a slash comma d ia web api.

Upvotes: 1

Views: 963

Answers (1)

Erik Kalkoken
Erik Kalkoken

Reputation: 32698

No. At least at the moment it is only possible in two ways:

  • With a slash commmand
  • With an interactive message

Both generate a trigger ID for the user, which is required to start your dialog and only valid for 3 seconds.

Source

Upvotes: 1

Related Questions