Back
Button widget Button press. Cursor Launch an agent.

Launch Cursor agent when Button widget is pressed

Connect

How this automation works

Launch a Cursor cloud agent to triage a GitHub repository on demand. This Applet runs when you press the Button widget and creates a new Cursor agent that follows the repository and instructions you provide. It's ideal for developers and on-call engineers who need to trigger immediate triage or automated fixes in GitHub using Cursor. Note: Install the IFTTT app and add the widget to your home screen.

If
Button 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 press the button.
ShareURL Latitude Longitude LocationMapURL LocationMapImageURL OccurredAt
Then
Cursor 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 launch a new Cursor cloud agent to work on a GitHub repository using the instructions you provide.
repository instructions agent_name

Services used in this Applet

Create your own Button widget and Cursor 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.

6 triggers, queries, and actions

Button press

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 press the button.

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.

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.

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.

Button press

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 press the button.

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.

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.

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.

Build an automation in seconds!

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

More on Button widget and Cursor

About Button widget

Make buttons and control other services with a single tap. This service creates widgets that you can use from the home screen of your Android or iOS device.

Explore Button widget

More integrations with Button 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