I have a journey which audience is an entry data extension. The DE gets populated daily via automation. How can I receive an email if, let's say, less than 200 contacts make it to the journey ?
I was thinking about Ampscript. I have monitoringDE where I store the counting of the audience, this field is called Total.
SET @numbercontacts = Lookup ('monitoringDE', 'Total','Total','200') IF @numbercontacts < 200 THEN --send email--
I could do something like that in automation studio, but I see the script activity only works with SSJS. And as far as I know SSJS is for landing pages. Any ideas ?