Setup the action fileds
and click “Create action” button (here I want to turn on my TV light).
Finally, note the event name (“turnOnTheLight” here) somewhere, review, toggle on or off the notifications and click “Finish”
All is good and the applet is now live (On).
Now we are going to Voiceflow, create a new skill and add some block pretty much like this:
The first Set block is here to pass the event name (you remember? turnOnTheLight) to the {event} variable,
so create a global variable named {event} and create the Set Event Name block like this:
Now the fun part -> API Block!
Create a new global variable named {IFTTTreturn} and paste the url you’ve copied earlier in the GET URL Endpoint on the API Block. You may need to remove the {event} text in the url and add it again to get the variable goes blue. Map response to {IFTTTreturn}
You can now click the
button to test the API Call.
In the event just type the name of your event to trigger on IFTTT (“turnOnTheLight” in this example)
The light is turned on and we got this Result from the API
As you can see, the response is not in JSON format so we have to tweak things here to tell the user if the API call went well or not.
Create a new global variable {checkEvent} and in the Set the response block, add this:
What we are doing here is create a sentence to compare with the API response. So, as the API response is always “Congratulations! You’ve fired the turnOnTheLight event” we need to make a variable with this text.
You need to put the spaces after “the " and before " event” and combine all the text and variables.
Basically, we are doing “Congratulations! You’ve fired the " + {event} + " event” here.
We can now compare the two variables {IFTTTreturn} from the API block response and the {checkEvent} we’ve just made in the Set block.
Last thing, just add two speak blocks to tell the user if everything goes well or not.

You can add others events to trigger other actions, you can even add command blocks to trigger actions like “Alexa, ask myskill to turn the TV light on”.
VoilĂ , your first home automation skill made with Voiceflow!