Syntax
coalesce(<object_1>, <object_2>, ...)Examples
coalesce(triggerBody()?['nickname'], triggerBody()?['name'], 'Guest')The first name that exists
Maker notes
- Empty strings are not null, so they are returned as they are.
Returns the first value that is not null.
coalesce(<object_1>, <object_2>, ...)coalesce(triggerBody()?['nickname'], triggerBody()?['name'], 'Guest')The first name that exists