Execute an Automation Service from a Skill_new
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.
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.
- On the conversation flow tab, select Automation Integration in Add Conversation Item dropdown.
- Select the required workflow service from the list of automation workflows.
<image> - Based on the selected automation workflow, specify the required mapping input details for the workflow service, such as 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.
Automation Execution Logs
Once the automation workflow execution is completed, the Automation details can be viewed in the Conversation History. In the logs you can view the execution details of each step of the workflow. Here you can view the input data, the task executed at a selected step and output of the step.
Follow the below steps to view Automation Workflow execution logs:
- 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, you can view the following details:
- Execution Details: On this Execution Details tab, you can view the executed Automation Workflow details. Here you can view the workflow information, unique trigger ID, execution time, and input parameters to the Automation workflow.
- Execution Logs: On Execution Logs, you can view input, output of each step, Connector triggered as part of the workflow. Select the step to view more details.
<change image>
- Execution Details: On this Execution Details tab, you can view the executed Automation Workflow details. Here you can view the workflow information, unique trigger ID, execution time, and input parameters to the Automation workflow.
- In case of Mulesoft connector, the execution logs are shown as below.