Sweeppea icon

Sweeppea

Interact with the Sweeppea API

Actions15

Rule → Create

AI-generated

Summary

Create an official rules document for a Sweeppea sweepstake. Sends the sweepstakes token, document title, and full HTML content to Sweeppea, returning the API response as one output item per input item.

Inputs

  • Sweepstakes Token (required) — UUID token of the sweepstake that will receive the rules document.
  • Title (required) — Title for the official rules document; declared maximum is 100 characters.
  • Document Content (required) — Full HTML content of the rules; declared maximum is 1,000,000 characters.

Output shape

A single output item per input item containing the raw response from Sweeppea's rule-creation endpoint.

Posts the values as SweepstakesToken, Title, and DocumentContent to /rules/create. If Continue On Fail is enabled, errors are returned as output items instead of stopping the node.

Links

Discussion