Pass your user metadata to Chatbot or Inbox

This object allows you to pass additional information about your customer, which can be used to personalize your automation scenarios. You can use our defaults like firstName, lastName etc. or pass your custom parameters using extraParams field.

Property name

Type

Required

Description

firstName

String

No

First name of a customer.

lastName

String

No

Last name of a customer.

locale

String

No

A locale of a customer used to pickup conversation language.

timezone

String

No

A timezone of a customer.

phoneNumber

String

No

Phone number of a customer.

email

String

No

E-mail address of a customer.

extraParams

Map[String, String]

No

Object with additional params you can use to personalize automation scenarios.

Pass your user metadata to Chatbot or Inbox

Zowie Chat supports passing extra data into the chat session using metadata. The metadata can be passed in the Chatbotize.init() method:

or by invoking the Chatbotize.updateMetadata(metadata) method in order to update / change previously set data:

The Metadata object has the following JSON structure:

The extraParams object allows passing key-value pairs other than the default ones. All values passed to the Zowie Chat widget should be of the string type. The conversion to the appropriate type is done by the widget’s backend.