
If your file can't be hosted in Slack for property rights reasons, Remote Files are here to save the day. However, there are a few benefits to adding and sharing Remote Files to Slack. Direct uploads are simpler, like an easy button for files. Let's be clear: for most apps, uploading files directly to Slack is preferred over adding remote files. So a remote file must be added before it is shared. Once that's done, sharing a remote file, like sharing a direct upload file, brings the file into a conversation. Think of a remote file as a pointer, a forwarding address, a reference to a file that lives elsewhere.Ī few terminology gotchas: remote files are added to Slack, not "uploaded." Adding a remote file to Slack makes Slack aware of its existence. Remote files are files not hosted inside Slack. Read our festive file guide for more detail on working with files. To subscribe to any file events, use the Event Subscriptions tab under your Apps page. EventsĪ bevy of events inform your app about file happenings in your workspace. If you'd like to do your work with a bot instead, one scope will do: request the bot scope to gain dominion over the file arts.
It also allows your app to remove the files that your user has control over.
files:write:user allows your app to upload files as the user associated with your user token. files:read allows access to, well, methods that read files. Under the Apps page of your app, choose the OAuth & Permissions sidebar to select scopes.
In order to upload a file to Slack, there's a couple of scopes your app should have. When you upload a file to Slack, Slack becomes the host for your file, taking care of its safe storage. Read on to set up an app that's effortlessly adept in the art of files.īy far the easiest way to use files in Slack is to simply upload files to Slack. Since files can represent complex information, an app that uses files well can communicate more succinctly and precisely. They usually contain complex data, above and beyond message text: a spreadsheet, a PDF, an error log, a document, a song, a jealousy-inducing photo of mountain vistas.
Files are boxes of information shared in Slack.