Skip to main content

Email validation in charles

Updated over a week ago

This guide will walk you through all steps necessary to build a simple but ironclad email validation logic inside of a Charles flow - powered by the Charles condition node.

Why Create an Email Validation?

By creating an email validation, you can ask your customers to re-enter their email after a failed entry or mark an invalid email address as such.

How to Create an Email Validation:

  1. Locate your Email Collection Node inside of a Charles flow.

  2. Create and connect a condition node to the Email Collection Node.


  3. Define the first condition as follows:

    • Flow variables > Contact's Email > contains > "."

    • AND

    • Flow variables > Contact's Email > contains > "@"


  4. Create and connect a second condition node right after the first one.


  5. Define the second condition as follows:

    • Flow variables > Contact's Email > contains > (mail provider)

    • Repeat this step with any accepted mail provider

    • Select "ANY of the following rules are met"


  6. Connect both the valid & invalid collected emails to a response or "Manage Tags" node - depending on the goal of your email verification.

    1. Thank the User

    2. Ask the User to re-enter a valid email

    3. Mar the email as invalid

    4. etc.


Thank you for using Charles! With this email validation in place, you'll ensure cleaner data collection and a smoother experience for your customers.

Did this answer your question?