- Home
- Resources
- Integrations
- ReceitaWS
ReceitaWS Make integrationAutomate ReceitaWS with Make.
Got CNPJ numbers arriving from a form or a sheet and no time to check each one by hand? The ReceitaWS Make integration gives you 2 action modules, one to validate a CNPJ and one to fetch its data. This page shows how to connect your account and build a first scenario around them.
Verified Trustpilot reviews · AI, automation & growth agency
What does the ReceitaWS Make integration do?
The ReceitaWS Make integration lets a Make scenario, the automation you build as a chain of bricks called modules, send a CNPJ to ReceitaWS and use the answer in the next steps. It has two actions and no trigger, so another app or a schedule starts the work.
Cleaner supplier records. A purchasing team collects CNPJ numbers in a spreadsheet. A scenario passes each new row through Validar CNPJ, so a mistyped number is spotted before anyone builds a supplier file on it.
Richer lead lists. A sales rep receives a company CNPJ from a website form. Obter Dados de um CNPJ looks up the data ReceitaWS returns for it, and the next module of the scenario writes that data into the CRM, so nobody copies it field by field.
Checks chained together. Put Validar CNPJ first and Obter Dados de um CNPJ right after it: the scenario checks the number, then pulls the company data, in one run you can test with Run once.
What Make does not give you here: Make's own documentation for ReceitaWS is marked as limited, with no field list and no description of each module, and the app has no Make an API Call module for anything beyond these two actions. The Make troubleshooting guide helps when a run fails. If you are weighing tools for this kind of lookup, read n8n vs Make, and to learn the editor properly, Make training starts from zero.
How do you connect ReceitaWS to Make?
- 01
Add a ReceitaWS module
In your scenario, click the +, search for ReceitaWS and pick one of its two modules. Then click Create a connection. A connection is your ReceitaWS account linked to Make once, then reused by both modules.
- 02
Name the connection
Giving the connection a name is optional, but a clear one helps later, especially if a colleague or a client has a second ReceitaWS account linked to the same Make organization. Pick something you will recognize in a list.
- 03
Authorize and save
Follow what the window asks: either authorize Make on the ReceitaWS page, or paste the key ReceitaWS gives you. Then click Save. The module is ready once the connection shows up as selected.
Your first scenario with ReceitaWS
GoalWhen a new CNPJ reaches another app, Make validates it with ReceitaWS and fetches the company data.
- 01
Create the scenario
From the Scenarios page, create a new scenario and click the +. The first module comes from the app that holds your CNPJ numbers, such as a form tool or a spreadsheet.
- 02
Add Validar CNPJ
Click the + on the right of that first module, search for ReceitaWS, pick Validar CNPJ and create the connection. Map the CNPJ that the first module provides into it.
- 03
Chain Obter Dados de um CNPJ
Add a second ReceitaWS module, Obter Dados de um CNPJ, and map the same CNPJ into it. Each item passing through, called a bundle, now carries the number and what ReceitaWS knows about it.
- 04
Test with Run once
Click Run once. Open the bubble above each module to read the bundles it received. That is the only way to see what ReceitaWS returns, since the documentation lists no fields.
- 05
Schedule and switch on
Set the schedule on the first module, every 15 minutes by default, and switch the scenario on. Each module run counts as one operation on your Make plan, so keep an eye on the total.
What the ReceitaWS modules do
ReceitaWS gives you 2 modules. For each one: what it does for you, when to reach for it, and what to watch out for.
Obter Dados de um CNPJ
ActionIn the docs onlyGoing by its Portuguese name (get the data of a CNPJ), you hand it a CNPJ and it brings back what ReceitaWS holds on that company, ready to fill a CRM or a sheet later in the scenario.
Validar CNPJ
ActionIn the docs onlyAs its Portuguese name says, this action validates a CNPJ, which gives you a quick signal on a number before the rest of the scenario relies on it.
Need help automating ReceitaWS with Make?
A person reads every message.