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 integrates with the Wappfy API to interact with WhatsApp functionalities programmatically. Specifically, for the Chat - List operation, it retrieves a list of WhatsApp chats associated with a given session. This is useful for scenarios where you want to automate or analyze chat data, such as fetching recent conversations, monitoring chat activity, or integrating chat lists into other workflows.
Practical examples:
- Automatically retrieving the latest 20 chats to display in a dashboard.
- Fetching chats with pagination support to process large volumes of conversations.
- Sorting chats by message timestamp or name to prioritize processing.
Properties
| Name | Meaning |
|---|---|
| Limit | Number of chat items to return (default 20). |
| Offset | Number of chat items to skip before starting to return results (default 0). |
| Sort By | Field to sort the chat list by. Options: Message Timestamp, ID, Name. |
| Sort Order | Order to sort the chats. Options: Ascending, Descending (default Descending). |
Output
The output is an array of JSON objects representing individual chat entries retrieved from the Wappfy API. Each item corresponds to a chat and contains details as provided by the API, such as chat ID, name, last message timestamp, and other metadata.
If multiple chats are returned, they are output as separate items in the node's main output.
No binary data is output by this operation.
Dependencies
Requires a valid connection to the Wappfy API, including:
- Base URL of the Wappfy API instance.
- Instance name identifier.
- An API key credential for authentication.
The node must be configured with these credentials prior to execution.
Troubleshooting
Common issues:
- Invalid or missing API key credential will cause authentication failures.
- Incorrect instance name or base URL may result in connection errors.
- Requesting too large a limit or invalid offset might lead to unexpected empty results or API errors.
Error messages:
- Authentication errors typically indicate problems with the API key; verify and update credentials.
- HTTP 404 or similar errors suggest incorrect instance name or resource path.
- Network timeouts or connectivity errors require checking network access to the Wappfy API endpoint.
To handle errors gracefully, enable "Continue On Fail" in the node settings to capture error messages per item.
Links and References
- Wappfy API Documentation (example placeholder, replace with actual if available)
- WhatsApp Business API concepts for understanding chat data structures.
This summary focuses on the Chat - List operation of the Wappfy node based on static code analysis and provided property definitions.