cigchat_flow_create_bot_field
Create a new bot field to store custom data in your cig.chat flow. Define the field's name, value, and type to meet your bot's specific requirements.
Instructions
create new bot field [POST /flow/create-bot-field] Requires the "Manage Flow" scope on the token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Field name | |
| value | Yes | Field value Example: 'string', 123, true, '2018-07-18', '2018-07-02T00:00:00+00:00' | |
| var_ns | No | Accepts either the bot_field namespace id or the bot_field's exact name — the server resolves names automatically. | |
| var_type | Yes | One of: text, number, boolean, date, datetime, array, longtext. Example: text | |
| description | No | ||
| is_template_field | No | is this bot field a Template field Example: false |