Sometimes it can be useful to send data to provide your chatbot with initial context from the page it’s hosted on.

For example, this might include sending the timezone or locale the user is from. Alternatively, you might send a collection of unique identifiers to help you quickly route a conversation to a specific dialog.

In this guide, we show you how to send data and contextual information when the chatbot first initiates on the host page. Any information you initially send can then be used in the conversation.

Prerequisites

Before implementing this feature, you should be:


Main Components and Logic

Implementing Initial Data at Launch involves the following components: