Validation includes:
1. Check if mobile number is valid number by checking the digits (e.g., 10 digits for India mobile number)
2. Get the country code based on mobile number entered.
3. Number type, whether a number is mobile number, fixed-line or toll-free.
2 answers
I agree with @Amey Priolkar that this can all be achieved with OOTB functionality.
- Write validation rules with REGEX to enforce the formatting of the entered phone number on creating/editing of a record.
- Record triggered flows can also be used to trim and append the mobile and landlines with e.g +91 = India +61 = Australia
If you have the specific countries I can help with the REGEX like that below.
AND(
NOT(ISBLANK(Phone)),
NOT(REGEX(Phone,"[+91]{3}[1-9]{1}[0-9]{9}"))
)