Setting Alert Frequency

Good afternoon. I’m learning how to use Kapacitor and I’d like to know how to set how often I’ll receive a notification on Slack if anything happens (something like give me an alert every five minutes). I thought it had something to do with the parameters “period” and “every” from window() and I tried to play with them, but it didn’t work. I am only being notified once. I did look up other questions on the matter and read the docs and the article Getting Started but I’m still lost.

Can anyone help? Thanks a lot.