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 various features of a Zalo OA. Specifically, the "Lấy Thông Tin Đơn Hàng" (Get Order Information) operation allows retrieving detailed information about a specific order by its ID.
Common scenarios for this node include:
- Fetching order details to display or process in workflows.
- Automating customer support by retrieving order status and details.
- Integrating Zalo OA order data with other systems like CRMs or inventory management.
Practical example:
- A workflow triggers when a new message arrives from a user, then uses this node to fetch the order details by order ID to provide personalized responses or update internal records.
Properties
| Name | Meaning |
|---|---|
| ID Đơn Hàng | The unique identifier of the order to retrieve details for. This is a required string input. |
Output
The node outputs JSON data containing the response from the Zalo OA API for the requested order information. The structure typically includes fields describing the order such as order ID, items, shipping details, status, total amount, and other metadata provided by the Zalo OA API.
If an error occurs during the API call, the output JSON will contain an error flag set to true, an error message, and possibly additional response data with details from the API.
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/v3.0/oa. - Depends on the
axiosHTTP client library for making API requests.
Troubleshooting
Common issues:
- Invalid or expired access token leading to authentication errors.
- Incorrect or non-existent order ID causing the API to return errors or empty results.
- Network connectivity problems preventing API calls.
Error messages and resolutions:
"Error getting product info: ..."or similar messages indicate failure in fetching data; verify the order ID and ensure the access token has proper permissions.- If the API returns permission-related errors, confirm that the Zalo OA app has granted necessary scopes and the token is valid.
- For unexpected API changes or failures, consult the latest Zalo OA API documentation and update credentials or parameters accordingly.