Templates / Find nearby ZIP codes by radius with Searchbug and Google Sheets

Find nearby ZIP codes by radius with Searchbug and Google Sheets

Ready for 3.0

by Searchbug ✓ · 1 views · created 2026-08-19 · Market Research

Ready 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 15 nodes and runs when someone submits an n8n form (“Zip Code in Radius Search”). 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 (“Zip Code in Radius Search”).

  1. Single or Bulk? (If): checks a condition and branches into true / false
  2. Normalize Input (Edit Fields (Set)): sets 3 fields: Zip, Distance, Min Population
  3. Extract CSV (Extract from File): extracts data from a file
  4. Set Search Input (Edit Fields (Set)): sets 3 fields: ZIP, DIST, MIN_POP
  5. Validate Input (If): checks a condition and branches into true / false
  6. Zip Code in Radius API (HTTP Request): calls data.searchbug.com (POST)
  7. Set Invalid Row (Edit Fields (Set)): sets 4 fields: message, api_status, zip…
  8. Check Results (If): checks a condition and branches into true / false
  9. Attach Search Context (Edit Fields (Set)): sets 4 fields: center_zip, requested_distance, min_population…
  10. No Results (Edit Fields (Set)): sets 2 fields: message, api_status

…plus 4 more steps. See the full node list below.

Services it uses

Google Sheets

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)

From the author

Quick overview This workflow collects a ZIP code and a mile radius from an n8n form, queries the Searchbug Zip Code in Radius API for matching ZIP codes, and appends each result — city, state, distance, population, and business counts — as its own row in…

Excerpt from Searchbug's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.