Business Process Automation

Format US Phone Number

Format US Phone Number

Manual
Medium
7
Nodes
Manual
Trigger
Medium
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
7
Node Types
4

Node Types

execute Workflow Trigger
When Executed by Another Workflow
1 node
if
Check if first digit is valid country code
1 node
set
Add valid country code, Strip phone number formatting, Format phone numbers, Clear invalid number
4 nodes
switch
Check number of digits in phone number
1 node

Workflow JSON

12.29 KB
{
  "id": "mNbQmMNEvpiZqASG",
  "meta": {
    "instanceId": "f80e038bf7b8c99e3db7e7d6a34de2c19f0af25e5d7445b15c36d79b6e8e9e55"
  },
  "name": "Format US Phone Number",
  "tags": [],
  "nodes": [
    {
      "id": "bf150da4-5e01-4571-a606-10a0fb25004b",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        0,
        275
      ],
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "Phone Number",
              "type": "any"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "7c560ecf-c827-413f-a115-7b6bc8f21a41",
      "name": "Check if first digit is valid country code",
      "type": "n8n-nodes-base.if",
      "position": [
        660,
        275
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
      ...

Showing first 1000 characters. Click "Expand" to view the full JSON.