Feedback Actions
Update From Webchat Feedback Action
A feedback action called by the webchat system when a Webchat message is received.
Overview
When a Webchat message is received by the Stubber Platform the stubsession is derived to intelligently route the message to the correct stub.
Then the _update_from_webchat feedback action is triggered on the stub.
The _update_from_webchat feedback action is used to then further automate anything in the stub that needs to be done when a webchat message is received.
The message body of the Webchat message will be set to the message of the stubpost. i.e. stubpost.message.
All the details of the Webchat message will be available in the stubpost.data._incoming_webchat_data data path.
Data Structure
Feedback Action Data
Example data that is passed to the _update_from_webchat feedback action:
JSONSchema
The JSONSchema of the stubpost.data._incoming_webchat_data is: