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 automation of various OA management tasks. Specifically, the "Xóa Tag" (Remove Tag) operation allows users to delete a tag from their Zalo OA. This is useful for maintaining an organized tagging system by removing obsolete or incorrect tags.
Practical scenarios include:
- Cleaning up tags that are no longer relevant.
- Managing user segmentation by removing outdated tags.
- Automating tag lifecycle management in marketing workflows.
Example: Automatically remove a tag identified by its ID after a campaign ends to keep the tag list current.
Properties
| Name | Meaning |
|---|---|
| Tag ID | The unique identifier of the tag to be removed. |
Output
The node outputs a JSON object containing the response from the Zalo OA API after attempting to remove the specified tag. The structure typically includes success status and any relevant messages or error details returned by the API.
Example output JSON structure:
{
"error": false,
"message": "Tag removed successfully",
// other fields depending on API response
}
If the removal fails, the output will contain an error flag and descriptive message explaining the failure.
Dependencies
- Requires an active Zalo Official Account API access token credential configured in n8n.
- Uses the Zalo OA API endpoint
https://openapi.zalo.me/v3.0/oa/tag/rmtag. - HTTP requests are made using Axios library.
- Content-Type header is set to
application/json.
Troubleshooting
Common issues:
- Invalid or expired access token leading to authentication errors.
- Providing a non-existent or incorrect Tag ID.
- Insufficient permissions on the Zalo OA to modify tags.
Error messages and resolutions:
"error": truewith message about invalid token: Refresh or reconfigure the API credentials."error": truewith message indicating tag not found: Verify the Tag ID is correct and exists.- Network or timeout errors: Check network connectivity and API availability.
Ensure the access token has the necessary scope to manage tags on the Zalo OA.
Links and References
- Zalo Official Account API Documentation
- Zalo OA Tag Management API Reference (general reference, actual endpoint used is
/v3.0/oa/tag/rmtag)