diff --git a/FAQ.md b/FAQ.md index 7086a1a71a..280f85f3dd 100644 --- a/FAQ.md +++ b/FAQ.md @@ -3053,6 +3053,8 @@ Example conditions: ```COALESCE(message("language")) == "en"``` +Note that *message("name")* returns an array. COALESCE returns the first value of an array, so it can be compared with a string value. +
**Actions** diff --git a/index.html b/index.html index 70ff44ec89..bf32b0762e 100644 --- a/index.html +++ b/index.html @@ -1676,6 +1676,7 @@ X-Google-Original-From: Somebody <somebody+extra@example.org>

(received + 7*24*60*60*1000) < DT_DATE_TO_EPOCH(DT_NOW())

AI("Is the message below a scam? Answer in English with just yes or no.") contains "yes"

COALESCE(message("language")) == "en"

+

Note that message(“name”) returns an array. COALESCE returns the first value of an array, so it can be compared with a string value.


Actions

You can select one of these actions to apply to matching messages: