...
Define the Prompt/Attribute named 'Description' to accept details of the issue from the end-user:
On Skill Builder--> Attribute tab, click on Create Attribute.
Add attribute details such as Name and Data type.
Set the prompt message to be displayed to the end-user, such as “Enter issue details“details, “Enter Description“Description. “
Click Save.
Define the integration Integration to ISM with the “Create Incident” operation.
On the tenant menu, click on Integration.
Create an Application with the REST integration type.
Add an instance to the ISM environment.
Configure the ‘Create Incident’ Operation.
Fetch the ticket number received as a response from the web service and save it in a local attribute TicketNumber.
Build the skill
On Skill Builder, click on the Create Skill.
Add Skill details such as Name, Category, and Description.
On the Invocation Type, select “User Phrase“ and add the Phrases that can be used to trigger the skill, such as “Log a ticket in ISM”ISM, ”Create ” Create a ticket”ticket,” “Log incident”incident,” etc.
On Conversation Flow,
Add Attribute “Description”“Description.”
Add Web Service operation “Create Incident“Incident.
Click on the Operation to override the operation.
Fetch the ticket number received from the web service and save it in a local attribute TicketNumber.
“
Add Information Message to be displayed to the end-user. Use the local attribute in the information message , TicketNumber, to display the ticket number to the end-user in the information message. For example: “Incident @{local.TicketNumber} has been created in ISM. ”.
Click Save to finish building the skill.
The next step is to add permission to the skill. Click on Permission and the Users or Groups who should be able to execute the Skill.
Do a Build and Publish to make the skill available in Virtual Agent.
Once the skill is Published, Go to the Test Widget to test the skill. Click on Debug Logs and execute the skill to view the runtime Skill execution logs.
...
Build a Skill to create a Service Request in ISM. Create attributes an attribute to accept the request details and configure an operation to Create a Service request in ISM. Use the Attribute and Operation in your skill and display the Service Request number received in a bot message.
Build a Skill to view recent work logs for your ticket. Create an attribute to accept the ticket number and , configure the operation, and pass the ticket number to the web service. Display the worklog received as the web service response. Configure a rule set to handle errors such as ticket not found, No worklog found, incorrect ticket number, etc.
Build a Skill to connect to AccuWeather REST API to get current weather information of a city. Refer to the below link for details on the API:
https://developer.accuweather.com/accuweather-forecast-api/apis