SacNews - Relacionamento icon

SacNews - Relacionamento

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

Actions59

Overview

This node integrates with the SacNews platform, a WhatsApp-based customer relationship system. It provides various operations to interact with contacts, protocols, messages, groups, marketing campaigns, and other related entities within the platform.

Specifically, the "Recados - Listar - Todos" operation (translated as "Messages - List - All") retrieves all inbox messages or notes ("recados") from the platform. This is useful for scenarios where you want to fetch and process all incoming messages or notifications in your workflow, such as monitoring customer inquiries, automating responses, or aggregating message data for reporting.

Example use cases:

  • Automatically fetching all new messages received on the platform to trigger follow-up workflows.
  • Exporting all inbox messages for analysis or archiving.
  • Integrating message data into CRM or support systems.

Properties

Name Meaning
Número Da Página The page number of results to retrieve when listing all inbox messages. Must be ≥ 1.

This property controls pagination when fetching inbox messages, allowing users to specify which page of results they want to access.

Output

The node outputs an array of JSON objects representing the inbox messages retrieved from the SacNews platform. Each object corresponds to a single message or note in the inbox.

The exact structure of each message object depends on the platform's API response but typically includes fields such as message content, sender information, timestamps, status, and possibly metadata related to the message context.

If the node supports binary data output (not explicitly shown here), it would represent attachments or media associated with messages; however, this is not indicated in the provided code snippet.

Dependencies

  • Requires connection to the SacNews platform via an API key credential (referred generically as "an API key credential").
  • The node relies on internal action modules (./actions) that implement the actual API calls.
  • Proper configuration of the API authentication token in n8n credentials is necessary for successful operation.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Requesting a page number that exceeds available pages may return empty results.
    • Network connectivity problems can prevent communication with the SacNews platform.
  • Error messages:

    • Authentication errors typically indicate invalid or expired API keys; verify and update credentials.
    • Pagination errors might manifest as empty arrays or specific error messages from the API; ensure the page number is valid.
    • Timeout or network errors suggest connectivity issues; check internet access and firewall settings.

Links and References

Discussion