Your experience while developing next generation Slack apps is largely governed by the SDKs and the CLI. These tools change as the platform changes, and we release new versions regularly. Subscribe to be notified of updates, and let us know how we're doing.
SLACK_CONFIG_DIRenvironment variable to the
uninstallcommand is now available from the list displayed when using the
--all-org-workspace-grantsflag to the
app listcommand so you can display all grants instead of only the first three.
team; as such, we have added a
--teamflag and deprecated the
--workspaceflag. Note that this will not affect the usage of workspace or org when it is necessary to distinguish between them; for example, with the
hermes auth listand
deletecommand when running the
uninstallcommand, so you may now only uninstall an app rather than deleting the app entirely along with all of its data.
deno-reverse-stringsample app references to use
usr/local/bindirectory if it is missing when installing the CLI.
npm:specifier when importing modules for both locally run and deployed apps. For more details about using
node:specifiers, refer to Node.js APIs and npm packages.
slack app listcommand to display Enterprise grants for multiple workspaces.
triggers create, and
triggers run) to catch errors if a connector is not installed, attempt to install any certified apps related to connectors mentioned in the manifest, and then re-validate the manifest.
--fileflag to the
function distributecommand so that you can manage access and distributions with a configuration file instead of multiple commands.
deploycommand to prompt you to select an organization workspace, similarly to the
runcommand. Refer to deploy to Slack for more details.
apps.certified.installmethod, coming soon to an API near you!
Starting today, the Slack API's minimum required CLI version for Enterprise Grid is changing from
v2.9.0. If you attempt to log in with an older version, you'll receive a
cli_update_required error from the Slack API.
slack upgrade to get the latest version. Refer to install & authorize for more details about installing the Slack CLI.
We now support Slack's new look & feel! For the best experience, we recommend upgrading to CLI version 2.9.0+.
installyour app by using the
--infoflag for a more streamlined experience.
--appand an active token via
app listno longer requires authentication, and will instead display an
unknownapp status in cases where no authentication is found.
deletecommands will now resolve organization-level authentication in cases where workspace-level authentication is missing.
slack trigger list --type=<string>flag to only list triggers of a specific type:
slack trigger list --type=shortcut
--helpto any command.
slack external-auth add-secret --provider github --secret my-secret-value
slack app listto improve displaying apps that you are not authenticated to access:
provider. This helps prevent unexpected behavior at runtime.
.githubdirectory will no longer be included in new projects created from one of our sample apps.
firstname.lastname@example.org- email us for assistance if your app returns an internal error code.
slack app listcommand now returns
Status: Installedinstead of
Status: Unknownfor an installed app.
slack deployin a non-interactive environment, regardless of how many triggers might exist.
datastoreswere made in the Deno SDK.
slack app deletecommand.
slack deployto prevent retrieving and displaying application triggers.
trigger list --limit <n>command.
include-app-collaboratorsflag will allow you to skip this prompt.
slack activitycommand to support datastore event and error logs. For more information, refer to logging.
--tokenflag is set, background checks for updates will now be automatically disabled.
deno upgradeshould fail.
slack logoutcommand now accepts the
--show-triggersflag from the
slack runcommand, as the command now displays all of your app's triggers and their types.
-dflag to bypass Deno installation in the Linux/macOS installation script.
workspacecommand with a new
authflag in favor of
app listcommand to display installation status.
external-auth removecommand now allows you to select a token for deletion.
external-auth select-authcommand allows you to select a unique auth for each of the workflows in an app. This command is mandatory when using new in-code workflows that have a step containing
credentialSource DEVELOPER; that is, every time an in-code workflow is created, this command must be called after the
slack auth tokenand
slack auth revokecommands allow you to manage (create and delete) service tokens.
slack auth tokencommand allows you to get the
slackauthticketand to copy and paste it into your workspace to exchange for the service token.
credentials.jsonfile; instead, it is presented in the prompt for you to copy and paste to your CI/CD pipelines.
slack login --auth <your-service-token>to authorize your Slack CLI.
--token <token>flag allows you to pass the service token used by requests requiring authentication. For example:
slack install --token <your-service-token>
slack trigger create --token <your-service-token> --app deployed --trigger-def triggers/trigger_def_file.ts
slack deploy --token <your-service-token>
trigger infonow also shows who can run the trigger.
--no-colorflag, which removes all ANSI sequences for color as well as emojis, giving you plain text output from the CLI that's perfect for piping to a text file.
datastore querycommand now supports a
cursorargument to help you paginate your results the way you want.
Today we're announcing that the next generation Slack platform–which provides a faster, more flexible way to build automations on top of Slack–is generally available to developers. The platform's overhauled architecture gives developers more ways to build, code, and ship custom apps and workflows more quickly and easily in an environment that's both secure and compliant. Read the announcement or follow the Quickstart to get started today!
loginflow instructions to be clearer for new developers.
trigger_executionlog for greater readability.
slack doctorcommand to display the local
slack helpcommand, but not to worry! Those hidden commands are still visible while using
slack help -v.
slack help denowithout any other arguments.
createexperience for developers from installation to deployment.
trigger listfor developers to invite their app to a channel to receive events, and formatted outputs when displaying trigger information.
message_limit_exceeded. The error code is included in the following endpoints when a free team has reached their message limit: callbacks.chat/postMessage, chat/postEphemeral, chat/postMessage, chat/scheduleMessage, chat/shareMessage, files/share, and drafts/create. For more information, refer to Usage limits for free workspaces.
slack cloudcommand to the
slack platformcommand. For more information, refer to commands.
(local)for local apps in the workspace list.
slack workspace uninstallcommand to
slack workspace delete.
slack login --auth <string>to log in.
slack auth infocommand, as the pertinent information is found by using the
slack auth listcommand.
slack samplescommand, which will list the available sample app templates you can use to create a new app.