Do not want to use dashboard to activate output

Is there a way to not use dashboard to activate output in another device connected?
I do not want to use “…CAYENNE_IN()…// get value sent from dashboard”, but I want that depending on the input data of a device an output is triggered on another device, both are in different network.

For example, input in one node …pushButton/Emergency Alarm --Cloud-> Cayenne -->Cloud–> Output(in other device) Activate a relay for Alarm horn.
Thanks in advance.

did you try trigger feature? go to add new ---> triggers then you can add the control and actuator device you want.