Skip to main content
These are functions that donโ€™t belong to any specific group. They let you evaluate conditions, mark conversation goals as complete, and extract data from user input using regex.

evaluateRule

Syntax evaluateRule(rule) Evaluates a condition based on a rule configuration that follows the left, operator, right pattern. This function works similarly to the If Node.

completeGoal

Syntax completeGoal(goal) Marks a goal as completed for the conversation.

setRegexSlot

Syntax setRegexSlot(params) Extracts Slots from user inputs using a regular expression and writes them to input.slots. This function is used by the Regex Slot Filler Node.