Invertexto icon

Invertexto

Interact with Invertexto API

Actions14

Overview

This node interacts with the Invertexto API to perform various data transformations and lookups. Specifically, for the ZIP Code Lookup operation, it allows users to retrieve address information based on an 8-digit Brazilian ZIP code (CEP). This is useful in scenarios where you need to validate or enrich address data automatically, such as filling out forms, verifying shipping addresses, or integrating location-based services.

Practical example:
You have a list of Brazilian ZIP codes from customer orders and want to fetch the corresponding street, city, and state information to ensure accurate delivery details.

Properties

Name Meaning
ZIP Code 8-digit Brazilian ZIP code (CEP) to lookup the address for

Output

The node outputs JSON data containing the address information corresponding to the provided ZIP code. The exact structure depends on the API response but typically includes fields like street, neighborhood, city, state, and postal code.

No binary data output is produced by this operation.

Dependencies

  • Requires an active API key credential for the Invertexto API.
  • The node makes HTTP GET requests to https://api.invertexto.com/v1/cep/{cep}, where {cep} is the sanitized ZIP code.
  • Ensure the API key is configured correctly in n8n credentials for authentication.

Troubleshooting

  • Common issues:

    • Invalid or malformed ZIP code input (not exactly 8 digits or contains invalid characters).
    • Network connectivity problems preventing access to the Invertexto API.
    • Expired or incorrect API key leading to authorization errors.
  • Error messages:

    • "error": "Invalid ZIP code" — Check that the ZIP code is exactly 8 digits and contains no letters or special characters.
    • "error": "Unauthorized" or similar — Verify that the API key credential is set up properly and has not expired.
    • Timeout or network errors — Confirm internet connectivity and that the API endpoint is reachable.

Links and References

Discussion