Black Friday! Use coupon code MONSTER at checkout for a discount!

Ask for name and email before the chat starts

On this page

Yes, the chatbot can ask for the name and email before the chat starts. A short form opens inside the chat window, and the chat begins when the visitor clicks Start chat. It is off by default, because every question before the first answer stops some visitors from chatting.

Open WPBot Pro → ChatBot → Leads & visitor details and set When to ask to Before the chat starts (a short form), or pick the preset Leads first ("A short form before the chat starts."). Click Save.

Leads & visitor details, When to ask: the short form settings and the Preview panel showing the form

The short form's settings under Before the chat starts, with the form in the Preview panel.

What the visitor sees

  1. The visitor opens the chat. The form covers the chat window, with your title (by default Before we start) and one line of text (by default "Tell us who you are, so we can follow up if we get cut off.").
  2. The fields: Your name (optional) or Your name (when the name is required), then Your email, then, when consent is on, the consent checkbox with a link to your privacy policy.
  3. The Start chat button, and under it, when you set a contact page, "Prefer not to share? Contact us" with a link to that page.
  4. A problem with the address shows a short note under the fields, such as "That does not look like an email address." or "Did you mean [email protected]?". The chat stays closed until the address passes.
  5. After Start chat, the form goes away, a small line shows who is chatting, such as "Chatting as Ann · [email protected]", and the chat starts. The chat now knows the visitor's name and email, so the greeting doesn't ask for them again.
The chat window with the short form: title, text, name, email, consent checkbox, Start chat and Prefer not to share? Contact us

The short form in the chat window, before the chat starts.

The chat window after Start chat, with the line Chatting as Ann · ann@shop.com

After Start chat, the chat shows who the visitor is chatting as.

While you set up the form, the Preview beside the settings (on screens 1280 pixels wide or more) shows it with your title, text, name field, consent checkbox and contact link.

The settings

The form settings show under When to ask → Before the chat starts (a short form):

SettingWhat it does
Form titleThe heading. Empty: Before we start.
Form textThe line under it. Empty: "Tell us who you are, so we can follow up if we get cut off."
Link under the form: "Prefer not to share? Contact us" (your contact page; empty = no link)The address of your contact page, for visitors who don't want to leave their email. Empty: no link.
To start the chat, the visitor needsHow strict the email check is (below).
Only on these pages (IDs, comma separated; empty = every page)Page IDs where the form shows (WPBot Pro). On other pages the chat starts without it, and the bot asks only when the visitor asks.

Other parts of the screen also shape the form:

  • What to ask → Name: Optional (the Leads first preset makes it Required), Required, or Don't ask (email only).
  • Consent and checks → Show a consent checkbox: the consent checkbox on the form, with your Consent text.
  • Logged-in users skip the form, as the note under the setting says: the chat already knows their name and email.

To start the chat, the visitor needs

ChoiceWhat passes
Any emailThe address is checked for its format, typos, fakes and a domain that can receive email. A temporary address passes, and is saved as Risky (AI Marketing does not email it).
A valid email (no made-up or temporary addresses)The same checks, and a temporary address is refused. The default.
An email verified with a codeAfter Start chat, the form asks for the 6-digit code sent to the address ("We sent a 6-digit code to … Type it here."), with Verify. Resend code works after 30 seconds, and Use a different email goes back.

The form never accepts a made-up address, and it never asks Use it anyway: with Any email a temporary address goes through as Risky, and with the stricter choices it is refused ("That looks like a temporary address…").

The chat stays closed until the address passes. The code is valid for 10 minutes and allows 5 tries; a visitor can ask for 5 codes an hour. Once proved, the address is remembered in that browser for 30 days, so the visitor doesn't need a new code. How each check works is in Verify visitors' email addresses.

Warning

Fewer chats, more leads. "Each stricter level means fewer chats." A form before the first message stops some visitors from chatting, and the stricter the check, the fewer chats you get. Use it on pages where a lead matters more than a quick answer, such as a quote or booking page. On other pages, After the bot has helped collects emails without losing chats.

Where the leads go

Each address goes to AI Marketing's ChatBot Subscribers list with the source Chat form (chat_form). The name and email are also saved in User Data. The visitor becomes a newsletter subscriber only if they tick the consent box; otherwise they are kept as a lead. See Leads and visitor details: when the chatbot asks for an email.

Good to know

  • Works with page caching. The form runs in the visitor's browser, so cached pages keep working.
  • Once per visit. A visitor who filled in the form doesn't see it again in the same visit, and a known email never sees it at all.
  • Verify with a 6-digit code: For every address also asks for a code on the form, whatever To start the chat, the visitor needs says.
  • One ask only. With the form on, the bot doesn't ask for the email again later in the chat, and the greeting skips the questions it already has answers for.
  • Test it as a visitor. Open your site in a private window, or type reset in the chat.

Availability

In every edition, including WPBot Free, with the contact link, the preview and the "Chatting as" line. In WPBot Free the form shows on all pages; Only on these pages needs a WPBot Pro edition (Starter, Professional or Master).

What WordPress users say.

Customer support is very responsive and professional. The script is awesome and with many features, including A.I. from Dialogflow. High quality.
Newpolaris
CEO, Invision Inc.
I am extremely happy to use WPBOT on my website. Very quick, simple to use, it has the right features and the support is extremely friendly and quick.
Expressionsindia
Store Manager, Walmart Inc
Great plugin. Works very well with DialogueFlow and builds natural conversations. The free plugin it is very good. I adjusted the layout with custom css, which i really liked. And they have a free support service where they reply quickly. Definitly recommend.
Mariedgdg
Store Manager, Walmart Inc

Got more questions?

Contact our ChatBot Support Heroes. They’ll provide you with all the information you need.

Contact us

© 2002- 2026 QuantumCloud

X
Let's chat if you need any help finding the right product or need support.
FAQSend Us Email