Updating numeric variables via IFTTT

variables
ifttt
numeric
Updating numeric variables via IFTTT
0

#1

Numeric variables are used to store numbers, such as the temperature, the humidity level or for example…the number of astronauts in space.

2 options for managing numeric variables from IFTTT

image

With IFTTT, you can use the following two actions when creating your own applet from scratch:

  • Update a numeric variable to a new value you specify
  • Do a mathematical operation (add or subtract) with a numeric variable

Let’s have a look at how you can setup and manage a numeric variable via IFTTT.

Setting up a numeric variable to check how many astronauts are out there

  1. In Apilio, create a numeric variable called “astronauts” and set it to 6, which at the time of writing was the number of people out there in our vast space as per Nasa:

  1. Go to IFTTT now and select “create” to start building your own applet (https://ifttt.com/create).

  1. For the “If this” part, select the Space service, and the trigger “Astronaut enters space”

  1. For the “then that” part, select the Apilio service, and “Do a mathematical operation with a numeric variable” as your action. Then your “astronauts” variable, “add” as your operation and add 1.

  1. Review and click complete to finish setting up your applet, you are done!

  1. You can also subtract astronauts when the come back home with the alternative trigger, “Astronaut exits Space”

This is just an example to show you a step-by-step setup, but the sky is the limit! Let us know how you are using your numeric variables with Apilio.

:bulb: Do you want to know more?

Have a look at these examples with the other types of variables:

Also check:


Evaluating logicblocks and triggering actions with IFTTT
Getting started with Apilio and IFTTT
Turn on heating
unlisted #2

How to migrate your logicblocks to the new IFTTT integration
listed #3