schedule_drawing
Schedule a future winner drawing for a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token, and fetch_groups for group tokens. CRITICAL: This is a production operation. ALWAYS confirm with the user before scheduling. Requires at least one eligible participant. Winner count cannot exceed available participants. Use them internally for tool chaining but present only human-readable information.
schedule_drawing
When to use
Schedule a future winner drawing for a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token, and fetch_groups for group tokens. CRITICAL: This is a production operation. ALWAYS confirm with the user before scheduling. Requires at least one eligible participant. Winner count cannot exceed available participants. Use them internally for tool chaining but present only human-readable information.
Pre-calls required
fetch_sweepstakes if the user gave you a sweepstakes name instead of a token
fetch_rules — Official Rules must exist
Verify the scheduled date is in the future and matches what is stated in the Rules
Parameters to validate before calling
sweepstakes_token (string, required) — The sweepstakes token (UUID format)
group (string, required) — Group token or "allgroups" for all participants
selected_action (number, required) — one of: 1, 2 — Action: 1 = Draw Winners only, 2 = Draw Winners & Notify
schedule_mode (string, required) — one of: schedule, settime — Mode: "schedule" for specific date/time, "settime" for time period
how_many_winners (number, required) — Number of winners to pick (must be >= 1)
end_date (string, required) — Drawing date or period end date (YYYY-MM-DD)
end_time (string, required) — Time in HH:mm format (24-hour)
timezone (number, required) — Timezone ID (use fetch_timezones to get valid IDs, default: 7 = Eastern)
frequency (number, optional) — one of: 0, 1, 2, 3, 4 — Frequency: 0=None, 1=Hourly, 2=Daily, 3=Weekly, 4=Monthly (default: 0)
day_of_the_week (number, optional) — Day of week: 1=Sunday through 7=Saturday (for weekly/monthly frequency)
week_of_the_month (number, optional) — Week of month: 1-4 (for monthly frequency)
delivery_time (string, optional) — Delivery time for settime mode (HH:mm)
message (string, optional) — Winner notification message (used when selected_action = 2)
include_opted_out (boolean, optional) — Include opted-out participants (default: false)
publish_to_winners_page (boolean, optional) — Publish winners to public winners page (default: false)
send_copy_to_me (boolean, optional) — Email notification to account owner (default: false)
exclude_spam (boolean, optional) — Exclude spam-flagged participants (default: true)
add_to_calendar (boolean, optional) — Add drawing to calendar (default: false)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Group token or "allgroups" for all participants | |
| message | No | Winner notification message (used when selected_action = 2) | |
| end_date | Yes | Drawing date or period end date (YYYY-MM-DD) | |
| end_time | Yes | Time in HH:mm format (24-hour) | |
| timezone | Yes | Timezone ID (use fetch_timezones to get valid IDs, default: 7 = Eastern) | |
| frequency | No | Frequency: 0=None, 1=Hourly, 2=Daily, 3=Weekly, 4=Monthly (default: 0) | |
| exclude_spam | No | Exclude spam-flagged participants (default: true) | |
| delivery_time | No | Delivery time for settime mode (HH:mm) | |
| schedule_mode | Yes | Mode: "schedule" for specific date/time, "settime" for time period | |
| add_to_calendar | No | Add drawing to calendar (default: false) | |
| day_of_the_week | No | Day of week: 1=Sunday through 7=Saturday (for weekly/monthly frequency) | |
| selected_action | Yes | Action: 1 = Draw Winners only, 2 = Draw Winners & Notify | |
| send_copy_to_me | No | Email notification to account owner (default: false) | |
| how_many_winners | Yes | Number of winners to pick (must be >= 1) | |
| include_opted_out | No | Include opted-out participants (default: false) | |
| sweepstakes_token | Yes | The sweepstakes token (UUID format) | |
| week_of_the_month | No | Week of month: 1-4 (for monthly frequency) | |
| publish_to_winners_page | No | Publish winners to public winners page (default: false) |