If you’re using HubSpot to store WhatsApp numbers for Flowella workflows, consistent formatting is essential. Numbers in the wrong format cause failed sends, and the “why is this number missing a digit” mystery is almost always a formatting issue. This page explains the correct format, how to verify it in HubSpot, how to import cleanly, and how to fix a spreadsheet full of messy numbers before import.Documentation Index
Fetch the complete documentation index at: https://knowledge.flowella.io/llms.txt
Use this file to discover all available pages before exploring further.
Use E.164 format
Store all WhatsApp phone numbers in E.164 format:- A plus sign
+ - Country code (no leading zero)
- Full national number (without the leading trunk
0)
- UK landline:
+442079460958 - UK mobile:
+447700900123
Verify a number is valid in HubSpot
When you click into a phone field on a contact record (for example, Mobile phone number), HubSpot shows a status under the input. You want it to show Validated. If it does not show Validated:- Check the number starts with
+and the correct country code - Check there is no leading
0after the country code (for example,+4407…is wrong — it should be+447…) - Use HubSpot’s Remove number formatting option if you pasted a messy value, then re-save
CSV and Excel import tips
Excel will “help” by removing the+ sign or converting long numbers into scientific notation. Prevent this before you import:
- Format the phone column as Text (Home → Number format → Text), then paste values
- Or prefix values with an apostrophe in Excel:
'+447700900123— the apostrophe forces text handling and won’t appear in the imported data - In CSV files, wrap values in quotes:
"+447700900123"
Excel formula: clean phone numbers to E.164
If you have a spreadsheet full of phone numbers in various formats, the formula below will clean them into E.164 format, ready for HubSpot import. It handles all common input formats, including:- Local numbers with a leading
0(e.g.07700 900123) - Numbers with
+and country code (e.g.+44 7700 900123) - International dialling prefix
00(e.g.0044 7700 900123) - The
+44(0)7...format - Hyphens, dots, brackets, and other punctuation
- Numbers that already have the country code but no
+(e.g.447700900123)
This formula requires Excel 365 or Google Sheets. It uses
LET, TEXTJOIN, and SEQUENCE, which are not available in older Excel versions.How to use the formula
- Copy the formula below
- Paste it into any cell in your spreadsheet
- Change
A2to point to your first phone number cell - Change
"44"to your country code (see the reference table below) - Change
10to the expected mobile number length for your country - Press Enter, then drag down to apply to all rows
The formula
What the three config variables mean
| Variable | What to change |
|---|---|
cell | The cell containing the raw phone number — change to match your column (e.g. G2) |
country_code | The default country code for domestic numbers (e.g. "44" for UK, "1" for US) |
nsn_len | The expected length of the national subscriber number for mobile numbers in your country (e.g. 10 for UK and US) |
How the formula works
The formula takes four different paths depending on what it finds in the input:- Has
+in the original — already international; strip to digits and prepend+ - Starts with
00— international dialling prefix; strip the00and prepend+ - Starts with the country code AND digit count matches — bare international (e.g.
447700900123); prepend+ - Everything else — domestic number; strip leading
0and prepend+plus the country code
(0) from the raw input, so +44(0)7700 900123 is handled cleanly.
Invalid number output
Numbers that don’t pass validation return a clear message so you can filter and fix them:| Output | Meaning |
|---|---|
REVIEW (not a number): hello world | No digits found at all |
REVIEW (number too short): 07700 | Not enough digits for a valid number |
REVIEW (number too long): 077009001234 | Too many digits, possibly a double prefix |
+ or 00). Numbers that already have an international prefix are passed through as-is, since the formula cannot know the NSN length for every country.
Country code reference
| Country | Country Code | NSN Length (mobile) | Notes |
|---|---|---|---|
| United Kingdom | 44 | 10 | |
| United States / Canada | 1 | 10 | All NANP countries share cc=1 |
| France | 33 | 9 | |
| Germany | 49 | 11 | Mobile only; landlines vary |
| Spain | 34 | 9 | |
| Italy | 39 | 10 | Mobiles keep leading 3 |
| Portugal | 351 | 9 | |
| Netherlands | 31 | 9 | |
| Ireland | 353 | 9 | |
| Greece | 30 | 10 | |
| Poland | 48 | 9 | |
| Switzerland | 41 | 9 | |
| Turkey | 90 | 10 | |
| India | 91 | 10 | |
| Australia | 61 | 9 | |
| Japan | 81 | 10 | |
| China | 86 | 11 | |
| UAE | 971 | 9 | |
| Saudi Arabia | 966 | 9 | |
| South Africa | 27 | 9 | |
| Brazil | 55 | 11 | Mobile with 9th digit |
| Singapore | 65 | 8 | |
| Hong Kong | 852 | 8 |

