Ask the human to decide
decidePut a question for the person on the call's Decision Board (shown as #number with buttons; the person can also answer by voice, also freely). Without options it is a yes/no question (buttons Yes/No); options: 2 to 3, max 40 characters each, recommend = index of the recommended option. question: max 160 characters. Longer or more: 422, never cut. Returns id and number. The answer arrives later as a next event {type: decision, id, number, verdict: yes|no|option|other, option?, text? (their own answer), by}. Change an open one with id plus new fields, remove it with id and delete true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id of an open decision to change or delete. | |
| delete | No | true = remove the decision `id`. | |
| options | No | Optional: 2 to 3 answer options, max 40 characters each; leave out for a yes/no question. | |
| session | Yes | The `session` value returned by join. | |
| question | No | The question, max 160 chars (required when creating). | |
| recommend | No | Index (0-based) of your recommended option. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||