How to trigger a script on pi 3?

have a look at this Data types for Cayenne MQTT API