Actions59
- Acesso - Credenciais
- Canais - Listar
- Contato - Adicionar Etiqueta
- Contato - Adicionar Informações
- Contato - Consultar
- Contato - Editar Perfil
- Contato - Encaminhar
- Contato - Importar
- Contato - Importar - Lote
- Contato - Listar Protocolos
- Contato - Listar Todos
- Contato - Mensagem - Enviar
- Contato - Mensagem - Enviar Imagem + Legenda
- Contato - Pesquisar
- Contato - Remover Etiqueta
- Contato - Status De WhatsApp
- Etiquetas - Listar Todos
- Extra - Cep - Pesquisar
- Extra - Cnpj - Pesquisar
- Extra - Coordenadas - Pesquisar
- Extra - Cpf - Pesquisar
- Extra - CSV/TSV - Formatar
- Extra - Nome - Pesquisar
- Extra - Titularidade - Pesquisar
- Extra - Transcrição - Documentos
- Extra - Transcrição - Imagem EN
- Extra - Transcrição - Imagem PT
- Grupos - Adicionar Contato
- Grupos - Listar Contatos
- Grupos - Listar Todos
- Grupos - Remover Contato
- Grupos - WhatsApp - Histórico
- Grupos - WhatsApp - Listar
- Grupos - WhatsApp - Membros
- Marketing - Campanha - Listar
- Marketing - Campanha - Resumo
- Marketing - Mensagem - Enviar
- Marketing - Mensagem - Listar
- Marketing - Mensagem - Status
- Produto - Categoria - Listar
- Produto - Listar
- Protocolo - Consultar
- Protocolo - Encaminhar - Recado
- Protocolo - Finalizar
- Protocolo - Listar - Todos
- Protocolo - Mensagem - Enviar
- Protocolo - Mensagem - Listar
- Protocolo - Observações - Adicionar
- Protocolo - Observações - Listar
- Protocolo - Pesquisar
- Recados - Listar - Todos
- Recados - Pesquisar
- Setor - Listar - Todos
- Templates - Listar - Todos
- Usuário - Agenda - Listar
- Usuário - Carteira - Adicionar
- Usuário - Carteira - Listar
- Usuário - Carteira - Remover
- Usuário - Listar - Todos
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
- SacNews Platform Documentation (general reference): https://sacnews.example.com/docs (Note: Replace with actual URL if available)
- n8n Documentation on Credentials: https://docs.n8n.io/credentials/
- Pagination Concepts: https://en.wikipedia.org/wiki/Pagination