Please excuse my newbie question, I've been trying to figure it out using the docs by myself, however, I failed.
I'd like to do this: I have an index which contains alerts. I'm trying to configure a watch that is triggered every 24 hours. It looks for certain alerts over the last 24h and normally, there are several search results for this search within 24 hours. This means we get quite a large number of hits with one search. I can actually see the payload, it looks correct. I'd like to generate an email for each of the results within the payload, however, I have no Idea how to do it. Furthermore, do you have any advice how to access each result in the payload (maybe with something like a "for" loop) and within the result access certain fields?
I really like the watcher docs, however, I think they could be improved by including some more examples because I realized that there're certain scenarios that are hard to figure out using only the docs without any examples. Watcher is really complex and powerful and the learning curve is quite steep.