Actions114
- Instance Actions
- Message Actions
- Group Actions
- Chat Actions
- Profile Actions
- Event Actions
- Integration Actions
- Call Actions
- Label Actions
- OpenAI Actions
- N8N Integration Actions
- EvoAI Actions
- Template Actions
- Business Actions
Chat → Delete Message
AI-generatedOverview
This node operation deletes a specific message in a chat instance using the Evolution API. It is useful for scenarios where you need to remove messages from a conversation, such as correcting mistakes, removing sensitive information, or managing chat history.
Use Case Examples
- Deleting a mistakenly sent message in a customer support chat.
- Removing a message containing outdated information from a group chat.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the chat instance where the message exists. |
| Contact | The contact number associated with the chat from which the message will be deleted. |
| Message ID | The unique identifier of the message to be deleted. |
| Message Is Mine | Indicates if the message was sent by the instance itself (true) or by another participant (false). |
| Participant Number | The number of the participant who sent the message, required only if the message was not sent by the instance. |
Output
JSON
success- Indicates whether the message deletion was successful.messageId- The ID of the message that was deleted.
Dependencies
- Requires an API key credential for the Evolution API to authenticate requests.
Troubleshooting
- Ensure the instance name and contact number are correctly specified to avoid errors related to invalid chat references.
- Verify that the message ID is correct and exists in the chat to prevent 'message not found' errors.
- If 'Message Is Mine' is false, ensure the participant number is provided; otherwise, the deletion request may fail.
- Check API authentication credentials if the node throws authorization errors.