As an example, let’s say I have Text A and Text B. Upon a change being detected, I want to receive an email including both Text A and Text B, but only want Text A to be considered for changes. My understanding is that excluding elements from the selector would exclude them from being considered for changes as well as exclude them from being present in the output, with no way to achieve the latter without including said element as part of the selector. Is this correct or am I missing something obvious?
I suppose one workaround could be to include Text A and Text B in the selector, then use one or more conditions to prevent Text B from triggering a change, but this would seem to be unnecessarily complicated compared to possible alternatives.
Hi @shadowmoses
Your understanding is mostly correct:
In Distill, only the elements included in the selector are both monitored for changes and included in the notification output. At the moment, there’s no built-in way to include extra text in the notification email without making it part of the selector.
You’re right that one workaround is to include both Text A and Text B in your selector and then add conditions so that only changes in Text A trigger alerts. For example, you can set a condition on Added Text (or other text types) or depending on the content use relevant conditions along with regex filters to make sure the alert only fires when “Text A” changes, not “Text B.” This does work, but it can feel more complex than ideal. You can refer to the post below for more information: