Skip to main content

Notifications

Topic Creation & Management
Answered

Additional entity validation

Posted on by 32

Hi community,

 

I want to configure additional validation behaviour beyond the default for the entity type. When user input an email address, I want to ensure that the email domain is from "@gmail.com". 

 

For example:

Bot Question: "Please enter an email address"
User Input: "hello@hotmail.com"

Bot will reply a message: "Please enter a valid gmail email address"

User Input:" hello@gmail.com"

 

Bot goes to next step. 

 

I've tried using the "IN" operator but it doesn't work. 

  • augustian90 Profile Picture
    augustian90 32 on at
    Re: Additional entity validation

    Hi @peterswimm , it works! thank you!

  • Verified answer
    peterswimm Profile Picture
    peterswimm on at
    Re: Additional entity validation

    Perhaps try a regex entity? You can then go into the question properties and reprompt for valid emails that do not resolve to gmail domain.

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,995

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard

Featured topics