Docs/Set up

Pre-chat fields

Ask visitors for their name, email or other details before the chat starts.

Pre-chat fields are short questions visitors answer before the conversation starts, such as their name, email address or phone number. They’re the most reliable way to turn a chat into a lead you can follow up. You can add up to five, or none at all.

In the dashboardChatbots›Your chatbot›Set up›Pre-chat fields

Add fields#

  1. Click + Add field

    A new row appears. The button is disabled once you have five fields.

  2. Enter a label

    The Label is the question visitors see, for example Your name or Email address.

  3. Choose a type

    Pick text, email or number. For text fields you can also set Max chars.

  4. Decide whether it's required

    Tick req to make the field required. New fields are required by default. Click × to remove a field.

  5. Click Save changes

    The fields appear in the Live preview and, once saved, on your website.

Field types and limits#

TypeUse it forMaximum length
textNames, company, or a short questionSet with Max chars: 200 by default, up to 1,000
emailThe visitor's email address255 characters
numberNumbers such as party size or quantity20 characters
Fields per chatbot
Up to 5
New fields
Required by default
With no fields
Visitors go straight to chat
Each answer
Creates a lead notification

Always use the email type for email#

Liyobot treats the answer to an email-type field as the visitor’s email address. That one field powers several features:

  • Leads: a conversation counts as a lead when the visitor gives an email. See Leads and conversations.
  • Transcript emails: visitors can email themselves a copy of the chat. See End of chat.
  • Form confirmations: the bot can send visitors a confirmation after they submit a form. See Forms and bookings.
Don't collect email in a text field
If you ask for an email address using a text field, Liyobot won’t recognise it as the visitor’s email, and the features above won’t work for that answer. Set the type to email.

What visitors see#

When a visitor opens the chat, they see “Please share a few details before we start:” followed by your fields and a Start chat button. Required fields must be filled in before they can continue. If you have no fields, the page shows “None — visitors go straight to chat.” and visitors start chatting right away.

How pre-chat answers become leads#

Any pre-chat answer creates a New lead on your chatbot notification in the dashboard and, if lead alerts are on in Basics, an email. Every pre-chat field also gets its own column when you export leads to Excel.

Ask for less, get more
Each extra question gives visitors a reason to leave. Many businesses ask only for a name and email. If you skip pre-chat fields entirely, Liyobot still picks up an email address or phone number when a visitor types one during the chat.

Still stuck? Email [email protected] and a person will help.