Generate email and SMS alerts based on Geofence alerts

In this example, we will show how to configure SMS and Email alerts when a vehicle gets outside a geofence.

Email notification setup

1. Login with the proper user into your Application and select Main Menu >Admin > Event Rules

2. Click on Add New Event Rule

3. Select Geofence Expression

blog_sms_email_notif_001a.png

Note that you will see geofence Groups - not individual geofences - in your list.

blog_sms_email_notif_001.png

4. On 5.Notifications we will select Email as a notification type.

blog_sms_email_notif_002a.png

5. We will select one of our Tags as a recipient.

Select a tag where you know you have at least one user with an email in user properties. 

blog_sms_email_notif_002.png

6. Now it's time to customize the Subject of the email. Compose the subject with fixed text and variables of your choice.

blog_sms_email_notif_003.png

7. You can also customize the body of the email by adding your own text and variables.

blog_sms_email_notif_004.png

SMS notification setup

8. To add an SMS notification, select + and add SMS as a new notification type.

blog_sms_email_notif_005.png

9. In the same way that we customized the email notification, we can also compose the SMS notification.

blog_sms_email_notif_006.png

10. Click Next until you reach the end.

11. Click on Save.

Result

In this example, when the vehicle left the geofence, a notification via SMS and email is sent to the recipient of the message (the operator with a valid phone number and email address).

mceclip0.png

SMS notification

Example of the SMS notification received by the recipient

blog_sms_email_notif_007.jpg

E-mail notification

Example of the email notification received by the recipient

mceclip2.png