@freshworks-jaya/rule-engine
TypeScript icon, indicating that this package has built-in type declarations

0.17.27-beta-15 • Public • Published

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",
        },
      },
    }
  ],
}

Readme

Keywords

none

Package Sidebar

Install

npm i @freshworks-jaya/rule-engine

Weekly Downloads

6

Version

0.17.27-beta-15

License

ISC

Unpacked Size

248 kB

Total Files

208

Last publish

Collaborators

  • srivatsan07
  • prabhu_kathiresan
  • shashaankkrishnatray
  • bhavani.freshworks
  • vinu_1936
  • abiswasfreshworks
  • abisht1991