Is there any way in the Slack API to have the submission button of a dialog open a new dialog or edit the current one?
Asked
Active
Viewed 1,255 times
1 Answers
3
Not directly. You can use the response_url
attached to the dialog submission sent to your server to then post a follow up ephemeral message to the user, containing a button to continue to the next dialog. Once clicked, you'll receive another trigger_id
which you can send to dialog.open
and start another dialog.
More information on triggers and where to find them can be found here.

Taylor Singletary
- 2,211
- 17
- 16
-
Does this mean a `trigger_id` can only be used once? – Zachary Laborde Apr 09 '18 at 19:40
-
Correct, it's single use with a limited time window. – Taylor Singletary Apr 11 '18 at 00:35
-
How do you obtain the trigger_id? Can you get it from a simple slash command? – Ryan Jun 27 '18 at 02:54
-
A `trigger_id` is attached to slash command invocations, message button or menu selections, action invocations, and dialog submissions. In all cases, they must be part of a Slack app -- legacy custom integration slash commands will not participate. – Taylor Singletary Jun 28 '18 at 20:23
-
I don't get any `response_url` from my modal (before called dialog) – Dani Oct 25 '19 at 14:32