Sweeppea icon

Sweeppea

Interact with the Sweeppea API

Actions15

Sweepstake → Update

AI-generated

Summary

Updates an existing Sweeppea sweepstake's name, start/end dates, or start/end times by sending only the fields you set to the Sweeppea API.

Inputs

  • Sweepstakes Token (required) — UUID token identifying the sweepstake to update.
  • Update Fields > Name — New display name (max 200 characters), sent as SweepstakesName.
  • Update Fields > Start Date — New start date in YYYY-MM-DD format.
  • Update Fields > End Date — New end date in YYYY-MM-DD format.
  • Update Fields > Start Time — New start time in HH:MM 24-hour format.
  • Update Fields > End Time — New end time in HH:MM 24-hour format.

Output shape

One item per input item, containing the JSON response from the Sweeppea API's POST /sweepstakes/update endpoint.

The source doesn't validate fields locally, and the node spreads the Update Fields collection directly into the request body, so only the fields you add are sent. With Continue On Fail enabled, errors return the API error body (or a Response:false/Message object) instead of stopping. Otherwise a 404 reports a sweepstake not found (check the token) and a 400 reports the API validation message.

Examples

Example 1: Extend a running sweepstake's end date

Set Sweepstakes Token to the sweepstake UUID; add Update Fields > End Date = 2026-09-30.

Example 2: Rename a sweepstake and change its daily window

Set the token; add Name = 'Fall Giveaway', Start Time = 08:00, End Time = 20:00.

Links

Discussion