Skip to main content
FieldTypeDescription
type"text" | "form" | "button_reply" | "location"The type of the message sent by the customer that triggered the chatbot
contentstring (optional)Text of the message, present if type is "text"
locationGeopointLocation sent by the customer as a geopoint. Present if type is "location"
buttonReplyButton ReplyButton reply data. Present if type is "button_reply"
flowDataFlow DataData of the form confirmed by the customer. Present if type is "form"

Geopoint

FieldType
latitudenumber
longitudenumber

Button Reply

FieldTypeDescription
idstringId of the button the customer clicked on
titlestringText shown on the button the customer clicked on

Flow Data

FieldTypeDescription
deliveryType"collection" | "delivery"Delivery type chosen by the customer
productsArray of Product ObjectsProducts and options chosen by the customer
customerFirstNamestring (optional)First name of the customer. Present if the name page is enabled in the flow settings
customerLastNamestring (optional)Last name of the customer. Present if the name page is enabled in the flow settings
streetstring (optional)Street of the address of the customer. Present if the address page is enabled in the flow settings
postalCodestring (optional)Postal code of the address of the customer. Present if the address page is enabled in the flow settings
citystring (optional)City of the address of the customer. Present if the address page is enabled in the flow settings
requestedTimestring (optional)Requested time. Can be "ASAP" or the time in ISO format. Present if the time page is enabled in the flow settings

Product Object Structure

{
  internalId: string;
  name: string;
  options: {
    internalId: string;
    name: string;
  }
  [];
}