Overview
This node integrates with the Vote Kit API to manage voting polls and their options. It supports creating, updating, retrieving, listing, and deleting votes (polls) as well as managing individual vote options. This node is useful for automating workflows that involve polling or voting mechanisms, such as gathering feedback, conducting surveys, or running contests.
For example, you can use this node to:
- Create a new poll with multiple voting options.
- Update an existing poll’s details like title, description, or voting rules.
- Delete a poll when it is no longer needed.
- Add, update, or remove options within a poll.
- Retrieve poll results or list all polls with pagination.
Properties
| Name | Meaning |
|---|---|
| Vote ID | The unique identifier of the poll (required for operations like deleteVote). |
Note: Although only "Vote ID" is listed here per your input, the node supports many other properties depending on the operation, such as Title, Description, Max Vote Per User, Winner Count, Start Time, End Time, Public Voter Info, and more. These are used mainly in create or update operations.
Output
The node outputs JSON data representing the response from the Vote Kit API for the performed operation. This typically includes details about the poll or option affected, such as poll metadata, option lists, or confirmation of deletion.
If an error occurs and the node is set to continue on failure, the output will contain an error message object instead.
The node does not output binary data.
Dependencies
- Requires an API key credential for authenticating requests to the Vote Kit API.
- Uses HTTP methods (GET, POST, DELETE) to interact with Vote Kit endpoints.
- Requires proper configuration of the API authentication credential in n8n.
Troubleshooting
Common issues:
- Missing or invalid Vote ID when required will cause errors.
- Incorrect API credentials or network issues may result in failed requests.
- Providing incomplete or invalid parameters for create/update operations can lead to API validation errors.
Error messages:
- Errors returned by the API are passed through; typical messages include "Poll not found," "Invalid parameters," or authentication failures.
- To resolve, verify that all required fields are provided, credentials are correct, and the Vote ID exists for the operation.
Links and References
- Vote Kit Official Documentation (Replace with actual URL if available)
- n8n HTTP Request Node documentation for understanding API calls: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/