Conversational Platform

Expression Engine

LoyJoy provides a powerful expression engine to evaluate expressions.

Using Expressions

LoyJoy offers a powerful expression language that enables you to evaluate expressions within your experiences. This expression language is a subset of Jakarta Expression Language, simplified for security concerns, and allows you to programmatically access and combine process variables and functions.

Expressions can be utilized in various ways, including conditions, variable value assignments, and interpolated texts such as chat message bubbles and email templates. You can create simple expressions such as gender == "male" ? "Dear Mr." : "Dear Ms." or complex expressions such as stringContains(getParam("haystack"), "needle").

Benefits of LoyJoy Expression Language

With LoyJoy’s expression language, you can create dynamic and personalized experiences for your customers. By accessing process variables and functions programmatically, you can tailor the conversation flow based on customer input and behavior. This enables numerous use cases, such as:

  • Personalizing greetings and messages based on customer data
  • Customizing offers and recommendations based on customer preferences
  • Adapting the conversation flow based on customer responses
  • Evaluating conditions to determine the next steps in the conversation
  • Performing calculations and data manipulations on the fly
  • Validating user input and ensuring data integrity

Ready to give LoyJoy a Try?

Request Your Free Personalized Demo Now!