Sync postal codes from Correios to Pipefy

Recipe ToolsDeveloper ToolAPI Integration

What it does

When a card is updated in Pipefy, this automation extracts the postal code and sends an HTTP request to Correios. The card updates with the full address data so someone has complete information without manual lookup.

Who it's for

Operations teams who need to auto-populate address fields from Brazilian postal codes in Pipefy.

Apps used

How teams use this

Auto-fill addresses on new leads

When a sales rep adds a postal code to a lead card in Pipefy, the full address populates instantly from Correios. No manual data entry is needed and the record is ready for follow-up.

Validate postal codes during intake

Route cards through this automation during customer onboarding so invalid postal codes are caught before they reach fulfillment. Only valid Correios matches update the card.

Add phone and document fields to records

Extend this automation to include phone and document lookups alongside the postal code so the Pipefy card captures multiple data points from Correios in one flow. Set these fields when the HTTP response includes them.

How it works

  1. Card is updated in Pipefy. When someone updates a card in Pipefy in real-time, this automation retrieves the postal code from that card so it can be looked up.
  2. Get the card details from Pipefy. Fetch the full card record from Pipefy by its ID to extract the postal code and prepare it for the Correios lookup.
  3. Request address data via HTTP. Send an HTTP request to Correios with the postal code to retrieve the complete address including street, city, and state.
  4. Update the card with address. Write the address data returned from Correios back to the Pipefy card so the record is complete and ready for the next step.