Is there a way to trigger custom messages via code


#1

Greetings.

I know there are ways to trigger messages or emails via events on Ubidots. But are there ways to send message alerts when a condition is met in my code? Or else can I create custom events in Ubidots or do I have to follow the strict patterns provided?

Thank You.


#2

Dear @qshahrukh41,

The Ubidots events will be triggered just when the conditions assigned in the Ubidots side is true. In order to provide a message alerts when a condition is met in your code, you should send the value which is in charge of the conditions to be able to receive those changes in the Ubdots side. So, based on that variable you will be able to trigger an Ubidots events!

I hope this would help you!

All the best,
Maria C.