-
Notifications
You must be signed in to change notification settings - Fork 46
Slack Image Hosting
Stephen Yeargin edited this page Mar 1, 2025
·
7 revisions
Note
The deprecation of files.upload
in March 2025 has changed how Hubot handles uploads to Slack. We recommend checking out the alternative adapter for v5 and above of Hubot. If you have configured Amazon S3 Image Hosting, that service will be used instead.
If you are using the Hubot Slack Adapter, you should not need to take any additional steps for uploading images to a third party service.
Verify the following environment variables are set.
Configuration Variable | Required | Description |
---|---|---|
HUBOT_SLACK_APP_TOKEN |
Yes | Obtained from your created Slack App |
HUBOT_SLACK_BOT_TOKEN |
Yes | Obtained by install the created Slack App |
The default @hubot-friends/hubot-slack
manifest may not include the necessary files:write
scope. Update the oauth_config.scopes.bot
to include files:write
and reinstall the app to your Workspace.