The goal of my applet is to reassur parents/family in general when someone is safe.
For example, if you're going out on a night club and your parents are worried and can't sleep, or if you're taking the plane/the train for a very long trip, in those situations, you could use my "I am safe" applet.
The principle is that you just have to click on a button to send a quick message saying to your dear ones that you're safe.

I created an example of this applet with ITTT (If This Then That) Webhook.

First of all, watch this short video to understand how ITTT works:

Now, you have to create a new applet on ITTT:

Then, select "Webhooks" for the "this" value:

After, you imagine the name of the action, I chose "I-am-safe" :

Now that the "this" part is achieved, let's move to the "that" part !



You now have to select "SMS":

And type the message which you want to be sent:

And that's it for our job on ITTT !

When this part is over, our applet is working !
But if we want to integrate it on an application/website, we have to code it.

Here, for example, I chose to make the applet work with a button (when you click on a button, the event will occure on Maker Event and the sms is sent).
Let's see what it looks like in HTML langage.

This is an example of what you need to enter in your "html" file:

And this is for the "js" file:

I styled my page with this very basic "css" file:

The result of this code is: (If you're not familiar with this method, you can check the jQuery.get() method)

And the magical thing that happens when you actually press the button : the sms is sent !

Now that you know how to create the applet and the button, you can insert the button wherever you want.
For example, at the end of a course Uber, the button could appear, or in the application "iMessage".



I hope that you like my idea and that it was a clear explanation for you !