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
Chat → Unarchive
AI-generatedOverview
The node enables interaction with WhatsApp through the Wappfy API, specifically allowing management of chats and their states. The "Chat - Unarchive" operation unarchives a previously archived chat, making it active and visible again in the user's chat list.
This operation is useful when you want to restore access to conversations that were archived for decluttering or organizational purposes without deleting them. For example, if a user archived a chat but later needs to resume communication, this operation can be used to unarchive it programmatically.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the chat to unarchive (e.g., 123456789@c.us for direct chats or 123456789@g.us for groups). |
Output
The output JSON contains the response from the Wappfy API after attempting to unarchive the specified chat. This typically includes confirmation of success or details about the updated chat state.
If multiple items are processed, the output is an array of such responses, each corresponding to one input item.
No binary data is output by this operation.
Dependencies
- Requires an active Wappfy API credential with:
- Base URL of the Wappfy API.
- Instance name identifying the WhatsApp session.
- An API key for authentication.
- The node makes HTTP POST requests to the endpoint
/api/{instanceName}/chats/{chatId}/unarchive.
Troubleshooting
Common issues:
- Invalid or missing Chat ID: Ensure the Chat ID is correctly provided and formatted.
- Authentication errors: Verify that the API key and instance name credentials are correct and valid.
- Network or API endpoint errors: Confirm that the base URL is reachable and the Wappfy service is operational.
Error messages:
- Errors returned from the API will be included in the output JSON under an error field if the node is set to continue on failure.
- If not continuing on failure, the node throws an error indicating the issue, such as invalid parameters or authorization failures.
Links and References
- Wappfy API Documentation (general reference for API endpoints and usage)
- WhatsApp chat identifiers format: Typically
{phoneNumber}@c.usfor individual chats and{groupId}@g.usfor group chats.