Actions85
- Instances Actions
- Client Actions
- Message Actions
- Chat Actions
- Contact Actions
- Number Actions
- Group Actions
- Channel Actions
- Label Actions
- Story Actions
Overview
This node allows users to unpin a specific message in a chat using the WaAPI service. Unpinning a message removes it from the pinned messages list, which is useful for managing important or highlighted messages within a conversation. Typical use cases include cleaning up pinned messages after they are no longer relevant or updating the pinned content dynamically based on chat activity.
For example, if a user previously pinned an announcement message but wants to remove it once the event has passed, this node can be used to unpin that message programmatically.
Properties
| Name | Meaning |
|---|---|
| Id | Instance ID (a numeric identifier for the instance; required) |
| Message Id | Serialized message identifier in the format <fromMe>_<chatId>_<hash> (required). This uniquely identifies the message to unpin. |
Output
The node outputs JSON data representing the result of the unpin operation. This typically includes confirmation of success or details about the unpinned message. The exact structure depends on the API response from WaAPI but generally confirms whether the message was successfully unpinned.
No binary data output is involved.
Dependencies
- Requires an active connection to the WaAPI service.
- Needs an API key credential configured in n8n to authenticate requests to WaAPI.
- The node uses the base URL
https://waapi.app/api/v1for API calls.
Troubleshooting
- Invalid Message Id: If the provided message ID does not exist or is malformed, the API may return an error indicating the message could not be found. Verify the message ID format and correctness.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key credential is correctly set up in n8n.
- Network Issues: Connectivity problems with the WaAPI endpoint can cause request failures. Check network access and endpoint availability.
- Permission Denied: If the API user does not have permission to modify the chat or message, the unpin operation will fail. Confirm appropriate permissions are granted.
Links and References
- WaAPI Official Documentation (for detailed API usage and message management)
- n8n Documentation (for general guidance on setting up credentials and using HTTP-based nodes)