Templates / Verify tax IDs in PDF uploads with Groq, Google Sheets, Lovable, and Gmail

Verify tax IDs in PDF uploads with Groq, Google Sheets, Lovable, and Gmail

Ready for 3.0

by Chijioke Ogbonna ✓ · 46 views · created 2026-08-07 · Document Extraction, AI Summarization

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 27 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets and Gmail. It also calls api.groq.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Normalize Lovable Payload (Code): runs custom JavaScript code
  2. Filename Duplicate Check (Code): runs custom JavaScript code
  3. Sheets — Lookup Verification Log (Google Sheets): uses Google Sheets
  4. Duplicate Decision (Code): runs custom JavaScript code
  5. Switch: routes items into 2 branches
  6. Return Cached Result (Code): runs custom JavaScript code
  7. Extract PDF Text Layer (Code): runs custom JavaScript code
  8. Duplicate found (Respond to Webhook): sends the response back to the webhook caller
  9. Groq — Parse PDF Tax Document (HTTP Request): calls api.groq.com (POST)
  10. Parse Groq Extract Response (Code): runs custom JavaScript code

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

Services it uses

Google SheetsGmail

HTTP calls to: api.groq.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 (8)

From the author

Quick overview This workflow receives tax document PDFs from a Lovable form webhook, extracts and parses the Tax ID with Groq, validates and matches it against a Google Sheets “TaxIDDatabase,” logs results to Google Sheets, emails the submitter via Gmail, and…

Excerpt from Chijioke Ogbonna'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.