Using variables to personalize AI agent answers (Legacy)



image avatar

James Rodewig

Zendesk Documentation Team

Edited Mar 19, 2025


0

14

16 comments

How to add variables as tags in the transfer step to auto-populate the respective custom dropdown field I user in the agent form (in the workspace) for handling the tickets

0


Hi, Will we get dynamic templating support?  I want the end user to select a dropdown, then have that dropdown  set a dynamic block of text, without being forced to branch my entire flow and multiply maintenance work (I'm already running up against the 2000 node limit). 

For example, if they pick from a set of office locations, they get a different email and phone number.  

0


I can't find how to use the user language to propose relevant articles URL in a Carousel step in the builder.
I tried to workaround with building a “greetings” answer which will collect a custom field “spoken_language” thanks to “ask tor details”.  After the greetings I planned to redirect the user to another answer to read articles. 
The problem I face is that the custom field collected in an answer is not kept in another one !

If at the greetings step I collect a Name, it is kept in another answer which will transfer to an agent (the name is displayed in the ticket).

Thanks for your help

0


Hola muy buenas Roberto!
 
Para que puedas obtener una atención mas personalizada, he creado un ticket con nuestro equipo de soporte en tu nombre. El mismo tiene el id 12294472.
Por favor aguarda mientras nuestro equipo se pone en contacto contigo.
 
Saludos y buen fin de semana!

0


Hola,

estoy interesado en usar variables de cliente. Por ejemplo si conecta por whatsapp, previo permiso del usuario, quiero acceder a su nº teléfono móvil, sin solicitarlo al cliente.

Un saludo.

0


Hi Theodore,
 
Please check Saving variables from the API response.

0


With our current chat bot, we have a script that runs on the web installation that injects variables into the conversation so the bot is aware of the user's geolocation, device type, and a few other things. Is it possible to do likewise with these bots? Can we have our frontend pass in variables to the bot?

0


If anyone is wondering how to create/add variables, you must make a request to the API first (at the bot builder there's a button to test the request) and only when you get the response you can "save" the response fields as variables.

Beg your pardon, mine is in portuguese but the UI stands the same.

then hit "save" on the API field you want to save

 

And this is working on WhatsApp

1


Hello Anna,

I have checked on my test account using my WhatsApp Bot. Unfortunately, variables don't work at this moment. Apologies for that - it looks like product limitations. 
The possible solution is to upgrade your bot with Sunshine Conversations. Please read more about - Adding Sunshine Conversations channels to the Zendesk Agent Workspace.

Thanks

1


Hello!

I'm wondering if I can use variables to personalize my WhatsApp Bot. I already built the flow with the needed variables so I can customize the answers. 

0


Sign in to leave a comment.