What is IFTTT?
IFTTT is a free web-based service that allows users to create chains of simple conditional statements, called “recipes”, which are triggered based on changes to other web services such as Gmail, Facebook, Instagram, and Twitter. IFTTT is an abbreviation of “If This Then That”.
An example “recipe” might consist of sending an e-mail message if the IFTTT user tweets using a certain hashtag. Or, if the user gets an email, send its subject to a google DRIVE spreadsheet. Those are just two examples.
What we will do here is: using IFTTT ,send from multiple sources, info to the iBoardbot. Why not send the subject of an email you have just received to the iboardbot? Or the last SMS you have got? Or the temperature of your home? Or the weather forecast? or… there are as many possibilities as possible recipes.
NOTE: Once a recipe has been created can be shared with everyone.
That´s nice, but… how can I create one and send info to my iBoardbot?
It is quite simple. We will use an existing IFTTT channel to access to the iBoardbot. In this case, the MAKER channel:
“The Maker Channel allows you to connect IFTTT to your personal DIY projects. With Maker, you can connect a Recipe to any device or service that can make or receive a web request (aka webhooks). See how others are using the Maker Channel, or share your own experience at hackster.io“
So, the Iboardbot´s recipes will be always like this: ANY CHANNEL -> MAKER CHANNEL.
STEPS TO CREATE A RECIPE:
Lets explain it using a visual guide, but first! you will have to create an IFTTT account (it is free). After that (and signing in), click on CREATE A RECIPE:
You will see something like this:
Ok, so… time to pick a “this” from a list. In this case, we will create a recipe that will draw any TWEET from the user @radiohead. First, find the channel “twitter” and select it:
Now, it is when you realize how many possibilities IFTTT really has. See below; we are just selecting one trigger among ten but you can also create a RECIPE that will draw tweets which contains a defined #hashtag, tweets that has a mention of you… Feel free to create your own recipes. (and share them!). Going back on topic, for this example select “NEW TWEET BY A SPECIFIC USER”
And then populate the field “username to watch”.In this case, @radiohead would be radiohead (without the @). Once done, click on CREATE TRIGGER.
Easy. Next step, to select the appropriate that. And here the MAKER channel comes. Click on that
And choose the ACTION CHANNEL: the MAKER CHANNEL. We will always use this channel as ACTION CHANNEL.
NOTE: You can pick any “if“ when creating an IFTTT recipe but the ACTION CHANNEL (the “that“) for our iBoardbot, will be always the MAKER CHANNEL
Select the MAKE A REQUEST actions.
Short explanation about this step: the iBoardbot has an OPEN API (info available on jjrobots GITHUB). What we are doing making a web request is sending the info collected by IFTTT to the iboardbot cloud service with every request. It is like sending a messenger with the info collected by IFTTT driving a MAKER CHANNEL car to the iBoardbot cloud service (your iBoardbot)
And the final steps
Copy this text into the URL field indicated below by the screen capture:
But use your APPID code instead the GREEN CODE
The green APPID code you can see above belongs to a imaginary iBoardbot APPID. You have to use your own APPID. Replace the green code with yours.
Once you have copied and pasted your APPID, select the GET method. That´s all. No need to add anything else.
Click on CREATE ACTION.
Last step. This is where you set a name for you RECIPE. For this example, it will be something like “If new tweet by RADIOHEAD, then write it on my iBoardbot”. Done!
Click on CREATE RECIPE
GOT IT. BUT I CAN NOT FIND MY APPID ANYWHERE. HELP!
Your APPID is a code linked to you iBoardbot. You can find it on your iboardbot´s WebAPP once you have registered it (follow this link to access to the WebAPP user guide).
Find below screen captures of the WebAPP showing the APPID
EXTRA: IFTTT APP
There is a smartphone APP of the IFTTT. Using it, you will be able to turn ON and OFF and create your own recipes from your device.
LINKS TO THE APPs: