Zalo Group (Enhanced) icon

Zalo Group (Enhanced)

Enhanced group operations for Zalo

Lock Poll

AI-generated

Overview

The node "Zalo Group (Enhanced)" provides enhanced operations for managing Zalo groups, specifically including the ability to lock or unlock polls within a group. The "Lock Poll" operation allows users to control whether a specific poll in a group is locked (preventing further votes or changes) or unlocked (allowing interaction). This can be useful in scenarios such as finalizing poll results before announcing them or temporarily disabling voting during certain periods.

Practical examples:

  • Locking a poll after a deadline to prevent additional votes.
  • Unlocking a poll to allow members to change their votes if needed.

Properties

Name Meaning
Group ID Target group ID where the poll exists.
Poll ID Identifier of the poll to lock or unlock.
Lock Boolean flag indicating whether to lock (true) or unlock (false) the poll.

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each output item contains the original input JSON data unchanged. There is no indication from the source code that the node modifies or adds any new fields to the output JSON.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Zalo API service.
  • The node depends on the external Zalo API to perform group and poll operations.
  • Proper configuration of the Zalo API credentials in n8n is necessary for successful execution.

Troubleshooting

  • Common issues:

    • Invalid or missing Group ID or Poll ID will cause the operation to fail.
    • Incorrect or expired API credentials will result in authentication errors.
    • Attempting to lock/unlock a poll that does not exist or is already in the desired state may cause errors or no effect.
  • Error messages:

    • Authentication failures typically indicate problems with the API key or token; verify and update credentials.
    • Not found errors suggest invalid Group ID or Poll ID; double-check these values.
    • Permission denied errors may occur if the authenticated user lacks rights to modify the poll; ensure proper permissions.

Links and References

Discussion