Zachary Laborde
Zachary Laborde

Reputation: 73

Slack respond to dialog submission with another dialog

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?

Upvotes: 1

Views: 1311

Answers (1)

Taylor Singletary
Taylor Singletary

Reputation: 2296

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.

Upvotes: 3

Related Questions