Zalo User icon

Zalo User

Quản lý người dùng Zalo

User → Hủy lời mời kết bạn đã gửi

AI-generated

Overview

This node manages Zalo user interactions, specifically for the operation 'Hủy lời mời kết bạn đã gửi' (Undo sent friend request). It allows users to cancel friend requests they have previously sent on the Zalo platform. This is useful for managing social connections and correcting accidental or unwanted friend requests.

Use Case Examples

  1. A user sends a friend request to someone but then decides to cancel it before it is accepted. This node can be used to undo that sent friend request.
  2. An automation workflow that cleans up pending friend requests by undoing those that have not been accepted after a certain period.

Properties

Name Meaning
userId The ID of the user whose sent friend request is to be undone.

Output

JSON

  • status - Indicates the success status of the operation, typically 'Thành công' (Success).
  • response - The response from the Zalo API after attempting to undo the sent friend request, containing details of the operation result.

Dependencies

  • Zalo API credentials including cookie, IMEI, and user agent for authentication.

Troubleshooting

  • If the node throws an error related to invalid credentials, ensure that the Zalo API credentials (cookie, IMEI, user agent) are correctly provided and valid.
  • Errors may occur if the userId parameter is missing or incorrect; verify that the userId is correctly specified.
  • Network or API errors from Zalo may cause failures; check network connectivity and API status.

Discussion