Skip to content

Latest commit

 

History

History

rule-engine

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

rule-engine

Overview

Evaluates the incoming Product Event Payload against the configured rules to find a match and executes the configured actions.

The Rule Object

{
  "name": "Sample Rule",
  "triggers": [
    {
      "actor": {
        "type": "SYSTEM",
        "cause": "FREDDY_BOT",
      },
      "action": {
        "type": "CONVERSATION_STATUS",
        "change": {
          "from": "NEW",
          "to": "ASSIGNED",
        },
      },
    }
  ],
}