Actions30
- Bạn Bè Actions
- Tài Khoản Actions
- Riêng Tư Actions
- Biệt Danh Actions
- ẢNh ĐạI Diện Actions
- Tin Nhắn Actions
- Hệ Thống Actions
Bạn Bè → Hủy Lời Mời Đã Gửi
AI-generatedOverview
This node operation is designed to cancel a previously sent friend request on the Zalo platform. It is useful in scenarios where a user wants to retract a friend invitation that has not yet been accepted or declined by the recipient. For example, if a user mistakenly sends a friend request or changes their mind about connecting with someone, this operation allows them to undo that request.
Use Case Examples
- A user sends a friend request to another user but then decides to cancel it before the other user responds. Using this node operation, the user can specify the recipient's user ID to cancel the pending friend request.
- An automated workflow that manages social connections might include a step to undo friend requests that have been pending for too long, helping to keep the user's friend list and requests organized.
Properties
| Name | Meaning |
|---|---|
| ID Người Dùng | The user ID of the person whose sent friend request is to be canceled. This is a required string input. |
Output
JSON
status- The status code of the cancel friend request operation, indicating success or failure.message- A message describing the result of the operation, such as confirmation of cancellation.userId- The user ID for whom the friend request cancellation was performed.response- The raw response data from the Zalo API regarding the cancellation request.
Dependencies
- Requires valid Zalo API credentials (cookie, imei, userAgent) to authenticate and perform the operation.
Troubleshooting
- If the node throws an error indicating no API instance found, ensure that valid Zalo API credentials are provided and the session is active.
- Errors related to invalid user IDs or permissions may occur if the specified user ID does not correspond to a sent friend request or if the API credentials lack necessary permissions.
- Network or API errors might cause the operation to fail; verify network connectivity and API service status.
Links
- Tài liệu hướng dẫn - Official documentation and guidance for using the Zalo node in n8n.