Skip to main content

Last Updated November 22, 2024: Updated links to iOS Shortcut and Zap template

Recently, a question popped up in a Zapier user Facebook group and it seemed like a fun challenge to undertake:

But Why?

You might ask yourself why someone would be doing this? Well, he later elaborated:

For this business case, its actually perfect. Taking hundreds of product photos to be uploaded and renamed.

Imagine you're taking photo after photo after photo and you'd like to upload those to your cloud storage service of choice, with the name you choose. You could take all the photos then upload them in bulk and rename them. But there may be reasons why it would be easier to name each photo and upload it as you work.

How To Do It

We’re going to combine the automation powers of the Shortcuts app in iOS with a Zap that is triggered by Webhooks by Zapier.

Shortcuts

Here’s what the Shortcut looks like:

▶️ Shortcut you can copy: https://www.icloud.com/shortcuts/8ba1f1b5e1b54a769c5cef63a14d82e6

Simply replace the URL in the shortcut (the one after “Get content of”) with the one that's in the Webhooks trigger of your Zap.

Webhooks by Zapier

And here’s what the Zap looks like:

 

 

⚡️ Use the Shared Zap template here.

Connect Google Drive and copy the webhook URL to use in your Shortcut, and you should be good to go.

Wrapping Up 

While this exact workflow might not be one you’ll need, you now know how to send photos from your iOS device to a Zap, where you can do just about anything with it :)

@nicksimard 

Very cool and thanks for sharing.

Didn’t realize how powerful the iOS Shortcuts app is and can be!

This could be a regular series a la Code Mode.

Really bridging the gap with IoT and online apps.

Definitely some cool and unique use cases possible.


thanks


thanks


Thank you for this article !

I’ve been searching for this for a long time !

 

The links you provided are not accessible anymore.

At least, it will be pretty quick and easy to recreate with the screenshots !

 

Have a nice one 👍 

Julien


Glad you found the guide useful, ​@Universus. And thanks so much for letting us know about those broken links! 🤗

I’ve created a new iOS Shortcut and Zap template so the guide now links to those ones instead. Thanks again for flagging this—really appreciate it. Hope to see you around the Community again soon! 🧡


Thank you ​@SamB  for those new links :)

I’m also searching for a way to do this with selected photos (not only the latest photo), any idea how it could be done ? 

And bonus points, for iOS also ? ✨


You’re welcome, ​@Universus😊

It looks like there’s an iOS Shortcut action available that would prompt you to select the photos you want to send—Select Photos:

e5e17ab44888111d94210382d6c737fc.png
So you could potentially use that to choose the desired photos.

Hope that helps! 


Oh wonderful !

Thank you !


Glad I could help, ​@Universus. Fingers crossed it'll do the trick! 🤞


@SamB , sadly, it doesn’t 🙈

Or I am doing something wrong.

The webhook received an hydrate of 9’897’000 characters.

I also would have possibly blocked on how to manage a variable number of inputs once on zapier. I then have a prompt using GPT to find in the picture of the invoice key data that it then outputs to airtable fields. But that is the next problem… !  first, I need to figure out what is that huge hydrate. I tried adding a quicklook step, to make sure it was an image and not a video… but no, it was the right image. 

I also tried deleting the variable of the POST step, and re-entering them… nope, same issue.

It gives only one huge hydrate, while there is the latest + 2 chosen pictures.

 

I also tried by removing the “Receive images and 18 others” (comes when we place the option to have it in the “share menu”. but I still get the same issue.

 

 


Sorry to hear it didn’t work as hoped, ​@Universus.

Hmm, if it’s sending all the files grouped together as one, then you may need to split the files out separately by putting the Get contents of URL action inside a Repeat with Each action. 🤔

That should then trigger the Zap for each of the files separately. Not ideal, I know—but I did some checking on my end and couldn’t see any other way to get iOS Shortcuts to send each file separately rather than bundled together.


Reply