Hey Tommy! If you do not want to write any Java Class or other implementation for such purpose you could rely on a so called “Connector”.
Right here you can find an example about it:
Right here is a very nice post about how to configure connectors using the Modeler as well:
Hopefully this was helpful for you!
Thomas