Send file to Slack

Pretty simple macro... takes the Finder selection and uploads it to Slack.

Note that the relevant API token will be stored insecurely which isn't an awesome idea.

Send to Slack.kmmacros (5.1 KB)

Hi @iNik, I was hoping you could help me set this up in my macro. I am looking to send a file in a message in a specific channel on Slack. The file will be stored in a GDrive folder. The file is created based on variables and named using those variables. For instance (random info here), /file/otherfile/%Variable%Local_name%

How would I use your macro to do this?