How to populate chat fields from your website or an integration

Your website or a connected service can supply useful details with a chat, helping your team understand the enquiry without asking the visitor to repeat information.

First create the field using how to set up a chat field. The website or integration must then be configured to send the value using the registered field name or merge tag. Creating the field alone does not make that connection. Ask your website developer or integration provider to configure and test how the value is sent.

Example

A field named Customer number could receive C-1042 from a connected customer account system when a visitor starts a chat. Live Chat saves C-1042 in that chat’s Customer number field, where your team can see it in chat details. Each visitor’s chat can receive its own customer number.

The connected system supplies the value in this example. For entering information yourself, follow how to update a chat field in Messenger.

Sharing saved values

When Live Chat webhooks are enabled, saved values are included in the metafields object. Field changes trigger a conversationupdated webhook. Use short, plain-text values that your team and connected systems can recognise.

Keeping the connection working

Check that the field name or tag matches what the connected system sends. Renaming a field does not rename values already saved under its previous name. Review the integration after changing either identifier. See chat field names, descriptions and merge tags and how to change or remove a chat field.

For sending Live Chat activity to another system, see how to connect Live Chat to another system using webhooks.