codedao12 - Zalo User icon

codedao12 - Zalo User

Tổng hợp chức năng gửi tin nhắn, quản lý user, group, cài đặt

Actions104

User Action → Người dùng: Chặn hoặc bỏ chặn

AI-generated

Summary

Block or unblock a Zalo user by specifying their User ID; toggle to either block or unblock the user as desired.

Inputs

  • useSession — Choose whether to use a custom credential session instead of the default n8n credential.
  • connectToId (required) — Select the Zalo account to operate with by userID or phone number when using custom credentials.
  • userId (required) — The User ID of the Zalo user to be blocked or unblocked.
  • unblockUser (required) — Enable to unblock the user; disable to block the user.

Output shape

a single record containing the operation result (success or failure status).

The output indicates whether the user was successfully blocked or unblocked. There is no pagination or list return; the operation acts on one user at a time.

Examples

Example 1: Block a Zalo user

Set 'unblockUser' to false and specify the User ID to block the user.

Example 2: Unblock a Zalo user

Set 'unblockUser' to true and specify the User ID to unblock the user.

Links

Discussion