Zalo Group icon

Zalo Group

Quản lý nhóm Zalo - Tạo nhóm, thêm/xóa thành viên, đổi tên, avatar và quản lý ghi chú

Overview

This node allows users to manage groups on the Zalo platform, specifically focusing on creating new groups with specified members. It is useful for automating group creation workflows, such as setting up team chats, community groups, or project collaboration spaces by programmatically defining group names and member lists.

A practical example: Automatically create a group named "Project Team" and add multiple user IDs separated by commas, streamlining onboarding or communication setup processes.

Properties

Name Meaning
Tên Nhóm (groupName) The name of the new group to be created.
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 member IDs to be added to the group upon creation.

Output

The output JSON contains the response from the group creation API call. This typically includes details about the newly created group such as its ID, name, and member information. The output is paired with the input item index for traceability.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Zalo platform.
  • The node internally uses a Zalo API client library that manages session cookies, device identifiers, and user agent strings.
  • Proper configuration of the API authentication token in n8n credentials is necessary.
  • The node expects environment or session data like IMEI and user agent to be available or fetched.

Troubleshooting

  • Common issues:

    • Invalid or missing API authentication token can cause authorization failures.
    • Incorrectly formatted user ID list (e.g., missing commas) may lead to errors when adding members.
    • Network or API downtime could result in request failures.
  • Error messages:

    • Errors thrown during execution include descriptive messages from the underlying API client.
    • If the node is set to continue on failure, error details are returned in the output JSON under an error field.
    • To resolve errors, verify API credentials, ensure correct formatting of inputs, and check network connectivity.

Links and References

Discussion