🎣 Enriching Brazilian company data with CNPJ API and Google Sheets

⚑ 809 views · 🎣 Lead Generation & Enrichment

πŸ’‘ Pro Tip β€” For lead enrichment, ScraperNode can pull LinkedIn profiles, company data, and job listings directly into your pipeline β€” useful for building prospect lists without manual research.

View All Scrapers

Description

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 Brazilian business databases who needs to enrich company information at scale.

What it does

Key Features

βœ… Free API - No authentication required, completely free to use
βœ… Comprehensive Data - 47+ fields of official Brazilian company information
βœ… Batch Processing - Handles up to 100 CNPJs per batch automatically
βœ… Smart Filtering - Only processes CNPJs that don’t already have data
βœ… Real-time Updates - Updates your spreadsheet as data is retrieved
βœ… Progress Notifications - Get notified via Telegram when complete

Setup Requirements

Google Sheets Structure

Your spreadsheet must contain at minimum:

Credentials Needed

Available Data Fields

The workflow can populate your spreadsheet with any or all of these official fields from Brazil’s Federal Revenue:

🏒 Company Information

πŸ“ Address & Location

πŸ“ž Contact Information

πŸ’Ό Business Classification

πŸ“‹ Registration Status

πŸ“… Important Dates

πŸ›οΈ Tax Regime Information

πŸ‘₯ Partners & Shareholders

How to Use

  1. Prepare your spreadsheet with CNPJ numbers in the cnpj column
  2. Configure your Telegram ID in the Settings node for notifications
  3. Set up Google Sheets credentials in n8n
  4. Add the desired data columns to your spreadsheet (any combination from the list above)
  5. Run the workflow - it will automatically process all CNPJs without existing data

Performance & Limitations

Use Cases

Prerequisites

Important Notes

πŸ”— Nodes Used

Google Sheets, HTTP Request, Telegram

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup