Standardize US phone numbers with multiple format options and validation
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 7 nodes and runs when another workflow calls it. It uses only n8n's built-in nodes.
How it runs
Trigger: When another workflow calls it.
- Strip phone number formatting (Edit Fields (Set)): sets 1 field: Phone Number
- Check number of digits in phone number (Switch): routes items into 4 branches
- Check if first digit is valid country code (If): checks a condition and branches into true / false
- Add valid country code (Edit Fields (Set)): sets 1 field: Phone Number
- Clear invalid number (Edit Fields (Set)): sets 1 field: Phone Number
- Format phone numbers (Edit Fields (Set)): sets 7 fields: Phone Number (Input), Phone Number, Phone Number (National)…
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch
From the author
Workflow Overview: This n8n workflow template takes a US phone number as input, validates it, and returns it in multiple standard formats, including handling extensions. It's designed to streamline the process of standardizing phone number data within your…