What is the best way to make a filter check if an input is numerical?

I’m creating a scenario where I need make.com to check if an inbound text contains exclusively a numeric input, if not ask the user to send another message using digits only . What is the best way to create a filter that does this?