How to end up sending custom notifications from the opensearch API

Describe the issue:

Hi, I have a custom python script that gathers anomalies from the anomaly detection plugin every X minutes, processes and filters them and is supposed to send notifications with the anomalies left after the filter.

Is there a way for me to use the alerting/notification pipeline for this last step? I checked the API but I saw it’s not possible to send a notification directly, and I don’t see a way to do this with triggers/alerts.