Actions64
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Overview
The node interacts with the "Evolution API" to perform various operations on different resources. Specifically, for the Resource "Chat" and Operation "Marcar Como Não Lido" (Mark as Unread), it marks a specified chat message as unread. This is useful in scenarios where users want to flag messages for follow-up or indicate that they have not yet reviewed certain messages.
Practical examples include:
- Automatically marking incoming messages as unread for later processing.
- Allowing users to programmatically reset the read status of messages in a chat application integrated via the Evolution API.
Properties
| Name | Meaning |
|---|---|
| Nome Da Instância | The name of the instance to connect to the Evolution API. |
| Contato | The contact number associated with the chat where the message resides. |
| ID Da Mensagem | The unique identifier of the last message to be marked as unread. |
| Mensagem É Minha | Boolean indicating if the message was sent by the instance itself (true/false). |
Output
The node outputs a JSON array containing the result of the "mark unread" operation. The exact structure depends on the Evolution API response but generally includes confirmation of the action or details about the updated message status.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the Evolution API.
- The node expects the Evolution API endpoint to be accessible and properly configured.
- No additional environment variables are explicitly required beyond the API authentication.
Troubleshooting
- Unsupported Operation Error: If the operation "mark-unread" is not supported for the resource "chat", the node throws an error stating the operation is unsupported. Ensure the correct resource and operation names are used.
- Missing Required Parameters: All properties are required; missing any will cause execution failure. Verify that "Nome Da Instância", "Contato", "ID Da Mensagem", and "Mensagem É Minha" are correctly provided.
- API Authentication Issues: Failure to authenticate with the Evolution API will prevent the node from executing successfully. Confirm that the API key credential is valid and has necessary permissions.
- Invalid Message ID or Contact Number: Providing incorrect identifiers may result in errors or no effect. Double-check these values before running the node.
Links and References
- Evolution API Documentation (Replace with actual URL)
- n8n Documentation on Creating Custom Nodes