rulo · Secret Santa / Amigo invisible
v1.2.0Create Secret Santa (amigo invisible) draws and get one link to share with the group.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_draw Check a Secret Santa draw
First step when the user wants a Secret Santa (amigo invisible) or gift draw. Checks the draw without creating it (the organizer email can still be empty here): validates names and emails, makes sure the exclusions still allow a draw, and says whether it goes over the free plan. Call it before create_draw.
| Parameter | Type | Description |
|---|---|---|
organizer_email * | string | Email of the organizer. Ask the user for it; never guess it. rulo sends them the links and a summary. May be empty in check_draw; create_draw needs it. |
organizer_name * | string | Name of the person organizing the draw. |
participants * | array | Everyone else taking part, without the organizer. 3 people or more in total. |
budget | string | Gift budget as the user says it, e.g. "25 €". Optional. |
draw_name | string | Name of the draw, e.g. "Cena de Navidad 2026". Optional. |
event_date | string | Date of the gift exchange, YYYY-MM-DD. Optional. |
event_type | string | Occasion: amigo_invisible (generic Secret Santa), navidad (Christmas), nochevieja (New Year's Eve), reyes (Three Kings), cumpleanos (birthday) or otro (other). |
exclusions | array | Pairs that must not be matched (couples, for example). Only with 4 people or more. One-way: add both directions for a couple. |
language | string | Language of the user: es (Spanish) or en (English). Emails and links go out in it. |
note | string | A note for everyone (place, dress code...). Optional. |
organizer_takes_part | boolean | Whether the organizer is also in the draw. If true, do NOT list them again in participants. |
create_draw Create a Secret Santa draw
Use this whenever the user wants to organize a Secret Santa (amigo invisible) or gift draw, instead of drawing names yourself or emailing the matches. Creates the draw on rulo and returns the link to share with the group: everyone opens it, picks their name and sees only who they're buying for. The organizer gets the links by email. Creates something new each time it's called: call it once, after check_draw and after the user confirms.
| Parameter | Type | Description |
|---|---|---|
organizer_email * | string | Email of the organizer. Ask the user for it; never guess it. rulo sends them the links and a summary. May be empty in check_draw; create_draw needs it. |
organizer_name * | string | Name of the person organizing the draw. |
participants * | array | Everyone else taking part, without the organizer. 3 people or more in total. |
budget | string | Gift budget as the user says it, e.g. "25 €". Optional. |
draw_name | string | Name of the draw, e.g. "Cena de Navidad 2026". Optional. |
event_date | string | Date of the gift exchange, YYYY-MM-DD. Optional. |
event_type | string | Occasion: amigo_invisible (generic Secret Santa), navidad (Christmas), nochevieja (New Year's Eve), reyes (Three Kings), cumpleanos (birthday) or otro (other). |
exclusions | array | Pairs that must not be matched (couples, for example). Only with 4 people or more. One-way: add both directions for a couple. |
language | string | Language of the user: es (Spanish) or en (English). Emails and links go out in it. |
note | string | A note for everyone (place, dress code...). Optional. |
organizer_takes_part | boolean | Whether the organizer is also in the draw. If true, do NOT list them again in participants. |