Skip to main content

I need to make a zap to take uploaded photos (jpgs) from a specific Slack channel and upload to a specific Google Drive folder. 

So far, I’m getting a Google Doc file into the drive folder even though the file name shows .jpg as the extension. 

 

Hi ​@FSJason 

Help links for using files in Zaps: https://help.zapier.com/hc/en-us/articles/8496288813453-Send-files-in-Zaps

 

If you need more help, post screenshots showing how your Zap steps are configured in EDIT mode with the field mappings visible in the CONFIGURE tab.


Thanks Troy. 

When I try the link in my regular browser, it prompts for the download. In incognito mode, it wants to login into Slack. 

I have Zapier allowed in Slack, so not sure what is happening. In my head, this is about as basic as it gets. 

I believe it’s the Permalink that I want, is that correct? 

 

 


@FSJason 

Try using this Zap trigger: Slack - New File

Specify the desired Channel.

 

Make sure to map a variable between Zap steps for the public file link or the file object (e.g. File exists but not shown) instead of using a static value in the GDrive step.

 

Make sure to test with a Slack File that still exists. (Has not been deleted)

 

 


@Troy Tessalone 

I have tried that, but the test never finds any files in Slack that way. 

 

 

 


@FSJason 

That Slack Zap trigger is instant, which means you likely need to test adding a File to the Channel in Slack after the Zap trigger is configured.

 

Otherwise, try turning the Zap ON and testing live.

Then follow this guide to get a live Zap Run to be used as the Zap trigger example to help you configure the Zap action steps: https://help.zapier.com/hc/en-us/articles/35632951078029-Use-previous-Zap-runs-as-trigger-test-records


@Troy Tessalone 

Ok, that sort of worked. I uploaded a new jpg from my computer so the zap trigger found it, but now it saved it into google drive as a .txt file and not a jpg. 

The details look different than my previous attemtps. The file I uploaded was a .jpg file, but this is what zapier is showing me:

 


@FSJason 

We would need to see how your GDrive Zap step is configured in the CONFIGURE tab while in EDIT mode.

 


@Troy Tessalone 

I’ve been trying different things in the File line, but none of the available options are working. They all say a version of File not found. 

 

 

 


@FSJason 

Resharing the help link again about using files in Zaps: https://help.zapier.com/hc/en-us/articles/8496288813453-Send-files-in-Zaps

 

TIP: Click on field labels to see tooltips with more info.

 

Screenshot below shows a mapped variable for a file object, which is a temp file that expires after a period of time. (e.g. 1 hour)

 

Try publishing your Zap and testing live, then check your Zap Runs history details to see the DATA IN/OUT for each step to help you trace the data flow and troubleshoot: https://zapier.com/app/history/ 

 

 


I’ve tried that and I get a .txt file that shows this:

 


@FSJason 

Did you try the download URL variable?

 


Yes. Comes back with this

 


@FSJason 

Screenshot is from the Zap EDITOR.

.qxg is a NOT a valid file format as shown in your screenshot because that is from dummy data returned by Slack.

 


@FSJason 

Try turning the Zap ON and testing LIVE by uploading a file in Slack.

Then check your Zap Run history details to see the DATA IN/OUT for each step: https://zapier.com/app/history/


@Troy Tessalone 

Tried it this morning and got the same Google Doc.jpg instead of an image. 

 

 

 

 

 

 


@FSJason 

Try using the File object again now that you are testing LIVE.

 


@Troy Tessalone it worked!! 

Thank you!! 


Reply