Validate single and bulk US phone numbers with Searchbug and Google Sheets
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs when someone submits an n8n form (“Phone Number Validator”). Along the way it connects Google Sheets. It also calls data.searchbug.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Phone Number Validator”).
- Single or Bulk? (If): checks a condition and branches into true / false
- Set Single Phone (Edit Fields (Set)): sets 1 field: phone
- Extract CSV (Extract from File): extracts data from a file
- Normalize (Edit Fields (Set)): sets 1 field: phone
- Validate Phone (If): checks a condition and branches into true / false
- Clean Phone (Edit Fields (Set)): sets 1 field: phone
- Searchbug Phone Validator (HTTP Request): calls data.searchbug.com
- Extract Results (Code): runs custom JavaScript code
- Save to Google Sheets (Google Sheets): append
Services it uses
HTTP calls to: data.searchbug.com
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 (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Extract from File
n8n-nodes-base.extractFromFile - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow collects a single phone number or a CSV upload via an n8n form, validates and normalizes US 10-digit numbers, enriches them using the Searchbug Phone Validator API, and appends the results (carrier, line type, VoIP, DNC/TCPA…