How to write automation script trigger for this case

all clear, thank you

1 Like

hey @tjerman I wonder if I can check for null values like this

.where('record.values.user_phone', '')

would that catch the null values or just the empty ones?

Iā€™m not entirely sure to be honest; try your version, .where('record.values.user_phone', null), and .where('record.values.user_phone', undefined) and let us know what the outcome is.
Iā€™m quite sure your version should catch just the empty ones and not the null ones.