There is a Drive app for Slack that seems able to let me share Drive docs on Slack but not, as far as I can tell, the converse. Our customer likes to share files on Slack, which we then download and add to our GDrive for safe-keeping.

Is there any way from Slack I can send the file directly to GDrive

  • If the shared files can be downloaded without loging in to Slack, how about using UrlFetchApp? Of course, even if the files cannot be downloaded without the authorization, you can download the files using the access token retrieved from Slack.
    – Tanaike
    Jul 31, 2018 at 0:09
  • (That template doesn't work for me)
    – endolith
    Jan 2, 2022 at 16:10

2 Answers 2


I am not aware of any existing Slack apps that automatically sends all files uploaded on Slack to a Google Drive. But you could easily create your own Slack app for that.

The basic functional outline would be:

  1. Listen to message events of a channel with Slack's Events API
  2. Detect a file upload
  3. Download the file to your local server storage
  4. Upload the file to your Google Drive account via Google's API
  5. Delete the file from your server storage
  6. Optionally: Send a notification to someone about the upload of another file

I've been using odrive to sync all Slack files to my local machine, and then putting them on Drive manually. Could probably use a symlink or something to get one folder to sync with the other.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.