You can do that using two separate trigger and keeping in mind Sending MQTT messages within notification limit