Customer Self-Service Portal

JSON Assertion question.

Hi, first of all thanks for taking the time to read my question.

Anyways, let's dive onto the subject right away. I have a Monitor already set up and everything is working as expected. But I need to make a JSON assertion that allows me to receive alerts once the values within the JSON are different from zero for a given amount of time.

Here's the JSON output:

[
{
"CHANNEL": "BOT",
"COUNT": 0
},
{
"CHANNEL": "EMAIL",
"COUNT": 0
},
{
"CHANNEL": "FACEBOOK",
"COUNT": 0
},
{
"CHANNEL": "SMS",
"COUNT": 0
},
{
"CHANNEL": "TELEGRAM",
"COUNT": 0
},
{
"CHANNEL": "TWITTER",
"COUNT": 0
},
{
"CHANNEL": "WEBCHAT",
"COUNT": 0
},
{
"CHANNEL": "WHATSAPP",
"COUNT": 0
}
]

 

I need to make an assertion so that if "Count" from the Whatsapp Channel is higher than 0 for... Let's say, 20 seconds or any given amount of time that we set up in the future, triggers an alarm.

 

Thanks in advance, have a great day!