Other Functions - Cognigy Documentation
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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.
Last modified on April 21, 2026.