Vote Kit icon

Vote Kit

Consume Vote Kit API

Get Vote

AI-generated

Overview

This node interacts with the Vote Kit API to retrieve detailed information about a specific vote (poll) using its Vote ID. It is useful for scenarios where you need to fetch the current state or details of a particular vote, such as displaying poll results or verifying poll data in an automation workflow.

Use Case Examples

  1. Fetching the details of a poll by its ID to display results on a dashboard.
  2. Retrieving vote information to trigger conditional logic based on poll status or data.

Properties

Name Meaning
Vote ID The unique identifier of the vote (poll) to retrieve. This is a required field for the Get Vote operation.

Output

JSON

  • _id - The unique identifier of the vote (poll).
  • title - The title of the vote.
  • description - Description of the vote.
  • maxVotePerUser - Maximum number of votes allowed per user.
  • winnerCount - Number of winners for the vote.
  • startTime - Start time of the vote.
  • deadline - End time of the vote.
  • publicVoterInfo - Indicates if voter information is public.
  • publicCreate - Indicates if option creation is public.
  • revote - Indicates if vote updates are allowed.
  • comment - Indicates if comments are allowed.
  • hideResultBeforeEnd - Indicates if results are hidden before the vote ends.
  • addBonus - Indicates if the vote has a bonus feature.
  • rewardVoters - Indicates if bonus rewards are shared with voters.
  • votersBonusPercentage - Percentage of bonus shared with voters.
  • enableOptionLimit - Indicates if there is a limit on options per user.
  • optionLimit - Maximum number of options allowed per user.
  • options - List of vote options associated with the poll.

Dependencies

  • An API key credential for authenticating requests to the Vote Kit API.

Troubleshooting

  • Common issues include providing an invalid or missing Vote ID, which will result in errors when fetching the vote data.
  • API authentication failures due to missing or incorrect credentials.
  • Network or server errors from the Vote Kit API endpoint.

Discussion