We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Profile options that are set by the chat widget and are accessible from the YAML

edited Aug 6, 2020 3:51PM in HCM Digital Assistant


When the chat widget first loads in the HCM application it sets a single profile value, givenName, to the logged-in user's display name, which is typically of the form "Firstname Lastname".  This profile value can be immediately accessed from the YAML flow within the HCM Skill using the syntax "${profile.givenName}"

For example, you could Welcome the user to the Skill by name using the following State:

    component: "System.Output"
      text: "Hello ${profile.givenName}"
      keepTurn: true
    transitions: {}

When the user enters their first phrase into the chat widget, five additional profile values are set as below. These will all subsequently also be available in the YAML flow of the HCM Skill using the syntax shown:


Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!