Sweeppea icon

Sweeppea

Interact with the Sweeppea API

Actions15

Sweepstake → Get Many

AI-generated

Summary

Fetches all sweepstakes belonging to the authenticated Sweeppea account and emits each as a separate output item.

Inputs

None.

Output shape

A list of items, one per sweepstake, taken from the Data array of the API response. Each item is paired with the input item that triggered it.

No filters, limit, or pagination options are exposed. The node sends an empty POST body to /sweepstakes/fetch. If the response has no Data array, the whole response is returned as a single item. The operation runs once for each input item, so multiple input items repeat the full list. It needs the Sweeppea API credential. Neither a Sweepstakes Token nor any other parameter is required.

Examples

Example 1: Retrieve every sweepstake on the account to look up tokens or handlers for later steps.

Resource: Sweepstake, Operation: Get Many. No other parameters.

Example 2: Run daily on a schedule to build a report of all sweepstakes.

Schedule Trigger → Sweeppea (Sweepstake / Get Many) → Google Sheets or other node.

Links

Discussion