Actions76
- Message Actions
- Chat Actions
- Contact Actions
- Group Actions
- Create
- List
- Get
- Delete
- Join
- Get Join Info
- Leave
- Get Picture
- Set Picture
- Delete Picture
- Update Subject
- Update Description
- Get Security Info Admin Only
- Set Security Info Admin Only
- Get Security Messages Admin Only
- Set Security Messages Admin Only
- Get Participants
- Add Participant
- Remove Participant
- Promote Admin
- Demote Admin
- Status Actions
- Channel Actions
- Poll Actions
- Profile Actions
- LID Actions
- File Actions
Overview
The node enables editing an existing message in a WhatsApp chat via the Wappfy API. It allows users to update the text content of a specific message identified by its message ID within a particular chat.
This operation is useful when you need to correct or update information sent in a message, such as fixing typos, updating details, or clarifying previous communication without sending a new message.
Practical example:
You sent a message with incorrect meeting time and want to update it to the correct time without spamming the chat with a follow-up correction message.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the chat where the message exists (e.g., 123456789@c.us). |
| Message ID | The unique identifier of the message to be edited within the specified chat. |
| New Text | The new text content that will replace the current message text. |
Output
- The output JSON contains the response from the Wappfy API after attempting to edit the message.
- Typically, this includes confirmation of the edit operation or details about the updated message.
- No binary data is involved in this operation.
Dependencies
- Requires connection to the Wappfy API service.
- An API key credential for authenticating requests to the Wappfy API must be configured in n8n.
- The node uses the base URL and instance name from the credentials to construct API endpoints.
Troubleshooting
Common issues:
- Invalid or missing Chat ID or Message ID will cause the API request to fail.
- Insufficient permissions or expired session may prevent editing messages.
- Network connectivity issues can cause request failures.
Error messages:
"Message not found": Verify that the provided Message ID exists in the specified chat."Unauthorized"or"Invalid API key": Check that the API key credential is correctly set up and valid."Chat not found": Confirm the Chat ID is correct and accessible by the session.
Resolution tips:
- Double-check input parameters for correctness.
- Ensure the API key and session are active and authorized.
- Review API limits or restrictions imposed by the Wappfy service.
Links and References
- Wappfy API Documentation (example placeholder, replace with actual if available)
- WhatsApp Messaging Guidelines
- n8n Documentation on Creating Custom Nodes