Using variables to personalize bot answers

Return to top

11 Comments

  • Marcin Rogalski

    Hi. This looks like a good starting point to get our bot to work for transferring to agents when online but leaving a message when they're not. Though I don't see any options for variables. We only see School Name and Email. No external and no data condition variables. We want to be able to add business hours or whether the account or a group is online. 

    Where is this added? Thanks Martin

    0
  • Marcin Rogalski

    How do you actually add the variables? Seems like there would be some predefined ones based on values in your account. Like online status or ticket status, etc.

     

    3
  • Florian Wallny

    Hi, is it possible to store an array received from an external endpoint as variable? Can i make the bot output an array of strings as multiple messages?

    0
  • Julio H
    Zendesk Customer Care
    Hi Marcin,

    To be able to see variables, these variables must be asked to the customer in the ask for details steps or via other steps like the API call, to get external data or Messaging metadata variables, when using JWT. 

    The ask for details step, only supports dropdown and text fields.

    You can specify directly in the flow the business hours with the step called Business hours

    Unfortunately, it is not possible yet to show or use as a variable what group is online. 

    I've marked this conversation as product feedback for review, which means that your input will be aggregated as a part of our Voice of the Customer program that provides customer feedback to our product development teams.
     
    In addition, I encourage you to create a new post in the General Product Feedback topic in our community to engage with other users who have similar needs and discuss possible workarounds. Conversations with a high level of engagement ultimately get flagged for product managers to review when they go through roadmap planning.
     
    Specific examples, details about impact, and how you currently handle things are helpful for our product teams to understand the full scope of the need when working on solutions. You may also want to review the Product feedback guidelines and how to write an effective feedback post [https://support.zendesk.com/hc/en-us/articles/4413820079386-Giving-Product-Feedback-at-Zendesk-].
     
    We truly value customer feedback and your voice and votes in the forums help influence future Zendesk functionality.
    0
  • James Molina

    How would one use user field values as variable options?

    0
  • Neil
    Zendesk Customer Care
    Hi Envoy,
     
    There isn't any specific instructions on how to use a user field as a variable at the moment. But you can testing by using External service variables which allows the use of REST API to pull data (Make API call), in your case User field API.
    0
  • Anna Clara Leal

    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
  • Viktor Osetrov
    Zendesk Customer Care
    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
  • Fernando Rocha

    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
  • Theodore Cooke

    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
  • Dane
    Zendesk Engineering
    Hi Theodore,
     
    Please check Saving variables from the API response.
    0

Please sign in to leave a comment.

Powered by Zendesk