Skip to content

NF Process Phone

NF Process Phone wraps the same core logic as NF.parse, NF.isValid, and formatting helpers for one scalar phone string per Flow interview.

  1. On the canvas, click Add element (or the + on a connector).
  2. Choose Action. Flow Builder opens the New Action window.
  3. Set Filter By to Type, then select Apex Action.
  4. Search for NF Process Phone, select it, and click Done.
New Action modal with Apex Action filter and NF Process Phone search result
InputRequiredDescription
Phone ValueYesRaw phone string to process
Default RegionNoISO region code used when the number has no + country code; blank uses NF.orgDefaultRegion
Output FormatNoE164, INTERNATIONAL, NATIONAL, RFC3966; blank uses org default save format
Include CarrierNoReturn carrier when valid
Include GeocodingNoReturn geocoding description
Include Time ZoneNoReturn first time zone
Carrier ModeNoSafeOnly (default) or OriginalCarrier
NF Process Phone action inputs with phone value, region, format, enrichment toggles, and carrier mode
OutputDescription
SuccessAction completed without execution error
StatusVALID, INVALID, NEEDS_REGION, or EMPTY
MessageHuman-readable explanation
Recognized / Valid / PossibleParse and validation flags
Formatted ValueValue in requested output format
E164, International, National, RFC3966All format variants when recognized
Region Code, Country Calling Code, Number TypeParsed metadata
Carrier Name, Geocoding Description, Time ZoneWhen enrichment inputs enabled
Error MessageParse or execution errors

Example return values for (415) 555-0101 with Default Region US, Output Format E164, and enrichment inputs enabled:

Screen flow showing NF Process Phone output values for a valid US number

NF Process Phone validates and formats the phone value only — it does not update Salesforce records. Add your own Update Records (or another element) when you want to persist the formatted value.

Typical pattern on record-triggered flows:

  1. Run NF Process Phone on the phone field.
  2. Decision on {!Status} — for example VALID vs Other (default).
  3. On VALID, Update Records with {!NF Process Phone.Formatted Value} (or another output).
Record-triggered flow with NF Process Phone, VALID vs Other decision, and Update Records on VALID