Zalo Người dùng by diginno.net icon

Zalo Người dùng by diginno.net

Quản lý người dùng Zalo by diginno.net

Hệ Thống → Lấy Trạng Thái Hoạt Động

AI-generated

Summary

Checks a Zalo user’s last activity status using their user ID. The node logs in with the configured Zalo credentials, calls lastOnline, and returns the result for each input item.

Inputs

  • userId (required) — ID of the Zalo user to check.
  • Zalo credentials (required) — A Zalo credential is required to log in and call the API.

Output shape

One item per input item, each containing a JSON object with status, userId, and lastOnline.

status is set to Thành công; lastOnline contains the value returned by the Zalo API. Errors are thrown for the item unless Continue On Fail is enabled, in which case an item with an error field is returned.

Examples

Example 1: Check a user's last active status

Supply the required userId and valid Zalo credentials; the node calls api.lastOnline(userId).

Links

Discussion