Profile options that are set by the chat widget and are accessible from the YAML
Content
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:
sayHello: component: "System.Output" properties: 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:
1