Back
Button widget Button press. Apilio Update a variable in Apilio to true.

Set Apilio variable to true with a Button press

Connect

How this automation works

Easily toggle a boolean variable in Apilio by tapping the Button widget. This Applet runs whenever you press the Button in the IFTTT app or on your device, updating the chosen Apilio variable to true. Perfect for home automation and quick triggers that control your Apilio logic with a single tap. Note: Install the IFTTT app and add the Button 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
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 boolean variable in Apilio to true.
variable_identifier

Services used in this Applet

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

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

Receive an actionable notification from Apilio

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 IFTTT receives an actionable notification from Apilio.

Receive an event from Apilio

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 IFTTT receives a specific event from Apilio.

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

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.

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.

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.

Toggle a boolean variable on 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 update a boolean variable in Apilio from true to false or from false to true.

Update a numeric 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 update a numeric variable in Apilio.

Update 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 update a string variable in Apilio

Update a variable in Apilio to false

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 boolean variable in Apilio to false.

Update a variable in Apilio to true

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 boolean variable in Apilio to true.

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.

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.

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.

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

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.

Receive an actionable notification from Apilio

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 IFTTT receives an actionable notification from Apilio.

Receive an event from Apilio

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 IFTTT receives a specific event from Apilio.

Toggle a boolean variable on 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 update a boolean variable in Apilio from true to false or from false to true.

Update a numeric 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 update a numeric variable in Apilio.

Update 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 update a string variable in Apilio

Build an automation in seconds!

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

More on Button widget and Apilio

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

IFTTT helps all your apps and devices work better together

Get started for free