Change my gym's coaching brain
update_gym_brainUse this when an owner wants to change how their place's coaching brain sounds or looks: its name, its one line, its voice (how the coach talks to members), its method, its colour or its cover photo. Read the change back to the owner first, and set confirmation to true only after they said yes. Only the things given change; an empty value clears one. It saves to the brain; members get it once the brain is published again. The place needs a coaching brain first. It needs a connected Phorme account that owns the place.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The coach's name members see. | |
| color | No | The brand colour, as #rrggbb. | |
| voice | No | How the coach talks to members, in the owner's words. | |
| method | No | How the gym trains: the principles the coach plans by. | |
| tagline | No | One line under the name. | |
| place_id | Yes | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. | |
| confirmation | Yes | Set to true only after the owner said yes to these changes to the coaching brain. | |
| cover_image_url | No | An https link to the cover photo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lint | No | Lines in the voice or method to look at before members read them. | |
| next | Yes | ||
| brain | No | name, tagline, look, persona (the voice), method, status and publish_version. | |
| brain_id | Yes | ||
| place_id | Yes |