Actions3
Poll → Khóa Bình Chọn
AI-generatedOverview
This node operation locks a poll on the Zalo platform by its poll ID. It is useful for scenarios where a poll needs to be closed or locked to prevent further voting or changes. For example, after a poll has reached its deadline or sufficient responses, this operation can be used to lock the poll to finalize results.
Use Case Examples
- Lock a poll by providing its poll ID to prevent further votes.
- Use in automated workflows to close polls at a scheduled time.
Properties
| Name | Meaning |
|---|---|
| ID Bình Chọn | The unique numeric ID of the poll to be locked, required for the operation. |
Output
JSON
success- Indicates if the poll was successfully locked (boolean).response- The response data from the Zalo API after locking the poll.poll_id- The ID of the poll that was locked.
Dependencies
- Requires Zalo API credentials (cookie, imei, userAgent) to authenticate and perform the lock operation.
Troubleshooting
- Ensure the poll ID is valid and exists on the Zalo platform.
- Verify that the Zalo API credentials are correctly configured and have not expired.
- Common error: 'No API instance found' indicates missing or invalid credentials; re-authenticate to resolve.
- If the poll cannot be locked, check if it is already locked or if the user has permission to lock it.
Links
- Zalo Node Documentation by diginno.net - Official documentation and guidance for using the Zalo node in n8n workflows.