{
"botId": "<string>",
"conversationId": "<string>",
"createdOn": "<Date>",
"direction": "<EventDirection>",
"id": "<string>",
"integration": "<string>",
"kb": {
"included": [],
"results": []
},
"messageId": "<string>",
"payload": {},
"preview": "<string>",
"state": {},
"tags": {
"conversation": {},
"message": {},
"user": {}
},
"trigger": {
"conversationId": "<string>",
"eventName": "<string>",
"flowId": "<string>",
"integration": "<string>",
"nodeId": "<string>",
"userId": "<string>"
},
"type": "<string>",
"userId": "<string>"
}
{
"botId": "<string>",
"conversationId": "<string>",
"createdOn": "<Date>",
"direction": "<EventDirection>",
"id": "<string>",
"integration": "<string>",
"kb": {
"included": [],
"results": []
},
"messageId": "<string>",
"payload": {},
"preview": "<string>",
"state": {},
"tags": {
"conversation": {},
"message": {},
"user": {}
},
"trigger": {
"conversationId": "<string>",
"eventName": "<string>",
"flowId": "<string>",
"integration": "<string>",
"nodeId": "<string>",
"userId": "<string>"
},
"type": "<string>",
"userId": "<string>"
}
{
"botId": "<string>",
"conversationId": "<string>",
"createdOn": "<Date>",
"direction": "<EventDirection>",
"id": "<string>",
"integration": "<string>",
"kb": {
"included": [],
"results": []
},
"messageId": "<string>",
"payload": {},
"preview": "<string>",
"state": {},
"tags": {
"conversation": {},
"message": {},
"user": {}
},
"trigger": {
"conversationId": "<string>",
"eventName": "<string>",
"flowId": "<string>",
"integration": "<string>",
"nodeId": "<string>",
"userId": "<string>"
},
"type": "<string>",
"userId": "<string>"
}
event
object’s properties.
The event
object is available wherever you can use code in Botpress Studio. This includes:
You can also access the event
object within certain Cards’ configuration fields.
event
object which exist to maintain internal functionality and aren’t useful for .Show child attributes
'incoming'
: The event originated from the user and was received by the bot.'outgoing'
: The event was generated by the bot and sent to the user.Show child attributes
Show child attributes
Was this page helpful?