In order to execute an Automation task through a skill, Automation Service Workflow should be added to a skill as part of skill conversation flow.
Info |
---|
Prerequisite: Your Automation Workflow must be published as a Service before workflow services are available to the skill. |
To map an Automation Service Workflow to a skill, do the following:
- Create a new skill in which you can associate the automation workflow service. To know how to create a skill, refer Create Skills/wiki/spaces/DOC/pages/1215628016.
- On the conversation flow tab, select Automation Integration in Add Conversation Item dropdown.
- Select the required workflow service from the list of automation workflows.
- Based on the selected automation workflow, specify the required mapping input details for the workflow service, such as login_name AD username (as shown in the following example).
- Add the other conversation items as required and then click Save.
- Run Build and Publish process.
- After the skill is published, the automation service is triggered whenever the skill is invoked from a supported chat channel. Luma VA prompts users to enter the mandatory inputs to fulfill the skill.
A success message is displayed once the automation skill is completed as shown below.
...
- Locate the Automation workflow in the conversation history logs and click on theicon to view the triggered Automation Workflow details.
- On the Automation Workflow Invoked screen, click on Click to View Logs.
- You can now view the execution logs.