Question
Can I add a numeric field or a regular expression (regex) field using the bot builder?
Answer
No, the bot builder only supports text and drop-down fields. Numeric fields and regex fields aren't supported. See below for alternative options to this.
As a workaround, if the numeric values can be predefined, use the Present options step of the bot builder or use a custom drop-down field combined with the Ask for details step of the bot builder.
- The Present options allows the bot to display up to ten values. See the images below as an example.
- A drop-down list combined with the Ask for details step allows the bot to display more values than the Present options. See the images below as an example.
For more information, see the article: About bot builder.
This article describes functionality available only to customers who had a drafted or published AI agent as of February 2, 2025. For information about equivalent functionality in the AI agents - Advanced add-on, see Building dialogues for AI agents - Advanced.