add proto code for sending triggers