Back
iOS Shortcuts Shortcut automation started. iSpy Agent Run a command.

Run iSpy Agent command when iOS Shortcut automation starts

Connect

How this automation works

Automate your iSpy Agent actions directly from iOS Shortcuts. This Applet runs when a Shortcut automation starts and sends a command to your selected iSpy Agent device. Perfect for hands-free home security or camera control from your iPhone.

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
Then
iSpy Agent 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 execute a command on the computer running Agent DVR.
device command

Services used in this Applet

Create your own iSpy Agent and iOS Shortcuts 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.

18 triggers, queries, and actions

Alert

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 when an alert is raised by the selected device.

Motion detected

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 motion is detected on the selected camera.

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.

Sound detected

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 sound is detected on the selected microphone

History of Alerts

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 when an alert was raised by the selected device.

History of sound detections

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 when sound was detected on the selected microphone

Alert

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.
Trigger an alert on the selected device.

Arm a device

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.
Arm the selected device (switch alerts on).

Arm server

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 arm the master alerts switch on Agent DVR.

Disable a device

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 disable the selected device.

Disable detection

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 disable motion detection on cameras or sound detection on microphones.

Disarm a device

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.
Disarm the selected device (switch alerts off).

Disarm server

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 disarm the master alerts on Agent DVR.

Enable a device

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 enable (switch on) the selected device.

Enable detection

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 enable motion detection on cameras or sound detection on microphones.

Run a command

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 execute a command on the computer running Agent DVR.

Set profile

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 apply the specified profile (home, away or night).

Take a photo

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 make the selected camera take a photo.

Alert

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 when an alert is raised by the selected device.

Alert

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.
Trigger an alert on the selected device.

Arm a device

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.
Arm the selected device (switch alerts on).

Arm server

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 arm the master alerts switch on Agent DVR.

Disable a device

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 disable the selected device.

Disable detection

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 disable motion detection on cameras or sound detection on microphones.

Disarm a device

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.
Disarm the selected device (switch alerts off).

Disarm server

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 disarm the master alerts on Agent DVR.

Enable a device

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 enable (switch on) the selected device.

Enable detection

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 enable motion detection on cameras or sound detection on microphones.

History of Alerts

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 when an alert was raised by the selected device.

History of sound detections

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 when sound was detected on the selected microphone

Build an automation in seconds!

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

More on iSpy Agent and iOS Shortcuts

About iSpy Agent

iSpy Agent Applets enable you to connect your cameras and microphones to the internet of things. Using iSpy Agent you can trigger events when motion or sound is detected and view live from anywhere on desktop and mobile devices. iSpy Agent works on Windows PCs and supports an enormous range of devices.

Explore iSpy Agent

More integrations with iSpy Agent

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

IFTTT helps all your apps and devices work better together

Get started for free