> For the complete documentation index, see [llms.txt](https://maya-admin.gitbook.io/building-skills/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maya-admin.gitbook.io/building-skills/product/node-library/command-bar/bot-command-in.md).

# Bot Command In

Allows you to collect multiple inputs from the user by creating a new Maya skill command.

### Inputs

No inputs because this is a trigger node.

### Outputs

For the skill command shown in the GIF below, when inputs variables are `event`, `time`, and `email`, a sample output `msg.payload` on submitting the command would look like this :

```json
{
    "event":{"value":"hello"},
    "time":{"value":"13 October 1700hrs","meta":{"hour":17,"minute":0,"meridiem":1,"day":13,"month":10,"year":2021,"second":0,"millisecond":0}},
    "email":{"value":"sibesh96@gmail.com","meta":"sibesh96@gmail.com"}
}
```

* `value` (string) : This is a string value which represents what the user has typed, or option name of what is visible to the user.
* `meta` (object) : This the hidden metadata that contains additional information about the option selected.

![](https://1551505950-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mkaq90Au3F8Kz0qIFzO%2Fuploads%2Fgit-blob-170a52dfd6019f2bca5e7085e4b17b206b503f46%2Fcommandbar.gif?alt=media)

### Details

The Bot Command node interfaces with the Maya command bar, exposing an endpoint to interact with it and send custom inputs easily. The types of variables you can use are listed below :

### Custom variable

Customize the command bar to search through any list or array using the Custom Search nodes - [Custom Search In](/building-skills/product/node-library/command-bar/custom-search-in.md) and [Custom Search Out](/building-skills/product/node-library/command-bar/custom-search-out.md).

### String variable

Search through and select auto-suggest string options fetched from Google

### Number variable

Enforce entry of a number everytime

### E-mail variable

Allow user to search through their contacts and select an email address

### Phone variable

Allow user to search through contacts and select a phone number

### Time variable

Allow user to specify an exact time in natural language "Oct 12th 5pm" which gets converted to computable time metadata.

### Time range variable

Allow user to specify a time range in natural language "5pm to 7pm" which gets converted to computable time metadata.

{% hint style="warning" %}
Always end a flow beginning with a `bot-command` node with a [`bot-response`](/building-skills/product/node-library/command-bar/bot-command-out/bot-response.md) , [bot-web-card](/building-skills/product/node-library/command-bar/bot-command-out/bot-web-card.md), or [bot-dash-card](/building-skills/product/node-library/command-bar/bot-command-out/bot-dash-card.md) node in order to indicate to the user that a task has been completed/submitted. Failing to do so will mean the Command Bar gets stuck at loading state for 30 seconds.
{% endhint %}
