Templates / Enriching Brazilian company data with CNPJ API and Google Sheets

Enriching Brazilian company data with CNPJ API and Google Sheets

Ready for 3.0

by Vitorio Magalhães ✓ · 1,009 views · created 2025-08-16 · Lead Generation, Multimodal AI

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 8 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and Telegram.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Settings (Edit Fields (Set)): sets 2 fields: telegram_id, api_base_url
  2. Get All CNPJs in Sheet (Google Sheets): uses Google Sheets
  3. Loop CNPJs (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Limit: keeps the first few items
  5. Send API Request (HTTP Request): calls an HTTP API
  6. Notify When Finish (Telegram): uses Telegram
  7. Update CNPJ Info in Sheet (Google Sheets): update

Services it uses

Google SheetsTelegram

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

Overview This workflow automatically enriches Brazilian company data by fetching comprehensive CNPJ information from the MinhaReceita.org API and updating your Google Sheets spreadsheet. Perfect for data analysts, sales teams, and anyone working with…

Excerpt from Vitorio Magalhães'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.