Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Is Value a Number or Letter

Is there a Flow action that will determine if a value is a number or letter? 


I'm wanting to extract the first value of a string, then perform a certain action if it's a number or letter.
If value = number, then send email to Orange
If value = letter, then send email to Red

Dual Super User II
Dual Super User II

Hi @ques0buffet 


To get the first character from string use expression

substring(your value,0,1)


now to check if it is number or not

if you run expression 

int(substring output)


This will succeed if it is an integer else it will throw an error.

You can use configure run after action to check if error.

In case of error - the  first character is a string

In case of success - the first character is a number


How to perform error handling -


If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Reza Dorrani, MVP

Helpful resources

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (81,263)