Save the plan to Almost Fire
save_planUse this when the person wants to keep, save or start a plan make_plan made, or presses Save on its card. Saves the plan to their Almost Fire account, free: the first time it asks them to sign in, which makes their account. Send the answers make_plan used, so the saved plan is the one they saw. The card then opens their plan page in Almost Fire, where their first week starts. emailWeekly true also emails them each week's sessions on Monday mornings, until they start in the app. Do not use before make_plan has shown them a plan, or to change the plan of someone who already trains in Almost Fire.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | strength, muscle or fat_loss; null when they haven't said. | |
| split | No | full, upper_lower, ppl or body_part; auto or null picks the one that suits their days. | |
| style | No | How they like to train: supersets, straight sets, heavy, pump, machines, free weights, a finisher. | |
| protect | No | Areas to go easy on (a sore knee, a shoulder): the plan picks gentler options there. | |
| equipment | No | commercial (a full gym), home (a home gym with a rack) or dumbbells only. | |
| loveLifts | No | Lifts they want in. | |
| skipLifts | No | Lifts they don't want. | |
| daysPerWeek | Yes | Training days a week. | |
| emailWeekly | No | true only when the person said yes, in this chat, to an email of each week's sessions on Monday mornings. Null otherwise; never assume it. | |
| idempotencyKey | No | A new random id for this change (a UUID). Send the same one again only to retry this exact change. | |
| sessionMinutes | No | How long a session can be. | |
| buildPriorities | No | Up to two areas to build most. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |