Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
Chats → Get Chat Details
AI-generatedOverview
The node interacts with the WaliChat WhatsApp API, specifically providing operations related to WhatsApp chats. The "Get Chat Details" operation under the "Chats" resource retrieves detailed information about a specific chat associated with a given WhatsApp number (device). This can include the chat's messages, notes, and participants depending on user selection.
This node is beneficial in scenarios where you want to programmatically access chat details for automation, analytics, or integration purposes. For example, a customer support system could use it to fetch chat history and participant info to provide context to agents, or a CRM could sync chat notes and messages for record-keeping.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) from which to retrieve the chat details. |
| Chat ID | The unique identifier of the chat to get details for. Examples: 447362053576@c.us (user), ...@g.us (group). |
| Include Items | Specifies which related data to include in the response. Options are: Messages, Notes, Participants. |
Output
The output JSON contains detailed information about the specified chat. Depending on the "Include Items" property, the output may include:
- Messages: An array of message objects within the chat.
- Notes: Any notes associated with the chat.
- Participants: List of participants if the chat is a group.
The exact structure depends on the API response but generally includes chat metadata plus optionally the selected related data.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the WaliChat WhatsApp API.
- The node relies on the WaliChat API endpoints for fetching chat details.
- The "WhatsApp Number" must be a valid device registered in the WaliChat system.
- The node uses internal methods to load available devices dynamically for the WhatsApp Number property.
Troubleshooting
- Invalid Chat ID: If the chat ID does not exist or is malformed, the API will likely return an error. Verify the chat ID format and existence.
- Unauthorized / Invalid API Key: Ensure the API key credential is correctly configured and has permissions to access chat data.
- Device Not Found: The WhatsApp Number (device) must be valid and active in the WaliChat system; otherwise, the request will fail.
- Empty Response: If no related items are included or the chat has no messages/notes/participants, the response might be minimal or empty.
- Network Issues: Connectivity problems with the WaliChat API endpoint can cause failures; check network and API status.
Links and References
- WaliChat Official API Documentation (Assumed URL, replace with actual if known)
- WhatsApp Chat ID formats:
- User chat:
<number>@c.us - Group chat:
<number>00000000@g.us
- User chat:
Note: This summary is based solely on static analysis of the provided source code and property definitions.