Skip to main content

Validate email font families from Gmail with Google Sheets

Workflow preview

Workflow preview
100%
Validate email font families from Gmail with Google Sheets preview
Open on n8n.io

1. Workflow Overview

How it works Load Expected Content + Expected Font Family from Google Sheets. Parse the email HTML to locate the matching content block. Use a JavaScript/HTML extraction node to read the actual fon...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.gmail, n8n-nodes-base.code, n8n-nodes-base.merge, n8n-nodes-base.stickynote, n8n-nodes-base.googlesheets

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Validate email font families from Gmail with Google Sheets
Workflow name
Validate email font families from Gmail with Google Sheets

How it works

  • Load Expected Content + Expected Font Family from Google Sheets.
  • Parse the email HTML to locate the matching content block.
  • Use a JavaScript/HTML extraction node to read the actual font-family applied to that content.
  • Merge expected and actual values. Compare Expected Font vs Actual Font to produce a Result (Match / Mismatch).
  • Log Actual Font + Result back into Google Sheets as part of the QA output.

Setup steps

  • Google Sheets Create a sheet with columns:SectionId, Content, ExpectedFontFamily, ActualFontFamily, Result. Populate SectionId + ExpectedContent for each content block you want to verify.
  • Email HTML Source Use a Gmail node to pull message HTML or use HTTP Request/Read Binary File + HTML/JS to supply the HTML.
  • Extraction Logic (JS/HTML) Use HTML parsing or a JS Function node to locate the HTML element containing the content string. From the matched element, extract the computed font-family. Clean, normalize, and standardize font names for accurate comparison. Return the extracted value as ActualFontFamily.
  • Merge & Compare Merge the Google Sheets expected records with the extracted actual font data using SectionId as the key. In the Code (JS) node, compare ExpectedFontFamily vs ActualFontFamily and set Result to Match if equal (or meets your rule), otherwise Mismatch.
  • Write back Use Google Sheets to update ActualFontFamily and Result for each row.

Requirements

  • n8n with access to: Google Sheets, Code/HTML, and (optionally) Gmail nodes.
  • A Google Sheets document with at least these columns:

SectionId (or Key) Content ExpectedFontFamily ActualFontFamily (output) Result (output: Match / Mismatch)

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 - When clicking ‘Execute workflow’

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

Block 2 - Get many messages

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 3 - Extract Content Font Family from HTML

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

Block 4 - Combine Font Inputs

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 5 - Extract Actual Font Family and Results

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

Block 6 - Sticky Note

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

Block 7 - Sticky Note1

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

Block 8 - Load Expected Content and Font Family

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

Block 9 - Log Font Checks to Excel

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

3. Summary Table

Workflow Validate email font families from Gmail with Google Sheets
Complexity intermediate
Nodes 9
Categories Document Extraction, AI Summarization
Author Sasikala Jayamani
Published 21 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13566/13566.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 Validate email font families from Gmail with Google Sheets do?

How it works Load Expected Content + Expected Font Family from Google Sheets. Parse the email HTML to locate the matching content block. Use a JavaScript/HTML extraction node to read the actual fon...

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, AI Summarization use case.