Actions64
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Overview
The "Marcar Como Não Lido" operation of the Chat resource in this custom n8n node allows users to mark a specific chat message as unread using the Evolution API. This is useful for scenarios where you want to programmatically reset the read status of a message, such as automating follow-up reminders or managing customer support workflows.
Practical examples:
- Automatically marking important messages as unread if they require further attention.
- Integrating with ticketing systems to ensure unresolved chats remain visible.
- Resetting the read status after an automated process has reviewed a conversation.
Properties
| Display Name | Type | Meaning |
|---|---|---|
| Nome Da Instância | String | The name of the instance. Required to identify which Evolution API instance to use. |
| Contato | String | The contact number associated with the chat to be marked as unread. |
| ID Da Mensagem | String | The ID of the last message that should be marked as unread. |
| Mensagem É Minha | Boolean | Indicates whether the message was sent by the instance itself. |
Output
The node outputs a JSON object (or array of objects) containing the result of the "mark as unread" operation from the Evolution API. The exact structure depends on the API response, but typically includes confirmation of the action and possibly details about the chat/message affected.
Dependencies
- External Service: Requires access to the Evolution API.
- API Key/Credentials: Needs valid Evolution API credentials configured in n8n under the credential type
evolutionApi. - n8n Configuration: Ensure the Evolution API credentials are set up in your n8n instance.
Troubleshooting
Common Issues:
Missing or Invalid Credentials: If the Evolution API credentials are not set or incorrect, the node will fail to authenticate.
Unsupported Operation: If the operation or resource is not implemented, you may see an error like:
Operação não suportada. A função "mark-unread" para o recurso "chat-api" não é suportada!Resolution: Double-check that you have selected the correct resource and operation supported by the node.
Invalid Input Data: Supplying an incorrect message ID or contact number may result in API errors. Ensure all required fields are filled correctly.