Does the Slack API provide the ability to change the action taken when drag/dropping a file? Basically, I'd like to have files automatically uploaded to Google Drive instead of Slack when dropped into the window.
Short answer: No.
You can't prevent the upload to Slack and redirect it somehow. The only thing you could do is use the API to check which files have been uploaded already (e.g. using files.list
) and then upload them to Google Drive.