Sweeppea icon

Sweeppea

Interact with the Sweeppea API

Actions15

Winner → Get Many

AI-generated

Summary

Fetches winners previously drawn for a Sweeppea sweepstake, optionally filtered by a search term, and returns each winner as a separate item.

Inputs

  • Sweepstakes Token (required) — UUID token identifying the sweepstake whose winners are fetched.
  • Return All — If true, pages through all results; if false, stops at the Limit. Defaults to false.
  • Limit — Maximum number of winners to return (min 1, default 50). Shown only when Return All is off.
  • Filters > Search — Search term to filter winners by email or phone number. Sent to the API only if non-empty.

Output shape

A list of items, one per winner record returned by the Sweeppea API. Each item's JSON is the winner object as returned.

Requests go to POST /winners/fetch in pages of 100 and continue until a short or empty page, or until the limit is reached. Results are truncated to the Limit when Return All is off. If no winners exist, no items are returned. The exact fields of each winner come from the API and aren't defined in the node. With Continue On Fail enabled, errors are emitted as items containing the API error body or a Response:false message.

Examples

Example 1: Export all winners of a sweepstake to a spreadsheet after a draw.

Sweepstakes Token set to the sweepstake UUID; Return All enabled; no filters.

Example 2: Check whether a specific entrant has won.

Sweepstakes Token set; Return All off, Limit 10; Filters > Search set to the entrant's email or phone number.

Links

Discussion