Events
You can listen for emitted events by subscribing to them using the on method with your custom callback. For example, your function can be executed every time a new message is received
Last updated
You can listen for emitted events by subscribing to them using the on method with your custom callback. For example, your function can be executed every time a new message is received
Last updated
initialized
AI form has been initialised and is ready to be used
error
Unexpected error has occurred
message.inbound
New message is received. Messages are send partially and need to be reconstructed
message.outbound
Message is send by the user
session.completed
User has filled in all necessary fields. Form session has been marked as completed
typing.started
Is typing is triggered by the agent
typing.stopped
Is typing stopped