(Twilio-Based Text Channel) Using Employee Directory Assistant

PeopleSoft HCM enables you to also use the Twilio-based text medium to support Employee Directory Assistant chatbot using text messaging through a smartphone.

This topic discusses prerequisites to using the Twilio-based text chatbot and how requestors can interact with Employee Directory Assistant chatbot using a Twilio.

Note: For using a web-based chatbot, see the (Web-Based Channel) Using Employee Directory Assistant documentation.

Page Name

Definition Name

Usage

(Twilio-Based Text Channel) Employee Directory Assistant

N/A

Interact with the Employee Directory Assistant chatbot for quick answers to queries about contact, profile, and reporting information using text messaging.

To use the Employee Directory Assistant through the Twilio-based text channel, your application team will first need to complete the following:

  1. Procure Twilio credentials for Employee Directory Assistant.

    The number will act as the Twilio number for the Employee Directory Assistant bot from which employees will interact with the bot.

  2. Create a Twilio channel in the Digital Assistant (Settings > Channels tab > Create icon) and link the Account SID, Auth Token and phone number you obtained from the Twilio console to the Twilio channel. Enable the channel to create a new Bots Channel. Enable MMS, if needed.

    Update the webhook URL in the Twilio console with the webhook URL that was generated when you created the channel.

    1. Navigate to Twilio > Phone Numbers > Manage Numbers > Active Numbers.

    2. Select the number procured for the bot.

    3. On the Configure tab: Messaging section, update the A MESSAGE COMES IN field to Webhook, enter the Webhook URL value from the channel, and select HTTP POST from the drop down.

  3. Apply the latest Skill from PeopleSoft in the Oracle Directory Assistant. This contains the updated Dialog flow and custom component package

    Add the PSauthurl custom parameter to the skill in the Custom Parameters section of the Configuration page.

To create a new Twilio channel for your skill, see Creating the Twilio Channel.

Important! You must be on PeopleSoft HCM image 35 or greater to use the Twilio-based text channel.

Use the Twilio-based text channel to interact with the Employee Directory Assistant chatbot for quick answers to queries about contact, profile, and reporting information using text messaging.

Image: Employee Directory Assistant Chatbot Text Message using Twilio: Supported Requests

This example illustrates the Employee Directory Assistant chatbot text message showing a list of requests it supports.

Employee Directory Assistant Chatbot text using Twilio

Understanding the Employee Directory Assistant Functions

After you’ve entered your credentials, the chatbot introduces itself and provides a list of examples of company directory-related requests. Supported inquiries about yourself or another employee allow you to:

  • Display profile information

  • View phone numbers

  • Retrieve email addresses

  • Provide work addresses

  • Display general contact information

  • View a person’s job title

  • Retrieve reporting information about a person’s manager or direct reports

To view this list again, enter a greeting or a search string such a “hello”, “what can you do”, or a similar text.

Making an Inquiry and Viewing Results

When you send a text request inquiry, the bot retrieves a set of results based on the message you entered. For example, if you asked where a person works, the bot will return business address information for people that match your inquiry.

Note: You do not need to enter question marks (?) when making an inquiry or add an apostrophe (') when using a name. For example, you can enter the following inquiry without punctuation marks:

what is johns phone number

Image: (Twilio-Based Text) Example of a Employee Directory Assistant inquiry

This example illustrates the Employee Directory Assistant when texting a question about a person and it responds with the number of people that match that request. In this example, there are two people in the company directory that match the request.

(Twilio-Based Text) Example of a Employee Directory Assistant inquiry

The bot will display the number of matches it made for your direct inquiry question, a sequential numbered list of individuals matching the search, and information on how to select an employee or view more information.

Note: The chatbot will show up to five vertical responses at a time. When there are more than five matches, the end of the response will include directions to type ‘next’ to see the next five matches. The administrator can change the number of results that display in the conversational flow.

When there are multiple results for a search inquiry, the results are ranked based on the logged in user's department and location, in descending order. For instance, if a user enters an inquiry for john and there are multiple individuals in the directory with that name, the bot will display any john who works in the user's department first, followed by any john who works in the user's location.

Select the sequence number of an employee to view more details.

Image: (Twilio-Based Text) Example of Employee Directory Assistant results

This example displays the results after selecting the sequence number of the employee.

(Twilio-Based Text) Example of Employee Directory Assistant results

After you enter a reply to a response, you cannot go back and enter information pertaining to a previous text. All replies must be in response to the most recent text. In the example shown here, you entered sequence number 1 to view Betty Locherty’s information. Now, if you enter number 2 to see details for Betty Applebee, the chatbot will reply that is does not understand your request. To see Betty Applebee’s information, you will need to submit a new request.

When there is a single match response to an inquiry, the instructional text at the bottom of the message gives you the option to view additional details by texting “more”.

Image: (Twilio-Based Text) Example of Employee Directory Assistant with more options

This example displays the results after responding with ‘more’ and the bot provides additional information about the employee.

(Twilio-Based Text) Example of Employee Directory Assistant with more options

The chatbot may also provide links that you can click to contact the person.

Note: The display of information as a hyperlink is dependent on the text client. If the text client supports hyperlinks for phone, email ID, and websites, it will be displayed as such.

Making Invalid Inquiries

Occasionally you may enter information that is incorrect, is not understood by the chatbot, or is not supported by the Employee Directory Assistant. The bot will indicate that you need to rephrase your request or it will state that it does not understand your question.

For guidelines on what the chatbot can answer, enter another greeting or ask what it can do to retrieve the list of supported requests. Do not respond with the text “help”.

Warning! The following opt-out words are not supported for the Employee Directory Assistant:

Start

Help

Stop

These words, which users may use in your digital assistant, are default keywords in Twilio. If a user enters one of these words in a Twilio channel, the Twilio conversation will end and the digital assistant will not receive the input.