evalTemplate

Extension function that replaces values of placeholders in the message field with values of items whose keys match them.

For example, an event with message "User ID {userId} signed in" and items that include "userId" to "uid_nO59TmsQfqHxqbFL", evalTemplate returns the string "User ID uid_nO59TmsQfqHxqbFL signed in".