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, enabling various operations related to contact management and other CRM features. Specifically, the "Contato - Adicionar Informações" (Contact - Add Details) operation enriches an existing contact by adding additional information such as CPF, CNPJ, postal code (CEP), email, or social media details.

Common scenarios for this node include:

  • Enhancing contact records with official identification numbers (CPF/CNPJ) for compliance or verification.
  • Adding location data like postal codes and addresses to contacts for targeted marketing or logistics.
  • Associating social media profiles or emails to contacts to improve communication channels.

Practical example: A user wants to update a contact's profile by adding their CPF number and marking it as primary, ensuring that the contact record is complete for legal or billing purposes.

Properties

Name Meaning
ID Do Contato The unique identifier of the contact to be enriched.
Tipo De Enriquecimento The type of data to add to the contact. Options: CEP (postal code), CNPJ (company registration), CPF (personal tax ID), Email, Rede Social (social media).
CPF The CPF number of the contact; required if the enrichment type is CPF.
CNPJ The CNPJ number of the contact; required if the enrichment type is CNPJ.
CEP The postal code of the contact; required if the enrichment type is CEP.
Endereço The street address linked to the postal code; required if the enrichment type is CEP.
Número The street number of the address; required if the enrichment type is CEP.
Complemento Additional address details (e.g., apartment, suite); required if the enrichment type is CEP.
Bairro Neighborhood name; required if the enrichment type is CEP.
Cidade City name; required if the enrichment type is CEP.
Estado (UF) State abbreviation; required if the enrichment type is CEP.
Tipo De Rede Social The social media platform type; required if the enrichment type is Rede Social. Options include Bitbucket, Facebook, Flickr, GitHub, Google, Instagram, LinkedIn, Pinterest, Reddit, Spotify, Steam, Trello, Tumblr, Twitter, Vimeo, Vine, Web, WeChat, WordPress, Yahoo, YouTube.
URL Da Rede Social The URL of the social media profile; required if the enrichment type is Rede Social.
Email The email address of the contact; required if the enrichment type is Email.
Primário Boolean flag indicating whether this detail is the primary one for the contact (applicable for CNPJ, CPF, and CEP types).

Output

The node outputs JSON data representing the result of the enrichment operation. This typically includes confirmation of the updated contact details or any response from the CRM platform confirming the addition of the new information.

If the operation succeeds, the output will contain structured data about the contact with the newly added details. There is no indication that binary data is produced by this operation.

Dependencies

  • Requires connection to the external customer relationship platform via WhatsApp integration.
  • Needs an API authentication token or API key credential configured in n8n to authorize requests.
  • The node depends on internal action modules that handle specific API calls to the platform.

Troubleshooting

  • Missing Required Fields: If required fields for the selected enrichment type are not provided (e.g., CPF number when type is CPF), the node may fail or return validation errors. Ensure all mandatory fields for the chosen type are filled.
  • Invalid Contact ID: Providing an incorrect or non-existent contact ID will cause the operation to fail. Verify the contact ID before running the node.
  • API Authentication Errors: If the API key or authentication token is invalid or expired, the node will not connect successfully. Check credentials configuration.
  • Network Issues: Connectivity problems with the external platform can cause timeouts or failures. Confirm network access and platform availability.
  • Primary Flag Misuse: Setting multiple details as primary might cause conflicts depending on platform rules. Use the "Primário" flag carefully.

Links and References

  • No direct external links were found in the source code. For more information, consult the documentation of the integrated customer relationship platform or the WhatsApp-based CRM service used.

Discussion