Actions15
Sweepstake → Unpause
AI-generatedSummary
Reactivates a paused Sweeppea sweepstake by sending its token to the Sweeppea API's unpause endpoint (POST /sweepstakes/unpause).
Inputs
- Sweepstakes Token (required) — UUID token of the sweepstake to unpause. It is entered as a password-masked string and sent as SweepstakesToken in the request body.
Output shape
One output item per input item. Its json is the Sweeppea API's response to the unpause call, paired to the input item.
The response fields are not defined in the node, so they come straight from the API. A 404 raises 'Sweepstake not found. Please verify the Sweepstakes Token is correct.' A 400 raises the API's validation message. With Continue On Fail enabled, the API error body (or a {Response:false, Message, itemIndex} object) is returned as the item instead of stopping the run.
Examples
Example 1: Resume a sweepstake on a schedule, for example when a campaign pause window ends.
Resource: Sweepstake, Operation: Unpause, Sweepstakes Token: the sweepstake's UUID, set as a fixed value or an expression.
Example 2: Unpause several sweepstakes from a list of tokens.
Feed one item per token into the node and set Sweepstakes Token to an expression like {{ $json.token }}. The node runs once per item.