The creation of different typologies of absences requires you to turn on the following entities in the Manage datasets section of the CMS:


  1. Date entity; you can find it listed as a standard entity in the datasets. 

  2. Absence Type entity; this is a custom entity therefore you will be able to name the values and their synonyms (various absence types such as: "vacation" and "sick") yourself.


Next, go to the Flows where you will create a new flow (and give it a name as like). Inside the latter create an entity component for each of the entities you previously enabled: choose the entity name (e.g. @std-date), give it a personalised valueprompt text and fallback message


Then create an action and select the “Get Absences” action in Oracle HCM, select your preferred integration channel and select the entities you have created in advance. 


Go to the Datasets, add a new intent along with 5-10 variations and connect it to the flow and block containing the action you have just created. 


Before closing up, add a further action to Reset all entity values so that later the user will be redirected to the new entities. 


Finally you can save your work and check it on the preview: after typing your intent the bot will ask you for the “date” and “type” of the absence and it will come up with a gallery of cards/list of the requested absences. If you are pleased with how it is looking you can push it live