Back
iOS Shortcuts Shortcut automation started. Google Drive Upload file from URL. Leonardo AI Generate an image.

Save Leonardo AI images to Google Drive from Shortcut

Connect

How this automation works

Save images generated by Leonardo AI to Google Drive for instant backup and access. When an iOS Shortcuts automation starts, this Applet asks Leonardo AI with the prompt you configure to create an image and then uploads the image URL it returns to Google Drive. Perfect for designers or anyone who runs prompts from Shortcuts and wants results automatically archived in Google Drive.

If
iOS Shortcuts icon
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an iOS Shortcut automation is started.
OccurredAt Content
With
Leonardo AI icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query generates an image in Leonardo AI based on the prompt you provide and returns the image URL when generation is complete.
ImageUrl GenerationId PromptUsed ModelUsed CreatedAt
Then
Google Drive icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will download a file at a given URL and add it to Google Drive at the path you specify. NOTE: 100 MB file size limit.
url filename path

Create your own workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

15 triggers, queries, and actions

New file from search in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new non-Google Workspace file matching your search query is uploaded in a Google Drive folder. When enabled, all non-Google Workspace files in the folder will be set to viewable by anyone with the link.

New file in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new non-Google Workspace file is added to the specified Google Drive folder. When enabled, all non-Google Workspace files in the folder are set to viewable by anyone with the link.

New image generation

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an image generation in your Leonardo AI account is completed.

New photo in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new photo is saved in the Google Drive folder you specify. When enabled, both existing and new non-Google Workspace files in the folder will be set to viewable by anyone with the link.

New starred file in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new non-Google Workspace file is starred in a specified Google Drive folder. When enabled, both existing and new non-Google Workspace files in the folder will be set to viewable by anyone with the link.

New video in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new video is saved in the Google Drive folder you specify. When enabled, both existing and new non-Google Workspace files in the folder will be set to viewable by anyone with the link.

Shortcut automation started

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an iOS Shortcut automation is started.

Generate an image

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query generates an image in Leonardo AI based on the prompt you provide and returns the image URL when generation is complete.

Get generation details

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the images and metadata for a completed generation in your Leonardo AI account.

History of files from search uploaded in your folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files that matches your search query in a Google Drive folder.

History of files starred in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files starred in a specified Google Drive folder.

History of files uploaded in your folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files added to the Google Drive folder you specify.

History of photos uploaded in your folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent photos saved in the Google Drive folder you specify.

History of videos uploaded in your folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent videos saved in the Google Drive folder you specify.

Upload file from URL

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will download a file at a given URL and add it to Google Drive at the path you specify. NOTE: 100 MB file size limit.

Generate an image

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query generates an image in Leonardo AI based on the prompt you provide and returns the image URL when generation is complete.

Get generation details

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the images and metadata for a completed generation in your Leonardo AI account.

History of files from search uploaded in your folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files that matches your search query in a Google Drive folder.

History of files starred in folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files starred in a specified Google Drive folder.

History of files uploaded in your folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent files added to the Google Drive folder you specify.

History of photos uploaded in your folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent photos saved in the Google Drive folder you specify.

History of videos uploaded in your folder

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of recent videos saved in the Google Drive folder you specify.

New file from search in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new non-Google Workspace file matching your search query is uploaded in a Google Drive folder. When enabled, all non-Google Workspace files in the folder will be set to viewable by anyone with the link.

New file in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new non-Google Workspace file is added to the specified Google Drive folder. When enabled, all non-Google Workspace files in the folder are set to viewable by anyone with the link.

New image generation

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an image generation in your Leonardo AI account is completed.

New photo in your folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new photo is saved in the Google Drive folder you specify. When enabled, both existing and new non-Google Workspace files in the folder will be set to viewable by anyone with the link.

New starred file in folder

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires every time a new non-Google Workspace file is starred in a specified Google Drive folder. When enabled, both existing and new non-Google Workspace files in the folder will be set to viewable by anyone with the link.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on these services

About Google Drive

Google Drive lets you store and access your files anywhere — on the web, on your hard drive, or on the go. Applets let you send the most important information into your Google Drive, automatically.

Explore Google Drive

More integrations with Google Drive

About iOS Shortcuts

A shortcut provides a quick way to get things done with your apps, with just a tap or by asking Siri. Shortcuts can automate a wide variety of things on your iOS devices. This service requires the IFTTT app for iOS.

Explore iOS Shortcuts

More integrations with iOS Shortcuts

About Leonardo AI

Leonardo AI is an AI-powered image generation platform that lets you create production-quality visual assets with fine-tuned and proprietary models. Use Leonardo AI on IFTTT to generate images automatically and act on completed generations.

Explore Leonardo AI

IFTTT helps all your apps and devices work better together

Get started for free