Skip to main content

Normalize and validate customer data with Google Sheets highlights

Workflow preview

Workflow preview
100%
Normalize and validate customer data with Google Sheets highlights preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow manually pulls raw customer records from Google Sheets, normalizes and scores key fields (name, phone, address, gender, dates), then routes results to either a normaliz...

Best for

  • Document Extraction automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googlesheets, n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.stickynote, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Reiji Sugiyama.

Original n8n.io source

1.1 Workflow description

Title
Normalize and validate customer data with Google Sheets highlights
Workflow name
Normalize and validate customer data with Google Sheets highlights

Quick overview

This workflow manually pulls raw customer records from Google Sheets, normalizes and scores key fields (name, phone, address, gender, dates), then routes results to either a normalized master sheet or a review queue and uses the Google Sheets API to highlight missing cells.

How it works

  1. Starts on a manual trigger and reads raw customer data from a Google Sheets sheet named raw_input.
  2. Maps incoming columns into a consistent internal structure (record ID, source, dates, and postal code) for downstream processing.
  3. Normalizes customer fields (name formatting, phone and postal-code digits, gender mapping, prefecture/address splitting, and date formatting) and computes a completeness score plus a review reason.
  4. Checks whether the record meets the quality threshold (completeness score 6 80) to determine if it is acceptable.
  5. Appends accepted records to the normalized_master sheet and sends a Google Sheets batchUpdate request to highlight any empty cells.
  6. Appends records needing attention to the review_queue sheet and sends a Google Sheets batchUpdate request to highlight empty cells for faster review.

Setup

  1. Create a Google Sheets OAuth2 credential in n8n and connect it to this workflow.
  2. Replace YOUR_SPREADSHEET_ID in all Google Sheets and HTTP Request nodes with your target spreadsheet ID.
  3. Ensure the spreadsheet contains sheets named raw_input, normalized_master, and review_queue with columns that match the fields written by the workflow (for example: name, email, phone, prefecture, address, birth_date, status, completeness_score, and review_reason).
  4. Verify the sheet tab IDs used for highlighting (1144211222 for normalized_master and 1278913705 for review_queue) match your spreadsheet, and update them if they differ.
  5. (Optional) Adjust the quality threshold (currently completeness score 6 80) and normalization rules in the code to match your data requirements.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Save Review Queue

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 2 - Start Manual Test

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 3 - Read Raw Input

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 4 - Map Source Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3

Block 5 - Normalize Customer Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Validate Record Quality

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 7 - Save Normalized Records

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Apply Normalized Sheet Cell Highlights

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 18 - Apply Review Queue Cell Highlights

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 19 - Build Highlight Requests Normal

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 20 - Build Highlight Requests Review

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

3. Summary Table

Workflow Normalize and validate customer data with Google Sheets highlights
Complexity advanced
Nodes 20
Categories Document Extraction
Author Reiji Sugiyama
Published 27 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15976/15976.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Normalize and validate customer data with Google Sheets highlights do?

Quick overview This workflow manually pulls raw customer records from Google Sheets, normalizes and scores key fields (name, phone, address, gender, dates), then routes results to either a normaliz...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction use case.