Back
Camera widget Any new photo. Google Drive Upload file from URL. Cursor Get agent status.

Save Cursor agent results to Google Drive

Connect

How this automation works

Save a Cursor agent's final result or pull-request link to Google Drive. When you take a photo with the Camera widget, the Applet asks Cursor for the agent ID you set, retrieves the agent status and result, then downloads the pull-request URL or the result text (falling back to the photo) and uploads it to Google Drive. Great for keeping agent outputs, PR links, or related photos backed up in Google Drive for review and sharing.

If
Camera widget icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you take any new photo via Do Camera.
TemporaryPublicPhotoURL PublicPhotoURL ShareURL Latitude Longitude LocationMapURL LocationMapImageURL OccurredAt Caption
With
Cursor 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 current status and details of a Cursor cloud agent, including its latest run status, the final result text, and the pull request URL if one was created.
AgentId AgentName AgentStatus RunStatus Repository CreatedAt Result PullRequestUrl AgentUrl
When

Filter Code

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

Services used in this Applet

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.

22 triggers, queries, and actions

Any new photo

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you take any new photo via Do Camera.

Any QR code scanned

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a new QR code is scanned using the Camera Widget

Any URL QR code scanned

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a new QR code that is a URL (http:// or https://) is scanned using the Camera Widget

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 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.

QR code scanned - regular expression match

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a QR code is scanned, matching a "regular expression" search, using the Camera Widget.

QR code scanned - wildcard match

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a QR code is scanned, matching a wildcard search, using the Camera Widget. [See our help center for more information](https://help.ifttt.com/hc/en-us/articles/36961503432987-How-to-use-QR-codes-with-IFTTT).

Specific QR code scanned

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a specific QR code is scanned using the Camera Widget.

Get agent status

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 current status and details of a Cursor cloud agent, including its latest run status, the final result text, and the pull request URL if one was created.

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.

List agents

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 Cursor cloud agents belonging to the authenticated account, one record per agent, most recent first.

Add a follow-up instruction to an agent

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 add a follow-up instruction to a Cursor cloud agent, starting a new run to guide it toward additional changes.

Launch an agent

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 launch a new Cursor cloud agent to work on a GitHub repository using the instructions you provide.

Stop an agent

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 stop a running Cursor cloud agent by cancelling its latest run, without deleting the agent.

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.

Add a follow-up instruction to an agent

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 add a follow-up instruction to a Cursor cloud agent, starting a new run to guide it toward additional changes.

Any new photo

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you take any new photo via Do Camera.

Any QR code scanned

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a new QR code is scanned using the Camera Widget

Any URL QR code scanned

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a new QR code that is a URL (http:// or https://) is scanned using the Camera Widget

Get agent status

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 current status and details of a Cursor cloud agent, including its latest run status, the final result text, and the pull request URL if one was created.

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.

Launch an agent

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 launch a new Cursor cloud agent to work on a GitHub repository using the instructions you provide.

List agents

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 Cursor cloud agents belonging to the authenticated account, one record per agent, most recent first.

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 Camera widget

The quickest way to save and share your photos. This service works with your phone's camera and creates widgets that you can use from your home screen.

Explore Camera widget

More integrations with Camera widget

About Cursor

Cursor is an AI-first code editor that launches cloud agents to automate coding tasks, generate code, and manage repositories. Use IFTTT to launch Cursor agents from other services and query their status.

Explore Cursor

More integrations with Cursor

IFTTT helps all your apps and devices work better together

Get started for free