Create Option
AI-generatedOverview
This node operation allows users to create a new voting option within an existing vote (poll) using the Vote Kit API. It is useful in scenarios where a poll is already created and additional options need to be added dynamically. For example, in an online survey or voting system, administrators can add new choices for participants to select from.
Use Case Examples
- Adding a new candidate option to an ongoing election poll.
- Including an additional product feature option in a customer feedback survey.
Properties
| Name | Meaning |
|---|---|
| Title | The title of the vote option to be created. |
| Vote ID | The identifier of the existing vote (poll) to which the new option will be added. |
Output
JSON
id- The unique identifier of the created option.pollId- The ID of the vote (poll) the option belongs to.title- The title of the created option.
Dependencies
- Requires an API key credential to authenticate requests to the Vote Kit API.
Troubleshooting
- Ensure the Vote ID (pollId) is valid and corresponds to an existing vote; otherwise, the API request will fail.
- The Title field must not be empty; an empty title may cause the API to reject the creation request.
- Check API authentication credentials if requests fail due to authorization errors.
Links
- Vote Kit API Documentation - Official API documentation for Vote Kit, detailing endpoints and usage.