Create Poll
AI-generatedOverview
The node "Zalo Group (Enhanced)" provides enhanced operations for managing Zalo groups, specifically including the ability to create polls within a group. The "Create Poll" operation allows users to initiate a poll by specifying the target group, the poll's title, and multiple options for voting.
This node is beneficial in scenarios where group administrators want to gather opinions or make decisions collectively within a Zalo group. For example, a community manager can create a poll to decide on the date of an event or to select preferred topics for discussion.
Properties
| Name | Meaning |
|---|---|
| Group ID | Target group ID where the poll will be created. |
| Poll Title | Title of the poll that will be displayed to group members. |
| Options | Multiple poll options that group members can vote on. Each option represents a choice. |
Output
The node outputs JSON data representing the result of the poll creation operation. The exact structure depends on the response from the Zalo API but typically includes confirmation details such as poll ID, status, or any metadata related to the created poll.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the Zalo API.
- The node depends on the Zalo API service to perform group and poll management operations.
- Proper configuration of the API authentication token in n8n credentials is necessary.
Troubleshooting
- Missing or invalid Group ID: Ensure the Group ID is correct and that the authenticated user has permission to manage the specified group.
- Poll Title or Options not provided: Both are required fields; missing these will cause errors.
- API authentication errors: Verify that the API key credential is valid and has sufficient permissions.
- Network or API errors: Check connectivity and Zalo API status if requests fail unexpectedly.
Links and References
- Zalo Official API Documentation (for detailed API usage and parameters)
- n8n documentation on Creating Custom Nodes