RAK5205 GPIO triggering

Is there an easy way to trigger a LoRa message through one of the GPIOs? Essentially I want to put a sensor output in one of the GPIO and have it send a message when it goes off. I can’t seem to find any documentation or examples on this.