Custom Workbot vs Legacy slash commands
We strongly recommend using custom Workbots to configure your slash command, as custom integrations is a legacy feature that will eventually be deprecated (no news as to when just yet). Legacy slash commands also does not support some of the functionalities that custom Workbots have.
Custom Workbot slash commands requires creating a new Slack app, and connecting it to Workato via a custom OAuth profile, while legacy slash commands does not. You can add legacy slash commands to a Slack workspace directly from the Slack app directory.
Here is a detailed comparison table between the custom Workbot slash commands and the legacy slash commands.
|Features||Custom Workbot slash commands||Legacy slash commands|
|Can invoke dialogs?||Yes||No|
|Dialog for missing command input fields||Yes||No|
|Requires a custom Slack app||Yes||No|
|Supports ephemeral messages in Post command reply||Yes||No|
|Connection method||Workbot with Custom OAuth profile||Slash command verification token|
|Customize app icon||Yes, from Slack app page||Yes, from the slash command page|
|Pass command input field values to subsequent messages/recipes||Yes||Yes|
|Posting in channels||Yes, but only in channels it is invited to.||Yes, can post in any channel within the Slack workspace it is installed to.|
|Multiple slash commands||Yes, each Workbot recipe can have its own unique slash command.||Yes, each Workbot connection can store the slash command verification tokens of multiple slash commands.|
Notes for custom Workbot slash commands
- Make sure that Workbot is always in the channel to run commands. Do this by inviting it to the channel.
- When you invite Workbot into the channel, anyone in that channel can interact with Workbot via commands.