Sweeppea icon

Sweeppea

Interact with the Sweeppea API

Actions15

Sweepstake → Clone

AI-generated

Summary

Clone an existing sweepstake into a new one with a new handler, display name, and schedule. Sends the source handler and new sweepstake details to Sweeppea, returning the API response as one output item per input item.

Inputs

  • Source Handler (required) — Handler of the existing sweepstake to clone.
  • New Handler (required) — Unique handler for the cloned sweepstake; declared as alphanumeric and up to 20 characters.
  • New Name (required) — Display name for the cloned sweepstake.
  • Start Date (required) — Start date for the clone in YYYY-MM-DD format.
  • End Date (required) — End date for the clone in YYYY-MM-DD format.
  • Start Time — Daily start time in HH:MM 24-hour format; defaults to 00:00.
  • End Time — Daily end time in HH:MM 24-hour format; defaults to 23:59.

Output shape

A single item containing Sweeppea's response for each input item.

Creates the clone through POST /sweepstakes/clone. With Continue On Fail enabled, an error response is returned as the item JSON instead of stopping the workflow.

Links

Discussion