Templates / Automate HS code lookup & enrichment with Google Sheets and customs API (beta)

Automate HS code lookup & enrichment with Google Sheets and customs API (beta)

Ready for 3.0

by Thomas · 734 views · created 2025-08-29 · Document Extraction

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 AI workflow has 11 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects Google Sheets and Gmail.

How it runs

Trigger: When a chat message arrives (plus 1 other trigger).

  1. Customs Tariff API Query (HTTP Request): calls an HTTP API
  2. Read Item Descriptions (Google Sheets): uses Google Sheets
  3. Output Customs Tariff Number (Edit Fields (Set)): sets 1 field: text
  4. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Aggregate: combines items into one
  6. Customs Tariff API Query Batch (HTTP Request): calls an HTTP API
  7. Send Completion Email (Gmail): uses Gmail
  8. prepare data (Edit Fields (Set)): sets 4 fields: Zolltarifnummer, Artikelbeschreibung, Beschreibung der Zolltarifnummer…
  9. Write Customs Tariff to Sheet (Google Sheets): update

Services it uses

Google SheetsGmail

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

"I used to spend hours every week just copy-pasting product descriptions to find the right tariff codes for our international shipments. It was tedious and prone to errors." - Accounting specialist. This workflow eliminates that manual work entirely. It…

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