Question
Can I add a numeric field or a regular expression (regex) using AI agents for messaging (Legacy)?
Answer
No, AI agents for messaging (Legacy) only support text and drop-down fields. Numeric fields and regex fields aren't supported. See below for alternative options.
As a workaround, if the numeric values can be predefined, use the Present options step or use a custom drop-down field combined with the Ask for details step.
- The Present options step allows the bot to display up to ten values. See the images below as examples.
- A drop-down list combined with the Ask for details step allows the bot to display more values than the Present options step. See the images below as an example.
For more information, see the article: Creating answers for common customer questions in AI agents for messaging (Legacy) .
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.
5 comments
Fredrik
Not having support for numeric fields is baffling, would like to hear a comment from Zendesk on this.
When checking the API response for listing fields it looks like “numeric” fields actually uses regex: 'regexp_for_validation': '\\A[-+]?\\d+\\z',
Meaning a valid “numeric” value could be: +01 which is a bit insane.
This in combination with not being able to change the type of a field and having no options for migrating data from one field to another is insanely limiting for adoption.
0
Michael Landers
I understand the complexities of adding regex, but I find it strange that it doesn't support a numeric field. This is very limiting.
4
Charlotte Kobler
Hallo Elke,
Vielen Dank für Ihren Kommentar! Leider ist es zu dieser Zeit zwar nicht möglich, wir haben jedoch Ihr Feedback verzeichnet. Ich möchte Sie auch dazu ermutigen einen Beitrag in unserer Community zu erfassen, in welchem Sie Ihr Feedback genau darstellen können, wie Anwendungsfälle und welche Auswirkungen diese Funktion für Sie hat.
Viele Grüße!
0
Eike Thiele
Hi, es wäre sehr sinnvoll, hier auch Daten wie zum Beispiel Datum und Uhrzeit abfragen zu können. Des weiteren wäre aus meiner Sicht das Ausspielen von kompletten Formularen sinnvoll.
Es erklärt sich eigentlich auch nicht, warum man die Systemfelder Betreff und Beschreibung nicht nutzen kann.
Beste Grüße
Eike
0
Eike Thiele
Hi, es wäre sehr sinnvoll, hier auch Daten wie zum Beispiel Datum und Uhrzeit abfragen zu können. Des weiteren wäre aus meiner Sicht das Ausspielen von kompletten Formularen sinnvoll.
0
Sign in to leave a comment.