Process ECE Events

Authorization

Refer to the Node Authorization section for more information.

Methods and Outcomes

Process ECE Event

1256
Input VariablesOutput VariablesNode Outcomes
JSON REQUEST
* Event payload received on the callback webhook URL from ECE with the tenant identifier details. See below for a sample.
code
Contains the API response code.

message
Response message from the API.

response
* Contains the complete response payload received from the API.
onInvalidData

Request processing failed due to missing data.

onError

Request processing failed due to an error.

onInvalidChoice

Request processing failed but there is no outcome configured for the concerned scenario.

onTimeout
Response message from the API.

onProcessECEEventSuccess
Request processed successfully.

onProcessECEEventFailure
Event processing request failed

Sample JSON Request

"{\"message\":

[
{\"conversation\":{\"id\":\"ca2c588e-1e31-405a-9888-e72bf7179186\"},
 \"type\":{\"value\":\"complete\"},
\"content\":\"IMIUser2 has ended the chat\",
\"sender\":{\"type\":\"system\"},
\"timeStamp\":1624144754000,
\"id\":\"3118908847\"}
]
}",
"{\"message\":

[
{\"conversation\":{\"id\":\"ca2c588e-1e31-405a-9888-e72bf7179186\"},
\"client\":\"tenantidentifier\"},
 \"type\":{\"value\":\"complete\"},
\"content\":\"IMIUser2 has ended the chat\",
\"sender\":{\"type\":\"system\"},
\"timeStamp\":1624144754000,
\"id\":\"3118908847\"}
]
}",