Acknowledge User
Last updated
Last updated
Once we have recorded the information (leave details), we need to notify the user that he has successfully applied for leave. The Speak action could be used for this purpose. The Speak action accepts a single parameter, the name of the previously added Agent Response.
In this case, we will add the previously added Agent Response, which we had named leaveRegisteredMLT.
The final action, as mentioned earlier is to indicate the workflow is completed. This is done using the Exit action.
The complete workflow at this point looks like the following.