Actions36
- Zalo OA Actions
- Gửi Tin Nhắn Văn Bản
- Gửi Tin Nhắn Hình Ảnh
- Gửi Tin Nhắn File
- Gửi Tin Nhắn Danh Sách
- Lấy Thông Tin Người Theo Dõi
- Lấy Danh Sách Người Theo Dõi
- Cập Nhật Thông Tin Người Theo Dõi
- Lấy Danh Sách Cuộc Trò Chuyện Gần Đây
- Lấy Lịch Sử Hội Thoại
- Kiểm Tra Trạng Thái Tin Nhắn
- Upload Hình Ảnh
- Upload Hình Ảnh GIF
- Upload File
- Lấy Danh Sách Tag
- Gán Tag Cho Người Theo Dõi
- Xóa Tag
- Xóa Người Theo Dõi Khỏi Tag
- Cập Nhật Menu OA
- Tạo Bài Viết
- Cập Nhật Bài Viết
- Xóa Bài Viết
- Lấy Danh Sách Bài Viết
- Lấy Chi Tiết Bài Viết
- Chuẩn Bị Upload Video
- Xác Thực Video
- Tạo Sản Phẩm
- Cập Nhật Sản Phẩm
- Lấy Thông Tin Sản Phẩm
- Lấy Danh Sách Sản Phẩm
- Tạo Danh Mục
- Cập Nhật Danh Mục
- Lấy Danh Sách Danh Mục
- Tạo Đơn Hàng
- Cập Nhật Đơn Hàng
- Lấy Thông Tin Đơn Hàng
- Lấy Danh Sách Đơn Hàng
Overview
This node integrates with the Zalo Official Account (OA) API, enabling users to interact programmatically with their Zalo OA. Specifically, the "Lấy Danh Sách Người Theo Dõi" (Get Followers List) operation retrieves a paginated list of followers of the OA.
Typical use cases include:
- Fetching follower data for analytics or CRM integration.
- Automating marketing campaigns by segmenting followers.
- Synchronizing follower lists with other systems.
For example, you can use this node to pull batches of up to 50 followers starting from a specified offset, then process or store that data elsewhere.
Properties
| Name | Meaning |
|---|---|
| Vị Trí Bắt Đầu (offset) | The starting position (offset) in the follower list from which to begin fetching followers. Default is 0. |
| Số Lượng (count) | The number of followers to retrieve in one call. Maximum allowed is 50. Default is 10. |
Output
The output JSON contains the response from the Zalo OA API endpoint /user/getlist. It typically includes:
- A list of follower user objects under a
datafield. - Pagination information such as total count and next offset.
- Status and error messages if applicable.
The exact structure depends on the Zalo OA API but generally provides detailed follower information like user IDs and profile details.
No binary data output is produced by this operation.
Dependencies
- Requires an active Zalo Official Account API access token credential configured in n8n.
- Uses the Zalo OA API v3.0 endpoint:
https://openapi.zalo.me/v3.0/oa/user/getlist. - HTTP requests are made using Axios library.
- Proper permissions must be granted to the access token to read follower data.
Troubleshooting
Common issues:
- Access token missing or invalid: Ensure the API key credential is correctly set and valid.
- Insufficient permissions: The OA app must have the "read follower" permission enabled.
- Exceeding maximum count: The API limits the count parameter to 50; setting higher values will be capped.
- Network or API errors: Check network connectivity and Zalo API status.
Error messages:
"Lỗi khi gọi API lấy danh sách người theo dõi: <message>": Indicates failure calling the follower list API. Verify access token validity and permissions.- Notes about API changes suggest checking that the OA configuration and access rights are up to date.
Resolution tips:
- Confirm the access token has not expired.
- Verify the OA app's permissions in the Zalo developer console.
- Use offsets and counts within allowed ranges.
- Review API documentation for any recent changes.
Links and References
- Zalo Official Account API Documentation
- Zalo OA API User Get List Endpoint (refer to latest version)
- n8n community forums and docs for OAuth and API credential setup