Zalo Group icon

Zalo Group

Quản lý nhóm Zalo

Overview

This node manages Zalo groups, specifically allowing users to add members to a Zalo group in this operation. It is useful for automating group management tasks such as adding multiple users to a group chat on the Zalo platform. For example, you can use it to programmatically add a list of user IDs to a specific group, which is helpful in scenarios like onboarding new team members or managing event participants.

Properties

Name Meaning
ID Nhóm (groupId) The unique identifier of the Zalo group where users will be added.
Danh Sách ID Thành Viên (nếu nhiều người dùng vui lòng phân cách bằng dấu phẩy) (userIds) A comma-separated list of user IDs to be added to the group.

Output

The output JSON contains the response from the Zalo API after attempting to add the specified users to the group. This typically includes details about the success or failure of the operation and any relevant metadata returned by the API.

Example output structure:

{
  "response": {
    // API-specific response data confirming addition of users
  }
}

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential to authenticate with the Zalo platform.
  • Uses the zca-js library internally to interact with the Zalo API.
  • Requires valid credentials including cookie, IMEI, and user agent information for authentication.
  • Must be configured with appropriate Zalo API credentials in n8n.

Troubleshooting

  • Common issues:

    • Invalid or expired credentials may cause authentication failures.
    • Incorrect group ID or user IDs may result in errors or no changes.
    • Network connectivity problems can prevent communication with the Zalo API.
  • Error messages:

    • "No API instance found. Please make sure to provide valid credentials."
      Means the node could not authenticate; verify that the API key and related credentials are correctly set.
    • Errors related to invalid parameters usually indicate incorrect group or user IDs; double-check these values.
    • If the node throws errors but continueOnFail is enabled, it will return error details per item instead of stopping execution.

Links and References

Discussion