SacNews - Relacionamento icon

SacNews - Relacionamento

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

Actions59

Overview

This node integrates with the SacNews platform to manage user contacts and their relationships via WhatsApp. Specifically, the "Usuário - Carteira - Remover" operation allows removing a contact from an operator's wallet (a collection or list of contacts associated with a user/operator). This is useful in scenarios where an operator no longer needs access to or association with a particular contact, such as when managing customer assignments or cleaning up contact lists.

Practical examples:

  • Removing a customer contact from an operator’s assigned contacts after case resolution.
  • Managing dynamic contact lists by removing outdated or irrelevant contacts from an operator’s wallet.

Properties

Name Meaning
ID Operador The unique identifier of the operator from whose wallet the contact will be removed.
ID Contato The unique identifier of the contact to be removed from the operator's wallet.

Output

The node outputs JSON data representing the result of the removal operation. Typically, this would include confirmation of success or failure, and possibly details about the updated state of the operator's wallet. The exact structure depends on the API response but generally confirms that the specified contact was removed from the operator's wallet.

No binary data output is indicated for this operation.

Dependencies

  • Requires connection to the SacNews platform via its API.
  • Needs an API authentication token or key credential configured in n8n to authorize requests.
  • The node depends on internal action implementations imported from ./actions which handle the actual API calls.

Troubleshooting

  • Common issues:

    • Invalid or missing operator or contact IDs will cause the removal to fail.
    • Authentication errors if the API key or credentials are not properly set.
    • Network or API downtime can prevent successful execution.
  • Error messages:

    • Errors indicating "contact not found" or "operator not found" suggest incorrect IDs.
    • Authentication errors typically require checking the configured API credentials.
    • Timeout or connectivity errors may need network troubleshooting or retrying later.

Links and References

  • SacNews Platform API documentation (not provided here; consult your platform provider).
  • n8n documentation on creating and using custom nodes and credentials.

Discussion