Question

How to get files/attachments out of Slack

  • 22 November 2021
  • 3 replies
  • 856 views

Badge

I am looking to create a zap that accomplishes the following:

We have several programs and several team members. when we get a review /testimonial on a program it gets posted in one of several channels in Slack for the team to see. I also have an Asana project set up for all testimonials with different sections depending on what program the testimonial is for 

 

So when someone posts a photo in a Slack channel, I want our marketing person to be able to mark that photo somehow with an emoji or a push (b/c I do not want it to trigger on EVERY photo posted in Slack or even on every photo posted in a specific channel I wan the marketing person to review them and only send the ones they like/want to Asana) and that photo/file is uploaded to a specific place in Asana (the section corresponding to the product the testimonial is for)

 

Here are the issues I am facing….The “Zapier push” function does not pick up files/attachment data from Slack and copying and pasting the public photo URL in the text box provided also does not work (the photo does not show up in Asana just the link) and eliminates the ability for me to enter other info into the text box (such as the program name) that would help me filter and organize on the Asana end. Also the push function is super buggy and I have already had to remake multiple zaps as workarounds when this functions just randomly stops working (yes I have already talked to support directly about this)

 

The “new file added” Slack trigger does not allow me to sort or filter at all it just pulls every file uploaded to Slack. (We upload tons of stuff to slack not just testimonials so not allowing me to filter makes this trigger mostly worthless)

 

The Slack triggers that all begin with “new emoji” added or some iteration of that do not pull file/attachment data

 

I even considered uploading to dropbox first instead but again I then don’t have the ability to sort or filter the images in any useful way.

 

Can anyone think of any workarounds or ways for me to make this work? 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +14

Hi @Erica 

Try adding a Filter as Step 2 in your Zap: https://zapier.com/apps/filter/help

Badge

@Troy Tessalone even if I add a filter say based on the channel its posted in I still do not want EVERY photo uploaded to any channel to go through. I cannot add a filter based on emoji reaction or something like that because then I would need to add the emoji immediately upon someone posting the photo which is not realistic. Even adding a delay does not necessarily fix the issue. If I add a 24 hour delay to allow me a full day to add an emoji to the ones I want to pass to Asana then there is still the issue of if someone posts it on Friday and no one gets to it Monday...someones is on vacation..whatever it might be

Userlevel 7
Badge +14

@Erica

Try using a Slack Workflow Builder: https://slack.com/help/articles/360035692513-Guide-to-Workflow-Builder

Otherwise it’s likely you’d have to leverage the Slack API: https://api.slack.com/

App APIs can be used in Zaps with the Webhooks app or Code app.

Webhooks: https://zapier.com/apps/webhook/integrations#triggers-and-actions

Code: https://zapier.com/apps/code/help