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
This node enables interaction with WhatsApp through the Wappfy API, specifically allowing management of chats and messages. The "Unpin Message" operation under the "Chat" resource lets users unpin a previously pinned message in a specified chat. This is useful for managing important messages that were highlighted but no longer need to be emphasized.
Common scenarios include:
- Removing a pinned announcement or reminder from a group chat after it is no longer relevant.
- Managing chat message pins dynamically based on conversation flow or administrative decisions.
Example: Unpinning a message with ID 12345 in chat 987654321@g.us to clear the pinned message area in a group.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the chat where the message is pinned (e.g., 123456789@g.us). |
| Message ID | The unique identifier of the message to unpin within the specified chat. |
Output
The output JSON contains the response from the Wappfy API after attempting to unpin the message. Typically, this will include confirmation of success or details about the unpinned message. If the operation fails, an error object may be returned instead.
No binary data is involved in this operation.
Dependencies
- Requires a valid Wappfy API credential with an API key and instance name configured in n8n.
- The node makes HTTP requests to the Wappfy API endpoints.
- Network access to the Wappfy API base URL is necessary.
Troubleshooting
- Invalid Chat ID or Message ID: Ensure the provided IDs are correct and correspond to existing chats and messages.
- API Authentication Errors: Verify that the API key credential is correctly set up and has sufficient permissions.
- Network Issues: Confirm that the n8n instance can reach the Wappfy API endpoint.
- Error Messages: The node may throw errors if the API returns failures; these typically include messages indicating invalid parameters or permission issues. Review the error message and adjust inputs accordingly.
Links and References
- Wappfy API Documentation (for detailed API usage and endpoints)
- WhatsApp Messaging Best Practices