Export all variant images to Google Drive in Shopify by using Arigato Automation
We will set up a workflow that sends a variants image URL, the variants name, and the products name to IFTTT, and then that will send the images to Google Drive.
This workflow fires on a schedule or in a batch. It then looks through all your variants with images and uploads those images to your Google Drive using IFTTT (If This Then That).
To get started, you will need the Arigato app, as well as a free IFTTT account, and finally a free Google account. In IFTTT, you'll use the Upload to Drive event triggered by a generic Webhook trigger. Here's how to set it up.
In the Arigato Automation app, import this workflow and open it up through the workflows tab. The main workflow should look like this...
And the subworkflow will look like this...
Open up the action on the subworkflow and you will see that the app sends 3 values to IFTTT along with an event name called "upload_to_drive."
The app will send the product variants image URL, the title of the variant, and he products title that goes with the variant in values 1 - 3 respectively. Now we just need to save this and set up IFTTT and Google Drive.
Head over to Google Drive and make an account if you haven't already.
After that, head over to IFTTT and make a new Applet under your existing account or create a new account.
For the "IF" part, set up a Webhook.
Remember the event name from earlier? This is where we need to type that into IFTTT. The event name that gets called in Arigato is upload_to_drive.
And for the "THEN THAT", look for Google Drive.
Choose "Upload File from URL"
For the file URL, click on Add ingredient and select "Value 1" this will be the image URL sent from the Arigato App.
Do the same for the file name except use Value 2 instead, and for the folder path use Arigato/Value 3 to keep your folders organized. That will set the folder to be the name of the product, then all the images will be named the products variants. Then just click create and finish.
Back in the Arigato app, click into your Workflow, enable it and then click the "Run Batch" button at the bottom to set up your batch export.