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è → Từ Chối Lời Mời
AI-generatedOverview
This node operation is designed to reject friend requests on the Zalo platform. It is useful in scenarios where a user wants to programmatically manage their friend requests by declining unwanted or unsolicited invitations. For example, a business using Zalo for customer engagement might automate the rejection of friend requests from unknown or spam accounts to maintain a clean contact list.
Use Case Examples
- Reject a friend request by providing the user ID of the requester.
- Automate the management of incoming friend requests by rejecting those that do not meet certain criteria.
Properties
| Name | Meaning |
|---|---|
| ID Người Dùng | The user ID of the person whose friend request is to be rejected. |
Output
JSON
jsonstatus- Status code indicating the result of the reject friend request operation.message- A message describing the outcome of the operation, e.g., confirmation of rejection.userId- The user ID for whom the friend request was rejected.response- The raw response from the Zalo API after attempting to reject the friend request.
Dependencies
- Requires valid Zalo API credentials including cookie, IMEI, and user agent for authentication.
Troubleshooting
- Common issues include invalid or expired credentials leading to authentication errors. Ensure that the Zalo API credentials are correctly configured and valid.
- If the user ID provided is incorrect or does not correspond to a pending friend request, the operation may fail or return an error message.
- Network issues or API rate limits may cause the operation to fail intermittently. Retrying the operation or checking network connectivity can help resolve these issues.
Links
- Tài liệu hướng dẫn - Official documentation and guidance for using the Zalo node in n8n.