Email entity

Daria Zaboj product content specialist
Daria Zabój
3 min read
updated: May 27, 2022

Collect customer emails and pass them to your database.

The system email entity lets you validate the email address provided by the user on chat.

How does it work?

The email entity must contain @ and end with .xyz (e.g., abc@def.xyz). When the user enters their email, the chatbot compares it with the email entity and checks whether it has the correct format. 

  • If the format of an email entered by the user is correct, the chatbot can save it as an attribute. 

  • If the format of an email is wrong, the chatbot can ask the user to correct it.

Thanks to the email entity, your chatbot can confirm data, send delivery tracking codes, or enable the user to set up their account. Once collected, you can pass the gathered data to external services and use it to stay in touch with your audience.

How to use email entityLink icon

Imagine you use a chatbot to collect leads. You can use the email entity to capture customer emails.

Type double curly brackets {{ to open the entity window and select your entity.
Type double curly brackets {{ to open the entity window and select your entity.
  1. Open a Story you will use to collect email addresses from your users.

  2. Select a Question block from the Actions and Interactions menu and add it to your Story in a place where you want to ask the user about their email.

  3. Open the Question action. In the Questions variants field, ask the user for their email. You can provide more question alternatives if needed.

  4. Now, verify the user response. In the Validate response with entity field, select a system Email entity.

  5. Once the user reply is validated, the chatbot can save the provided data into an attribute. To do so, select the Email attribute in the Save response to attribute field. 

  6. Now, you need to decide what should happen if the user provides the wrong format of an email.

  7. You can also use a collected email address later in the conversation, for instance, to ensure data accuracy. To do so, add a Bot response after the Success block. 

  8. Open the Bot response and ask the user to confirm their email address. 

  9. Select the curly brackets icon and add the Email attribute from the list. This way, the chatbot will display the user’s email address in a conversation.

  10. You can now add the User input block after the Bot response to let the user confirm their email. Then, continue your Story the way you want. 

  11.  Finally, open the Testing tool and check whether your chatbot works as intended. 

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our other products