Back
Webhooks Receive a web request. YoLink Turn on/off switch. Apilio Update a string variable in Apilio. Android SMS Send an SMS.

Turn off YoLink switch and send SMS when a Webhook event is received

Connect

How this automation works

Control your YoLink switch and receive confirmation instantly. This Applet runs when your Webhook event is triggered and turns off a selected YoLink switch, sends a text message, and updates an Apilio string variable. Ideal for automated home control and monitoring routines that operate via web requests.

If
Webhooks 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)
EventName Value1 Value2 Value3 OccurredAt
Then
YoLink 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.
Turn on or turn off yolink switch
deviceId action
And
Android SMS 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 send an SMS from your Android device to any phone number you specify.
phone_number text
And
Apilio 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 update a string variable in Apilio
variable_identifier variable_value

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.

48 triggers, queries, and actions

Temperature & Humidity Sensor

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 the temperature or humidity value is in the alert range

Any new SMS received

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 receive any new SMS on your Android device.

Any new SMS sent

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 send an SMS on your Android device.

Doorsensor Event

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 door sensor state change

Flex Fob

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.
Fire this trigger by YoLink Flex Fob

Leak Sensor

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 your leak sensor detected water.

Leak Sensor (Special Event Types)

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 the Leak Sensor detects an event you specify.

Lock Event

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 your YoLink Lock's state changed

Motion sensor event

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 sensor state changed

Motion sensor event(Specific Event Types)

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 sensor state changed

New SMS received from phone number

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 receive an SMS on your Android device from a phone number you specify.

New SMS received matches search

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 receive an SMS on your Android device that matches a search you specify.

History of Boolean Values

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 up to the last 10 values of a Boolean variable.

History of door sensor events

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 the door sensor state changed.

History of lock events

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 your YoLink Lock's state changed

History of motion sensor event

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 motion sensor state changed

History of Numeric Values

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 up to the last 10 values of a Numeric variable.

History of String Values

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 up to the last 10 values of a String variable.

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.

Clear a string variable in Apilio

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 clear a string variable in Apilio.

Control IR Remote

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.
Control your YoLink IR Remote

Control your thermostat

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.
Control your thermostat

Delay your sprinkler

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.
Set delay for your sprinkler

Do a mathematical operation with a numeric variable

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.
Add or subtract a value from a numeric variable in Apilio.

Enable / Disable YoLink Notification

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.
Enable / Disable YoLink Device's notification

Execute YoLink Scene

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.
Execute your scene that defined in YoLink APP

Initiate a logicblock evaluation in Apilio

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 initiate the evaluation of the specified logicblock in Apilio.

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.

Open/Close valve controller

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.
Open or close your valve with YoLink Valve Controller

Send an SMS

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 send an SMS from your Android device to any phone number you specify.

Start / Stop alarm for siren

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.
Start / Stop alarm for siren

Temperature & Humidity Sensor

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 the temperature or humidity value is in the alert range

Any new SMS received

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 receive any new SMS on your Android device.

Any new SMS sent

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 send an SMS on your Android device.

Clear a string variable in Apilio

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 clear a string variable in Apilio.

Control IR Remote

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.
Control your YoLink IR Remote

Control your thermostat

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.
Control your thermostat

Delay your sprinkler

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.
Set delay for your sprinkler

Do a mathematical operation with a numeric variable

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.
Add or subtract a value from a numeric variable in Apilio.

Doorsensor Event

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 door sensor state change

Enable / Disable YoLink Notification

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.
Enable / Disable YoLink Device's notification

Execute YoLink Scene

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.
Execute your scene that defined in YoLink APP

Flex Fob

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.
Fire this trigger by YoLink Flex Fob

Build an automation in seconds!

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

More on these services

About YoLink

Connection with YoLink Devices. YoLink Devices designed to be easy to set up and easy to use, and part of a growing ecosystem of smart home and automation products, with features like reliable, industry-leading long-range communication, and extended battery life. YoLink is the smart choice.

Explore YoLink

More integrations with YoLink

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 Apilio

Build your own smart home automations with any device or service on the IFTTT platform. With Apilio, you can combine multiple IFTTT triggers and define custom conditions. And it doesn't stop there: You can of course also define a sequence of multiple actions - even with delays!

Explore Apilio

More integrations with Apilio

About Android SMS

Android SMS is a native service that allows you to receive Short Message Service (SMS) messages on your device and send messages to other phone numbers. Standard carrier rates may apply. This service requires the IFTTT app for Android.

Explore Android SMS

More integrations with Android SMS

IFTTT helps all your apps and devices work better together

Get started for free