Decision Matrix Actions
Invoke a decision matrix in a flow with the Decision Matrix Actions. A decision matrix is a user-defined table where you can look up an output based on the inputs you provide.
For example, you can look up a candidate’s eligibility to avail medical insurance in a decision matrix based on the candidate’s age and gender.
These actions are available in API version 55.0 and later.
URI: /services/data/vXX.X/actions/custom/runDecisionMatrix/{UniqueName}
Where XX.X is the latest API version.
The value of UniqueName is the unique identifier of the record, which is sourced from the name of a decision matrix.
Formats: JSON
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
Vary depending on the selected decision matrix.
Vary depending on the inputs of the selected decision matrix.
- Sample Request
Here’s an example POST request that has the inputs, such as, age and state:
- Sample Response
Here’s an example response that has the premium and tax values based on the inputs provided in the example request.