Syntax
- Field references: Use curly braces to reference other fields:
{FieldName} - Linked record fields: Access fields from linked records using dot notation:
{Tasks.Status} - Text strings: Wrap text in double quotes:
"Hello World" - Numbers: Use plain numbers:
42,3.14 - Operators: Standard math operators work:
+,-,*,/ - Comparisons:
=,!=,<,>,<=,>=
Math Functions
ABS
ABS
Returns the absolute value of a number.Example
CEILING
CEILING
Rounds a number up to the nearest multiple of significance.Example
FLOOR
FLOOR
Rounds a number down to the nearest multiple of significance.Example
INT
INT
Returns the integer portion of a number by rounding down.Example
MOD
MOD
Returns the remainder after division.Example
POWER
POWER
Returns the result of a number raised to a power.Example
ROUND
ROUND
Rounds a number to a specified number of decimal places.Example
SQRT
SQRT
Returns the square root of a number.Example
SUM
SUM
Returns the sum of the numbers.Example
Text Functions
CONCATENATE
CONCATENATE
Joins several text strings into one.Example
FIND
FIND
Returns the position of text within text (case-sensitive).Example
LEFT
LEFT
Returns the leftmost characters from a text string.Example
LEN
LEN
Returns the length of a text string.Example
LOWER
LOWER
Converts text to lowercase.Example
MID
MID
Returns a substring from the middle of text.Example
PROPER
PROPER
Capitalizes the first letter of each word.Example
REPT
REPT
Repeats text a given number of times.Example
RIGHT
RIGHT
Returns the rightmost characters from a text string.Example
SEARCH
SEARCH
Returns the position of text within text (case-insensitive).Example
SUBSTITUTE
SUBSTITUTE
Replaces old text with new text in a string.Example
T
T
Returns the text if value is text, otherwise returns empty string.Example
TEXT
TEXT
Formats a number as text with a specified format.Example
TRIM
TRIM
Removes leading and trailing spaces from text.Example
UPPER
UPPER
Converts text to uppercase.Example
VALUE
VALUE
Converts text to a number.Example
Statistical Functions
AVERAGE
AVERAGE
Returns the average of the numbers.Example
COUNT
COUNT
Counts the number of non-empty values.Example
MAX
MAX
Returns the maximum value.Example
MIN
MIN
Returns the minimum value.Example
Date Functions
DATEADD
DATEADD
Adds a number of units to a date.Units:
"year", "month", "week", "day", "hour", "minute", "second"ExampleDATETIME_DIFF
DATETIME_DIFF
Returns the difference between two dates in specified units.Units:
"year", "month", "week", "day", "hour", "minute", "second"ExampleDATETIME_FORMAT
DATETIME_FORMAT
Formats a date/time using a format string.Example
DATESTR
DATESTR
Returns date as YYYY-MM-DD string.Example
TIMESTR
TIMESTR
Returns time as HH:MM:SS string.Example
DAY
DAY
Returns the day of the month (1-31).Example
MONTH
MONTH
Returns the month (1-12).Example
YEAR
YEAR
Returns the year.Example
HOUR
HOUR
Returns the hour component (0-23).Example
MINUTE
MINUTE
Returns the minute component (0-59).Example
SECOND
SECOND
Returns the second component (0-59).Example
WEEKDAY
WEEKDAY
Returns the day of week as a number.Example
WEEKNUM
WEEKNUM
Returns the week number of the year.Example
Logical Functions
IF
IF
Returns one value if condition is TRUE, another if FALSE.Example
IFS
IFS
Checks multiple conditions and returns the value for the first TRUE.Example
SWITCH
SWITCH
Evaluates an expression against a list of values.Example
AND
AND
Returns TRUE if all arguments are TRUE.Example
OR
OR
Returns TRUE if any argument is TRUE.Example
NOT
NOT
Reverses the logic of its argument.Example
XOR
XOR
Returns TRUE if an odd number of arguments are TRUE.Example
IFERROR
IFERROR
Returns value unless it’s an error.Example
IFNA
IFNA
Returns value unless it’s #N/A.Example
BLANK
BLANK
Returns an empty/blank value.Example
TRUE
TRUE
Returns the boolean value TRUE.Example
FALSE
FALSE
Returns the boolean value FALSE.Example
Information Functions
ISBLANK
ISBLANK
Returns TRUE if value is blank, empty, or null.Example
ISERROR
ISERROR
Returns TRUE if value is any error.Example
ISNUMBER
ISNUMBER
Returns TRUE if value is a number.Example
ISTEXT
ISTEXT
Returns TRUE if value is text.Example
COALESCE
COALESCE
Returns the first non-null, non-empty value.Example
N
N
Converts value to a number.Example
NA
NA
Returns the #N/A error value.Example
RECORD_ID
RECORD_ID
Returns the ID of the current record.Example
CREATED_TIME
CREATED_TIME
Returns the creation time of the current record.Example
LAST_MODIFIED_TIME
LAST_MODIFIED_TIME
Returns the last modification time of the current record.Example
Array Functions
ARRAYJOIN
ARRAYJOIN
Joins array elements into a string with optional separator.Example
ARRAYCOMPACT
ARRAYCOMPACT
Removes empty/null values from an array.Example
ARRAYUNIQUE
ARRAYUNIQUE
Returns unique values from an array.Example
UNIQUE
UNIQUE
Alias for ARRAYUNIQUE.Example
ARRAYFLATTEN
ARRAYFLATTEN
Flattens nested arrays into a single-level array.Example
ARRAYSLICE
ARRAYSLICE
Extracts a portion of an array from start to end index (1-based). Supports negative indices (-1 for last element).Example
FILTER
FILTER
Filters array elements based on a condition.Example
SORT
SORT
Sorts array elements.Example
Regex Functions
REGEX_MATCH
REGEX_MATCH
Tests if text matches a regex pattern.Example
REGEX_EXTRACT
REGEX_EXTRACT
Extracts the first match of a regex pattern.Example
REGEX_EXTRACT_ALL
REGEX_EXTRACT_ALL
Extracts all matches as an array.Example
REGEX_REPLACE
REGEX_REPLACE
Replaces all matches of a regex pattern.Example
REGEX_COUNT
REGEX_COUNT
Counts the number of matches.Example