All Collections
User Guides
Events: Email Notifications
Events: Email Notifications

Learn how to set up email notifications that trigger based on the logic you configure in your events.

S
Written by Sergio M
Updated over a week ago

Having your operation automated to the point where certain data values or behaviors trigger notifications that are sent to team members or customers is possible thanks to Ubidots’ Events Engine. One of the most straightforward and convenient ways of reaching interested parties is via email. Learn how to set up an Email action in your events in a few simple steps.

1. Create a new event

To begin, head to the “data” tab →"Events" and hover over the “+” button, located at the upper right corner of the screen, and create a conditional event, global event, or scheduled event depending on your needs.

Next, configure the event’s triggers with an AND/OR logic. For additional details on how to configure these triggers, head to their corresponding guides: value based, inactivity, geofence.

2. Configure Send Email action

With the "trigger" logic configured, it’s now time to set up the Send Email action.

1. Click on the “+ add action” button. From the available options, select “Send Email”.

2. Enter all the target emails in the “to” field. If more than one email is entered, make sure to separate them with commas.

3. Customize the subject of your email.

4. Customize the “active trigger” and the “back to normal” (optional) texts to be delivered to the receiving email(s).

By using the tag icon at the upper right corners of the “subject” and “message” fields you can easily add information such as device ID, timestamp, variable name, etc.

Note: By default, data inputs involving timestamps are sent in human-readable format (YYY-MM-DD HH:mm:ss TZ). If you'd rather attach UNIX epoch time in milliseconds, double-click on the data input and delete the text from the pipe symbol ("|") until the end, as shown below.

5. Optionally, enable the “repeat action” if you want to repeat the action multiple times while the event is triggered. You can choose how often and up to how many times the action will be repeated. There’s a limit of 50 action repetitions.

6. Click on “save” once you finish configuring the action and on “next”, unless you want to set up multiple actions.

7. After completing the action configuration you’ll proceed to the final step, the “settings” tab. There, you’ll name the event and give it a description (optional).

8. Another optional step is to use a tag on the event. This is a great tool to control what your end users see in your app. In this case, for instance, you could decide that your end user sees one event, but not another, using tags. Learn more about tags here.

9. Finally (unless the event you created is a scheduled event), determine the activity window in which the events should be executed. An event can have multiple active windows by clicking on the “+ add window button” and configuring them correspondingly. After finishing this, click on “save” and your event will be deployed.

Did this answer your question?