-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: How to add Slash Commands in a Slack CLI app #206
Comments
Hello! There is no support for slash commands in the new automation platform. If you create a workflow and pair a shortcut trigger to it, it will become searchable in the Slack client in the same way that slash commands are, though (i.e. type |
Got it, thanks. I guess shrotcut triggers will do the work for me. |
@despolov that is a good point, however, you could just as, if not more! easily collect data from the user using the OpenForm step as the first step in your workflow. This gives users a rich UI that offers many niceties (such as selecting dates or users or channels, etc.) for providing data to your workflows. Going to close this issue but feel free to re-open if you'd like to discuss more. |
Will there be future support for the slash command? |
@filmaj Thank you for the info above. I am having issues implementing your solution above in a way that makes sense from a UX perspective. It appears as though, using my deno app (discussed here) which has two triggers
it appears as though the only way to make the first trigger available via slash command (aka the ability to open up the form outside of clicking the button in that message) is to have each user click the first link to start the workflow once (not via the button in the message but via the link itself or unfurled button in the link message), and then afterwards the workflow's title is searchable via slash command for that user. This is to say the workflow step does not have an actual assigned slash command but "Open Kudos Form" (the name of the workflow step), is just searchable via "/kudos", "/openkudos", etc. Is this the only way to allow a workflow step to be triggered via slash command? Feels like a strong disincentivization of this kind of behavior. Ideally, I want users to be able to trigger a form submission via a slash command whenever they'd like. And because I deployed this via CLI, none of the customary app options are available in the App Management page, and the documentation is confusing to me. It appears as though the only thing one can do is
Sincerely appreciate your help. Thanks! |
Hello,
Im currently developing an app using the slack cli way and I want to add /slash commands support. How can this be achieved using the CLI way?
The text was updated successfully, but these errors were encountered: