SacNews - Relacionamento icon

SacNews - Relacionamento

Interação com a Plataforma de Relacionamento via WhatsApp - SacNews

Actions59

Overview

This node integrates with a customer relationship platform via WhatsApp, providing a wide range of operations related to contacts, messaging, groups, marketing campaigns, protocols, and extra data lookups. Specifically, the "Extra - Cnpj - Pesquisar" operation allows users to query information about a company using its CNPJ (Brazilian company registration number). This is useful for automating business data retrieval, validating company details, or enriching contact records in workflows.

Practical examples include:

  • Automatically fetching company details during lead qualification.
  • Validating supplier or client CNPJ numbers before processing orders.
  • Enriching CRM records with official company data from the CNPJ registry.

Properties

Name Meaning
CNPJ The Brazilian company registration number to be queried. It must be provided as a string without formatting (e.g., "12345678000195"). This input triggers the CNPJ lookup operation.

Output

The node outputs JSON data containing the results of the requested operation. For the "Extra - Cnpj - Pesquisar" operation, the output JSON will contain detailed information about the company associated with the provided CNPJ. This typically includes company name, address, status, and other relevant registration details.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential to authenticate with the external customer relationship platform.
  • The node depends on the platform's API endpoints to perform the CNPJ lookup and other operations.
  • Proper configuration of the API authentication within n8n credentials is necessary.

Troubleshooting

  • Invalid or missing CNPJ: Ensure the CNPJ is correctly formatted and provided as a required input. Invalid CNPJs may cause errors or empty responses.
  • Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions.
  • API rate limits or downtime: If requests fail repeatedly, check the external platform's status and any rate limiting policies.
  • Unexpected response structure: If the output JSON does not match expectations, confirm that the API version and node implementation are compatible.

Links and References

  • Brazilian CNPJ Information
  • Documentation for the external customer relationship platform (not publicly linked here) should be consulted for detailed API usage and data fields.

Discussion