Actions64
- Instancia Actions
- Mensagem Actions
- Grupo Actions
- Chat Actions
- Perfil Actions
- Evento Actions
- Integração Actions
Overview
The "Editar Mensagem" (Edit Message) operation for the Chat resource in this custom n8n node allows users to update the content of an existing chat message via the Evolution API. This is particularly useful in scenarios where a sent message contains errors or needs to be updated with new information. For example, customer support agents can correct typos or provide additional details in ongoing conversations without sending a new message.
Properties
Below are the supported input properties for this operation:
| Display Name | Type | Meaning |
|---|---|---|
| Nome Da Instância | String | The name of the Evolution API instance to use. Required for identifying which instance should process the request. |
| Contato | String | The contact number (remoteJid) of the recipient whose message will be edited. |
| ID Da Mensagem | String | The unique identifier of the message that you want to edit. |
| Nova Mensagem | String | The new text content that will replace the original message. |
Output
- The output is a JSON object (or array of objects) representing the result of the message editing operation.
- The structure typically includes fields such as status, messageId, and possibly the updated message content or confirmation from the API.
- No binary data is produced by this operation.
Dependencies
- External Service: Requires access to the Evolution API.
- API Key/Credentials: You must configure valid Evolution API credentials in n8n under the credential type
evolutionApi. - n8n Configuration: Ensure the node is properly configured with the required credentials and that the base URL is accessible.
Troubleshooting
Common Issues:
- Missing or incorrect credentials will prevent the node from authenticating with the Evolution API.
- Providing an invalid message ID or contact number may result in errors from the API.
- If the operation or resource is not supported, the node will throw an error indicating the function is not available.
Error Messages:
"Operação não suportada."— This means the selected operation is not implemented for the chosen resource. Double-check your resource and operation selection.- API errors may also be returned if the message cannot be found or edited; check the API response for more details.
Links and References
Example Input:
{
"Nome Da Instância": "MinhaInstancia",
"Contato": "5511999999999",
"ID Da Mensagem": "ABCD1234",
"Nova Mensagem": "Texto atualizado da mensagem"
}
Example Output:
{
"status": "success",
"messageId": "ABCD1234",
"updatedText": "Texto atualizado da mensagem"
}