> For the complete documentation index, see [llms.txt](https://docs.wem.io/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wem.io/platform/wemreference/functions.md).

# Functions

- [Aggregation](https://docs.wem.io/platform/wemreference/functions/aggregation.md)
- [Average](https://docs.wem.io/platform/wemreference/functions/aggregation/average.md)
- [Count](https://docs.wem.io/platform/wemreference/functions/aggregation/count.md)
- [First](https://docs.wem.io/platform/wemreference/functions/aggregation/first.md)
- [Last](https://docs.wem.io/platform/wemreference/functions/aggregation/last.md)
- [Max](https://docs.wem.io/platform/wemreference/functions/aggregation/max.md)
- [Min](https://docs.wem.io/platform/wemreference/functions/aggregation/min.md)
- [Sum](https://docs.wem.io/platform/wemreference/functions/aggregation/sum.md)
- [Concepts](https://docs.wem.io/platform/wemreference/functions/concepts.md)
- [ConceptId](https://docs.wem.io/platform/wemreference/functions/concepts/conceptid.md)
- [Description](https://docs.wem.io/platform/wemreference/functions/concepts/description.md)
- [FindConcepts](https://docs.wem.io/platform/wemreference/functions/concepts/findconcepts.md)
- [GetAncestors](https://docs.wem.io/platform/wemreference/functions/concepts/getancestors.md)
- [GetChildren](https://docs.wem.io/platform/wemreference/functions/concepts/getchildren.md)
- [GetDescendants](https://docs.wem.io/platform/wemreference/functions/concepts/getdescendants.md)
- [GetParent](https://docs.wem.io/platform/wemreference/functions/concepts/getparent.md)
- [Intersection](https://docs.wem.io/platform/wemreference/functions/concepts/intersection.md)
- [LocalName](https://docs.wem.io/platform/wemreference/functions/concepts/localname.md)
- [Synonyms](https://docs.wem.io/platform/wemreference/functions/concepts/synonyms.md)
- [ToConcept](https://docs.wem.io/platform/wemreference/functions/concepts/toconcept.md)
- [Union](https://docs.wem.io/platform/wemreference/functions/concepts/union.md)
- [Date](https://docs.wem.io/platform/wemreference/functions/date.md)
- [Date](https://docs.wem.io/platform/wemreference/functions/date/date.md)
- [DateDiff](https://docs.wem.io/platform/wemreference/functions/date/datediff.md)
- [DateOnly](https://docs.wem.io/platform/wemreference/functions/date/dateonly.md)
- [DatePart](https://docs.wem.io/platform/wemreference/functions/date/datepart.md)
- [DayOfWeek](https://docs.wem.io/platform/wemreference/functions/date/dayofweek.md)
- [FromUnixTimestamp](https://docs.wem.io/platform/wemreference/functions/date/fromunixtimestamp.md)
- [MoveDate](https://docs.wem.io/platform/wemreference/functions/date/movedate.md)
- [Now](https://docs.wem.io/platform/wemreference/functions/date/now.md)
- [TimeOfDay](https://docs.wem.io/platform/wemreference/functions/date/timeofday.md)
- [Today](https://docs.wem.io/platform/wemreference/functions/date/today.md)
- [ToDuration](https://docs.wem.io/platform/wemreference/functions/date/toduration.md)
- [ToLocal](https://docs.wem.io/platform/wemreference/functions/date/tolocal.md)
- [ToUnixTimestamp](https://docs.wem.io/platform/wemreference/functions/date/tounixtimestamp.md)
- [ToUTC](https://docs.wem.io/platform/wemreference/functions/date/toutc.md)
- [UTCNow](https://docs.wem.io/platform/wemreference/functions/date/utcnow.md)
- [UTCToday](https://docs.wem.io/platform/wemreference/functions/date/utctoday.md)
- [Environment](https://docs.wem.io/platform/wemreference/functions/environment.md)
- [GetNodeName()](https://docs.wem.io/platform/wemreference/functions/environment/getnodename.md)
- [GetFlowchartID()](https://docs.wem.io/platform/wemreference/functions/environment/getflowchartid.md)
- [GetFlowchartName()](https://docs.wem.io/platform/wemreference/functions/environment/getflowchartname.md)
- [ApplicationId](https://docs.wem.io/platform/wemreference/functions/environment/applicationid.md)
- [CountryCode](https://docs.wem.io/platform/wemreference/functions/environment/countrycode.md)
- [CountryName](https://docs.wem.io/platform/wemreference/functions/environment/countryname.md)
- [Hostname](https://docs.wem.io/platform/wemreference/functions/environment/hostname.md)
- [IpAddress](https://docs.wem.io/platform/wemreference/functions/environment/ipaddress.md)
- [IsFirstRequest](https://docs.wem.io/platform/wemreference/functions/environment/isfirstrequest.md)
- [IsHttps](https://docs.wem.io/platform/wemreference/functions/environment/ishttps.md)
- [IsPreview](https://docs.wem.io/platform/wemreference/functions/environment/ispreview.md)
- [IsStaging](https://docs.wem.io/platform/wemreference/functions/environment/isstaging.md)
- [IsLive](https://docs.wem.io/platform/wemreference/functions/environment/islive.md)
- [NodeTrail](https://docs.wem.io/platform/wemreference/functions/environment/nodetrail.md)
- [PortalId](https://docs.wem.io/platform/wemreference/functions/environment/portalid.md)
- [PortalName](https://docs.wem.io/platform/wemreference/functions/environment/portalname.md)
- [ProjectId](https://docs.wem.io/platform/wemreference/functions/environment/projectid.md)
- [ProjectName](https://docs.wem.io/platform/wemreference/functions/environment/projectname.md)
- [ProjectVersion](https://docs.wem.io/platform/wemreference/functions/environment/projectversion.md)
- [Setting](https://docs.wem.io/platform/wemreference/functions/environment/setting.md)
- [UrlPath](https://docs.wem.io/platform/wemreference/functions/environment/urlpath.md)
- [Files](https://docs.wem.io/platform/wemreference/functions/files.md)
- [FileName](https://docs.wem.io/platform/wemreference/functions/files/filename.md)
- [FileSize](https://docs.wem.io/platform/wemreference/functions/files/filesize.md)
- [FileUrl](https://docs.wem.io/platform/wemreference/functions/files/fileurl.md)
- [MimeType](https://docs.wem.io/platform/wemreference/functions/files/mimetype.md)
- [Lists](https://docs.wem.io/platform/wemreference/functions/lists.md)
- [Distinct](https://docs.wem.io/platform/wemreference/functions/lists/distinct.md)
- [IsDirty](https://docs.wem.io/platform/wemreference/functions/lists/isdirty.md)
- [IsNewRow](https://docs.wem.io/platform/wemreference/functions/lists/isnewrow.md)
- [IsOnRow](https://docs.wem.io/platform/wemreference/functions/lists/isonrow.md)
- [List](https://docs.wem.io/platform/wemreference/functions/lists/list.md)
- [NameOf](https://docs.wem.io/platform/wemreference/functions/lists/nameof.md)
- [RowId](https://docs.wem.io/platform/wemreference/functions/lists/rowid.md)
- [Math](https://docs.wem.io/platform/wemreference/functions/math.md)
- [Abs](https://docs.wem.io/platform/wemreference/functions/math/abs.md)
- [Ceiling](https://docs.wem.io/platform/wemreference/functions/math/ceiling.md)
- [Cos](https://docs.wem.io/platform/wemreference/functions/math/cos.md)
- [Distance](https://docs.wem.io/platform/wemreference/functions/math/distance.md)
- [Exp](https://docs.wem.io/platform/wemreference/functions/math/exp.md)
- [Floor](https://docs.wem.io/platform/wemreference/functions/math/floor.md)
- [Log](https://docs.wem.io/platform/wemreference/functions/math/log.md)
- [Log10](https://docs.wem.io/platform/wemreference/functions/math/log10.md)
- [Pi](https://docs.wem.io/platform/wemreference/functions/math/pi.md)
- [Pow](https://docs.wem.io/platform/wemreference/functions/math/pow.md)
- [Random](https://docs.wem.io/platform/wemreference/functions/math/random.md)
- [Round](https://docs.wem.io/platform/wemreference/functions/math/round.md)
- [Sin](https://docs.wem.io/platform/wemreference/functions/math/sin.md)
- [Sqrt](https://docs.wem.io/platform/wemreference/functions/math/sqrt.md)
- [ToNumber](https://docs.wem.io/platform/wemreference/functions/math/tonumber.md)
- [Security](https://docs.wem.io/platform/wemreference/functions/security.md)
- [AesDecrypt](https://docs.wem.io/platform/wemreference/functions/security/aesdecrypt.md)
- [AesEncrypt](https://docs.wem.io/platform/wemreference/functions/security/aesencrypt.md)
- [AesIv](https://docs.wem.io/platform/wemreference/functions/security/aesiv.md)
- [AesKey](https://docs.wem.io/platform/wemreference/functions/security/aeskey.md)
- [CreateJsonWebTokenH256](https://docs.wem.io/platform/wemreference/functions/security/createjsonwebtokenh256.md)
- [HmacSha256](https://docs.wem.io/platform/wemreference/functions/security/hmacsha256.md)
- [Md5](https://docs.wem.io/platform/wemreference/functions/security/md5.md)
- [Password](https://docs.wem.io/platform/wemreference/functions/security/password.md)
- [PasswordStrength](https://docs.wem.io/platform/wemreference/functions/security/passwordstrength.md)
- [Pbkdf2](https://docs.wem.io/platform/wemreference/functions/security/pbkdf2.md)
- [Sha1](https://docs.wem.io/platform/wemreference/functions/security/sha1.md)
- [Sha256](https://docs.wem.io/platform/wemreference/functions/security/sha256.md)
- [Sha512](https://docs.wem.io/platform/wemreference/functions/security/sha512.md)
- [Totp](https://docs.wem.io/platform/wemreference/functions/security/totp.md)
- [Text](https://docs.wem.io/platform/wemreference/functions/text.md)
- [AsText](https://docs.wem.io/platform/wemreference/functions/text/astext.md)
- [Base32ToText](https://docs.wem.io/platform/wemreference/functions/text/base32totext.md)
- [Base64ToText](https://docs.wem.io/platform/wemreference/functions/text/base64totext.md)
- [CompareFuzzy](https://docs.wem.io/platform/wemreference/functions/text/comparefuzzy.md)
- [Concat](https://docs.wem.io/platform/wemreference/functions/text/concat.md)
- [Contains](https://docs.wem.io/platform/wemreference/functions/text/contains.md)
- [FormatDate](https://docs.wem.io/platform/wemreference/functions/text/formatdate.md)
- [FormatDuration](https://docs.wem.io/platform/wemreference/functions/text/formatduration.md)
- [FormatNumber](https://docs.wem.io/platform/wemreference/functions/text/formatnumber.md)
- [Guid](https://docs.wem.io/platform/wemreference/functions/text/guid.md)
- [HexToText](https://docs.wem.io/platform/wemreference/functions/text/hextotext.md)
- [HtmlAttributeEncode](https://docs.wem.io/platform/wemreference/functions/text/htmlattributeencode.md)
- [HtmlEncode](https://docs.wem.io/platform/wemreference/functions/text/htmlencode.md)
- [IndexOf](https://docs.wem.io/platform/wemreference/functions/text/indexof.md)
- [JavascriptEncode](https://docs.wem.io/platform/wemreference/functions/text/javascriptencode.md)
- [JsonEncode](https://docs.wem.io/platform/wemreference/functions/text/jsonencode.md)
- [Length](https://docs.wem.io/platform/wemreference/functions/text/length.md)
- [Padl](https://docs.wem.io/platform/wemreference/functions/text/padl.md)
- [Padr](https://docs.wem.io/platform/wemreference/functions/text/padr.md)
- [RegExIsMatch](https://docs.wem.io/platform/wemreference/functions/text/regexismatch.md)
- [RegExMatches](https://docs.wem.io/platform/wemreference/functions/text/regexmatches.md)
- [RegExReplace](https://docs.wem.io/platform/wemreference/functions/text/regexreplace.md)
- [Replace](https://docs.wem.io/platform/wemreference/functions/text/replace.md)
- [Split](https://docs.wem.io/platform/wemreference/functions/text/split.md)
- [StringPart](https://docs.wem.io/platform/wemreference/functions/text/stringpart.md)
- [SubString](https://docs.wem.io/platform/wemreference/functions/text/substring.md)
- [ToBase32](https://docs.wem.io/platform/wemreference/functions/text/tobase32.md)
- [ToBase64](https://docs.wem.io/platform/wemreference/functions/text/tobase64.md)
- [ToBase64Url](https://docs.wem.io/platform/wemreference/functions/text/tobase64url.md)
- [ToHex](https://docs.wem.io/platform/wemreference/functions/text/tohex.md)
- [ToLower](https://docs.wem.io/platform/wemreference/functions/text/tolower.md)
- [ToRichText](https://docs.wem.io/platform/wemreference/functions/text/torichtext.md)
- [ToString](https://docs.wem.io/platform/wemreference/functions/text/tostring.md)
- [ToTitleCase](https://docs.wem.io/platform/wemreference/functions/text/totitlecase.md)
- [ToUpper](https://docs.wem.io/platform/wemreference/functions/text/toupper.md)
- [Trim](https://docs.wem.io/platform/wemreference/functions/text/trim.md)
- [UrlDecode](https://docs.wem.io/platform/wemreference/functions/text/urldecode.md)
- [UrlEncode](https://docs.wem.io/platform/wemreference/functions/text/urlencode.md)
- [XmlAttributeEncode](https://docs.wem.io/platform/wemreference/functions/text/xmlattributeencode.md)
- [XmlEncode](https://docs.wem.io/platform/wemreference/functions/text/xmlencode.md)
- [XPath](https://docs.wem.io/platform/wemreference/functions/text/xpath.md)
- [XPathList](https://docs.wem.io/platform/wemreference/functions/text/xpathlist.md)
- [XPathNumber](https://docs.wem.io/platform/wemreference/functions/text/xpathnumber.md)
- [Validation](https://docs.wem.io/platform/wemreference/functions/validation.md)
- [HasValue](https://docs.wem.io/platform/wemreference/functions/validation/hasvalue.md)
- [IsEmpty](https://docs.wem.io/platform/wemreference/functions/validation/isempty.md)
- [IsKnown](https://docs.wem.io/platform/wemreference/functions/validation/isknown.md)
- [IsUnknown](https://docs.wem.io/platform/wemreference/functions/validation/isunknown.md)
- [IsValidBankaccount](https://docs.wem.io/platform/wemreference/functions/validation/isvalidbankaccount.md)
- [IsValidBSN](https://docs.wem.io/platform/wemreference/functions/validation/isvalidbsn.md)
- [IsValidBTW](https://docs.wem.io/platform/wemreference/functions/validation/isvalidbtw.md)
- [IsValidEmailAddress](https://docs.wem.io/platform/wemreference/functions/validation/isvalidemailaddress.md)
- [IsValidIBAN](https://docs.wem.io/platform/wemreference/functions/validation/isvalidiban.md)
- [IsValidPhonenumber](https://docs.wem.io/platform/wemreference/functions/validation/isvalidphonenumber.md)
- [IsValidURL](https://docs.wem.io/platform/wemreference/functions/validation/isvalidurl.md)
- [Localization](https://docs.wem.io/platform/wemreference/functions/localization.md)
- [AvailableLanguages](https://docs.wem.io/platform/wemreference/functions/localization/availablelanguages.md)
- [CurrentLanguage](https://docs.wem.io/platform/wemreference/functions/localization/currentlanguage.md)
- [CurrentTimezone](https://docs.wem.io/platform/wemreference/functions/localization/currenttimezone.md)
- [LanguageStrategy](https://docs.wem.io/platform/wemreference/functions/localization/languagestrategy.md)
- [Languages in WEM](https://docs.wem.io/platform/wemreference/functions/localization/languages-in-wem.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wem.io/platform/wemreference/functions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
