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 retrieves detailed information about a specific order by its ID.
Common scenarios for this node include:
- Fetching order details to display or process within an automation workflow.
- Integrating Zalo OA order data into CRM or ERP systems.
- Automating customer support processes by retrieving order status and details.
Practical example:
- A business receives an order via Zalo OA and wants to automatically fetch the order details to update their internal system or notify relevant teams.
Properties
| Name | Meaning |
|---|---|
| ID Đơn Hàng | The unique identifier of the order whose details you want to retrieve. This is required. |
Output
The node outputs a JSON object containing the response from the Zalo OA API for the requested order. The structure typically includes order details such as order ID, user information, shipping details, items ordered, pricing, status, and other metadata provided by the Zalo OA API.
If the API call fails, the output JSON will contain error information including an error flag, message, and possibly additional response data and suggestions for troubleshooting.
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 endpoint at
https://openapi.zalo.me/v2.0/oa. - The node depends on the
axiosHTTP client library for making API requests.
Troubleshooting
Common Issues
- Invalid or expired access token: The API call will fail if the access token is missing, invalid, or expired.
- Incorrect order ID: Providing a non-existent or malformed order ID will result in an error response.
- Insufficient permissions: The connected Zalo OA may lack the necessary permissions to access order information.
Error Messages and Resolutions
- Error fetching order info: [message]
Indicates failure in retrieving order details. Check that the order ID is correct and that the access token has proper permissions. - API response errors with status codes
Review the HTTP status code and response body for clues. Common issues include rate limiting, authentication failures, or malformed requests. - No data returned or empty response
Verify that the order exists and that the API endpoint is reachable.
Links and References
- Zalo Official Account API Documentation
- Zalo OA API Reference - Orders (Note: link is illustrative; check official docs for exact URLs)