How to send a message to the specified phone number when the data I receive exceeds a certain threshold value?

I have data from 3 sensors. I print this data on the screen in 3 separate channels. How do I apply the condition that the data I receive exceeds the threshold value? Also, what should I do to send a message to the specified phone number when the data I receive exceeds a certain threshold value?




Please help me.