Skip to main content

Hello!

I’m trying to have an automation that starts off when a user uploads a file into a specific slack channel. From this, I would like to pull the file from the input and send that over to a specific GPT assistant to help extract the relevant information from the document in relation to its task. 

My problem is that it’s a private slack channel and cannot be made public AND I’m not the owner nor admin of the workspace. 

Are there any workarounds that you helpful folks know of?

Here are some screenshots of the workflow and some more details surrounding the exact problem within the file upload]

 

Zap Outline
​​
Upload process
Output example

 

Hi @blazersfan77🙂

I did some digging and with the New File (Slack) trigger it appears that you’d need to get the Slack Owner/Admin to adjust the Public file sharing settings so that the ChatGPT action in your Zap can access the files.

If that’s not possible then it might be worth switching to the New Message Posted to Channel trigger instead. I just ran a quick test in my Zap and it allowed me to access an uploaded file in a private channel and access it. That said, with that trigger you’d want to add a filter to the Zap to check that the file field exists - meaning that a value (file) exists for that field. This should ensure that the Zap only continues for files that have an attachment.

For example: 

01a73da8b3d345e0928ec69ac508bc09.png

And if there is going to be cases where multiple files are uploaded to a single message in the channel then you might want to look at using Looping to run through the necessary actions for each file. If you’ve not used loops in Zaps before you can find out more about them here: Loop your Zap actions

Hope that helps to get you pointed in the right direction. If you run into any issues or have further questions just let us know!


This worked PERFECTLY!

Thank you so much @SamB! You rock. 

 


You are most welcome @blazersfan77! 🤗

Please do reach out in the Community again if we can help with anything else in future. Until then, happy Zapping! ⚡️