Trigger alert soon after visit not on schedule

Is there a way to trigger alert on, or shortly after, a visitor hits a threshold? Right now from the looks of it there is a hard-coded choice of day, week, etc. I’d like to modify that to happen on or shortly after the visitor hits a threshold. Is the code for changing this accessible or is there any way to do this?

Thank you.