My deepest apologies. I was sure I already replied, but I didn't, or something went wrong.
This question has been resolved by dissecting custom-ar.py and building two implementations of an active response interface in Golang and Python: wazuh-notify.
Wazuh-notify takes an event and sends a notification to Slack, Discord or ntfy.sh, including summarized event information or the complete event.
Additionally, the Python implementation makes it possible to take the example (JSON) event from the Wazuh documentation and use it for testing.
Rather than processing a live event, it will use the example event. The example event can be adapted to test different scenarios.
Regards,
Rudi