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 manage various aspects of their Zalo OA such as messaging, followers, articles, products, categories, orders, and tags. Specifically, the "Lấy Thông Tin Sản Phẩm" (Get Product Info) operation retrieves detailed information about a product in the OA's store by its product ID.
Typical use cases include:
- Fetching detailed product data for display or processing within an automation workflow.
- Integrating Zalo OA product information into other systems like CRMs or e-commerce platforms.
- Automating inventory checks or updates based on product details retrieved from Zalo OA.
Example: You can use this node to get the details of a specific product by providing its product ID, then use that data to update your internal database or trigger notifications.
Properties
| Name | Meaning |
|---|---|
| ID Sản Phẩm | The unique identifier (ID) of the product whose information you want to retrieve. |
Output
The node outputs a JSON object containing the response from the Zalo OA API for the requested product information. This typically includes fields such as product name, price, description, code, category, photos, status, and other relevant product details as returned by the API.
If an error occurs (e.g., invalid product ID or access issues), the output JSON will contain an error flag set to true, an error message, and possibly additional response data from the API to help diagnose the issue.
The node does not output binary data for this operation.
Dependencies
- Requires an active Zalo Official Account API access token credential configured in n8n.
- Uses the Zalo OA API endpoint at
https://openapi.zalo.me/v2.0/oa/store/product/getproduct. - Requires proper permissions granted to the access token to read product information.
Troubleshooting
Common Issues:
- Invalid or missing product ID: Ensure the product ID provided exists and is correct.
- Access token issues: Make sure the API key or token has the necessary permissions and is valid.
- Network or API errors: Temporary network issues or API downtime may cause failures.
Error Messages:
"Error getting product info: <message>": Indicates failure in fetching product details. Check the product ID and access token validity.- Response data included in the error output can provide HTTP status codes and API error messages for further diagnosis.
Resolutions:
- Verify the product ID is correct and the product exists in the OA store.
- Confirm the access token is current and has required scopes.
- Review API documentation for any changes or limitations.
- Retry after some time if the issue is due to temporary API unavailability.
Links and References
- Zalo Official Account API Documentation
- Zalo OA Store Product API Reference (general reference; actual URL may vary)
Note: The above summary focuses exclusively on the "Lấy Thông Tin Sản Phẩm" operation under the "Zalo OA" resource as requested.