Downloading a Slack MP3 file and uploading it to Google Drive — always getting HTML instead of binary

:bullseye: What is your goal?

Hi everyone,

I’m trying to build a simple scenario in Make: when an MP3 file is posted in a Slack channel, automatically download it and upload it to Google Drive.

:thinking: What is the problem & what have you tried?

The problem is that no matter what I try, the file that ends up on Google Drive is an HTML page instead of the actual MP3. It seems like Slack’s private file URLs return an HTML redirect/auth page instead of the binary when accessed from Make’s servers — and that HTML gets uploaded to Drive instead of the audio file.

We’re on a Slack Enterprise workspace, which might be part of the issue.

Has anyone managed to successfully pull a file from Slack and send it to Google Drive (or any cloud storage) using Make? I’d love to know what module setup worked for you before I keep going down the wrong path!

Thanks in advance :folded_hands:

Hey there,

can you show some screenshots highlighting how you are downloading the file at the moment?

When I use the Slack Get a File module I had no issues uploading the file to gdrive. Its when I use the generic HTTP module that it returns an HTML file because it hits a slack redirect page.

Hello,

Are you using the Slack module to download the file, or a generic HTTP module?

A couple of things to check: is the file remote, and does your connection have the files:read scope set?

Have a nice day,
Michal