Actions83
- Instances Actions
- Client Actions
- Message Actions
- Chat Actions
- Contact Actions
- Number Actions
- Group Actions
- Channel Actions
- Label Actions
- Story Actions
Overview
This node allows you 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 user actions or automated workflows.
For example, if a team uses pinned messages to highlight daily tasks or announcements, this node can be used to programmatically unpin outdated messages at the end of the day.
Properties
| Name | Meaning |
|---|---|
| Id | Instance ID (a numeric identifier for the instance; required but usage context unclear) |
| Message Id | Serialized message identifier in the format <fromMe>_<chatId>_<hash>; identifies the exact message to unpin |
Output
The node outputs JSON data representing the response from the WaAPI API after attempting to unpin the specified message. The structure typically includes confirmation of success or details about the unpinned message. There is no indication that binary data is output by this node.
Dependencies
- Requires an API key credential for authenticating with the WaAPI service.
- The node sends requests to
https://waapi.app/api/v1. - Proper configuration of the API key credential in n8n is necessary for successful operation.
Troubleshooting
Common issues:
- Invalid or expired API key leading to authentication errors.
- Incorrectly formatted
Message Idcausing the API to fail to locate the message. - Network connectivity problems preventing access to the WaAPI endpoint.
Error messages and resolutions:
- Authentication failed: Verify that the API key credential is correctly set up and has not expired.
- Message not found: Ensure the
Message Idfollows the correct serialized format and corresponds to an existing pinned message. - Network error: Check internet connection and firewall settings to allow outbound requests to the WaAPI domain.
Links and References
- WaAPI Official Documentation (for detailed API usage and message ID formatting)
- n8n Credentials Setup (for configuring API keys in n8n)