Sending alerts from Kapacitor

I code a Ruby alert system manager that with mqtt send to my clients all the alerts from kapacitor, so kapacitor can send a json message directly?? with web hook??