Here you can find the documentation of the KosmoS Platform API
This is the KosmoS Rule Engine Editor that can be used to create automations and so on in a block based style.