Back
Android Device Connects to a specific WiFi network. Cursor Launch an agent.

Launch Cursor agent when Android Device connects to WiFi

Connect

How this automation works

Launch a Cursor cloud agent when your Android Device connects to a specified Wi-Fi network. It runs whenever your Android Device joins the SSID you choose and starts a Cursor agent using the repository and instructions you provide. This is useful for automating tasks when arriving at work or home, letting Android Device and Cursor trigger repository work without manual steps.

If
Android Device 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 your Android device connects to a WiFi network you specify.
SSID OccurredAt DeviceName
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 Android Device 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.

27 triggers, queries, and actions

Connects or disconnects from a specific Bluetooth device

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 your Android device connects to or disconnects from a Bluetooth device you specify.

Connects or disconnects from a specific WiFi network

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 your Android device connects or disconnects from a WiFi network you specify.

Connects or disconnects from any Bluetooth device

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 your Android device connects to or disconnects from any Bluetooth device.

Connects or disconnects from any WiFi network

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 your Android device connects or disconnects from any WiFi network.

Connects to a specific Bluetooth device

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 your Android device connects to a Bluetooth device you specify.

Connects to a specific WiFi network

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 your Android device connects to a WiFi network you specify.

Connects to any Bluetooth device

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 your Android device connects to any Bluetooth device.

Connects to any WiFi network

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 your Android device connects to any WiFi network.

Disconnects from a specific Bluetooth device

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 your Android device disconnects from a Bluetooth you specify.

Disconnects from a specific WiFi network

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 your Android device disconnects from a WiFi network you specify.

Disconnects from any Bluetooth device

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 your Android device disconnects from any Bluetooth device.

Disconnects from any WiFi network

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 your Android device disconnects from any WiFi network.

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.

Launch Google Maps Navigation

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 Google Maps Navigation on your Android device and begin turn-by-turn guidance to the destination you specify.

Mute ringtone

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 mute your Android device's ringtone. If your device is already muted, it will remain muted.

Play a specific song

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 play a song you specify on your Android device. The music played depends on your device and setup. Depending on your version of Android, playback may not start automatically.

Play music

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 play music on your Android device. The music played depends on your device and setup. Depending on your version of Android, playback may not start automatically.

Set ringtone volume

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 set the ringtone volume of your Android device.

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.

Turn off Do Not Disturb mode

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.
Turn off Do Not Disturb mode on your Android Device

Turn on Do Not Disturb mode

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.
Turn on Do Not Disturb mode on your Android Device.

Update device wallpaper

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 update the wallpaper on your Android device from the image URL you specify.

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.

Connects or disconnects from a specific Bluetooth device

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 your Android device connects to or disconnects from a Bluetooth device you specify.

Connects or disconnects from a specific WiFi network

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 your Android device connects or disconnects from a WiFi network you specify.

Connects or disconnects from any Bluetooth device

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 your Android device connects to or disconnects from any Bluetooth device.

Connects or disconnects from any WiFi network

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 your Android device connects or disconnects from any WiFi network.

Connects to a specific Bluetooth device

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 your Android device connects to a Bluetooth device you specify.

Connects to a specific WiFi network

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 your Android device connects to a WiFi network you specify.

Connects to any Bluetooth device

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 your Android device connects to any Bluetooth device.

Connects to any WiFi network

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 your Android device connects to any WiFi network.

Disconnects from a specific Bluetooth device

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 your Android device disconnects from a Bluetooth you specify.

Disconnects from a specific WiFi network

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 your Android device disconnects from a WiFi network you specify.

Disconnects from any Bluetooth device

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 your Android device disconnects from any Bluetooth device.

Build an automation in seconds!

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

More on Android Device and Cursor

About Android Device

Android powers devices that are beautiful and available in many shapes and sizes. Unlock new functionality for each of your devices with the Android Device service. This service requires the IFTTT app for Android.

Explore Android Device

More integrations with Android Device

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