Actions15
Participant → Get Form Fields
AI-generatedSummary
Fetches the entry form fields configured for a Sweeppea sweepstake by calling the API's /entrypage/fields endpoint with the sweepstakes token.
Inputs
- Sweepstakes Token (required) — UUID token of the sweepstake whose entry form fields should be retrieved. Sent to the API as SweepstakesToken.
- Additional Fields — Collection shown for this operation containing a 'Use Input Data' boolean (default true). The source for Get Form Fields never reads it, so it has no effect on the request.
Output shape
One output item per input item. Its json is the unmodified API response from POST /entrypage/fields, which describes the sweepstake's entry form fields. The item is paired to its input item.
The exact response fields are defined by the Sweeppea API and are not visible in the node source. With 'Continue On Fail' enabled, errors return the API error body, or {Response:false, Message, itemIndex}, instead of stopping the workflow. A 404 becomes a 'Sweepstake not found' error, and a 400 surfaces the API's validation message.
Examples
Example 1: Look up which fields a sweepstake's entry form requires before creating participants.
Resource: Participant, Operation: Get Form Fields, Sweepstakes Token set to the sweepstake UUID. Use the output to build the Custom Fields for a following Create Participant node.