Back
iOS Shortcuts Shortcut automation started. iSpy Agent Run a command. Webhooks Make a web request.

Run Agent DVR command and send web request when an iOS Shortcut automation starts

Connect

How this automation works

Control your iSpy Agent system automatically with your iPhone Shortcuts. This Applet runs when a selected iOS Shortcut automation starts, triggering a command on your iSpy Agent and sending an accompanying web request. Perfect for synchronizing smart devices or integrating automation scripts between your phone and your PC system. Note: This requires a reachable webhook endpoint (URL).

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
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
And
Webhooks 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 make a web request to a publicly accessible URL. NOTE: Requests may be rate limited.
url method content_type additional_headers body

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.

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

Receive a web request

Pro 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 the Maker service receives a web request to notify it of an event. For information on triggering events, go to your Maker service settings and then the listed URL (web) or tap your username (mobile)

Receive a web request with a JSON payload

Pro 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 the Maker service receives a web request to notify it of an event. For information on triggering events, go to your Maker service settings and then the listed URL (web) or tap your username (mobile)

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

History of web requests received

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 times when the Maker service received a web request to notify it of an event. For information on querying events, go to your Maker service settings and then the listed URL (web) or tap your username (mobile)

Make a web request

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 status code from a request made to the provided URL. If the response body is in the correct format it will also return the body’s extracted values. Please see the documentation link on the Webhooks service page.

Make a web request with JSON response

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 JSON response body. You can use filter code to parse it. Please see the documentation link on the Webhooks service page.

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.

Make a web request

Pro 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 make a web request to a publicly accessible URL. NOTE: Requests may be rate limited.

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

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 these services

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 Webhooks

Learn to use webhooks and integrate other services on IFTTT with your DIY projects. You can create Applets that work with any device or app that can make or receive a web request. If you'd like to build your own service and Applets, check out the IFTTT Developer Dashboard. Connect a webhook to any of the 750+ apps and services on IFTTT.

Explore Webhooks

More integrations with Webhooks

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