Tin Nhắn Nhanh Zalo icon

Tin Nhắn Nhanh Zalo

Quản lý tin nhắn nhanh (quick messages) trong Zalo

Lấy Danh Sách

AI-generated

Overview

This node interacts with the Zalo API to manage quick messages. Specifically, for the 'Lấy Danh Sách' (Get List) operation under the Default resource, it retrieves a paginated list of quick messages from Zalo. This is useful for scenarios where users want to fetch and display quick messages stored in their Zalo account, such as in customer support or marketing automation workflows.

Use Case Examples

  1. Fetching the first 20 quick messages to display in a dashboard.
  2. Retrieving quick messages with pagination by skipping a certain number of records and limiting the count to 50.

Properties

Name Meaning
Số Bản Ghi Bỏ Qua Number of records to skip for pagination, allowing the user to control which subset of quick messages to retrieve.
Số Lượng Trả Về Number of quick message records to return, with a maximum limit of 100 to control the size of the response.

Output

JSON

  • json - The JSON output contains the list of quick messages retrieved from the Zalo API, including details of each message.

Dependencies

  • Requires Zalo API credentials including cookie, IMEI, and user agent for authentication.

Troubleshooting

  • Common issues include authentication failures due to invalid or expired credentials, resulting in errors like 'Failed to initialize Zalo API. Check your credentials.'
  • Errors may also occur if the operation parameter is invalid or missing, leading to 'Unknown operation' errors.
  • Ensure that the 'skip' and 'count' parameters are within valid ranges to avoid API errors.

Discussion