Actions22
- Nhóm Actions
- Thành Viên Actions
- Cài ĐặT Actions
- Kiểm Duyệt Actions
- Nội Dung Actions
- Link Mời Actions
Nội Dung → Lấy Lịch Sử Chat
AI-generatedOverview
This node operation retrieves the chat history from a specified group in Zalo, a popular messaging platform. It is useful for scenarios where users need to access past messages for review, analysis, or record-keeping. For example, a business might use this node to fetch recent conversations from a customer support group to analyze customer interactions.
Use Case Examples
- Fetching the last 50 messages from a specific Zalo group to monitor customer support chats.
- Retrieving chat history starting from a specific timestamp to audit conversations during a particular period.
Properties
| Name | Meaning |
|---|---|
| ID Nhóm | The ID of the group from which to retrieve the chat history. |
| Giới Hạn | The maximum number of messages to retrieve, with a default of 50 and a maximum of 500. |
| Timestamp Bắt Đầu | The Unix timestamp (in seconds) to start fetching messages from. If left empty, the node fetches the most recent messages. |
Output
JSON
json- The retrieved chat messages and related data from the specified group.
Dependencies
- Requires valid Zalo API credentials (cookie, imei, userAgent) to authenticate and access group chat data.
Troubleshooting
- Ensure that the provided group ID is correct and that the authenticated user has access to the group.
- If the node throws an error about missing or invalid credentials, verify that the Zalo API credentials are correctly configured.
- Check the timestamp format; it must be a Unix timestamp in seconds. Incorrect formats may result in no data or errors.
- The limit parameter must be between 1 and 500; values outside this range may cause errors.
Links
- Zalo Node Documentation by diginno.net - Official documentation and usage guide for the Zalo node in n8n.