Call Now Assist Skill step
Summarize
Summary of Call Now Assist Skill step
The Call Now Assist Skill step enables ServiceNow customers to run a published Now Assist skill directly from a Workflow Studio action step. This functionality allows you to configure skill inputs and outputs dynamically within your custom actions, integrating AI-powered capabilities such as summarization or conversational responses into workflows.
Show less
Key Features
- Integration with Workflow Studio: Available as an action step for users with the
actiondesignerrole to create or customize actions invoking Now Assist skills. - AI Skill Kit Dependency: Requires the AI Skill Kit to utilize Now Assist skills effectively.
- Role and Access Requirements: Requires delegated development roles or assigned user roles to access and use the step within Workflow Studio flows.
- Configurable Inputs: Accepts a reference to a Now Assist Skill Config record and a JSON-formatted payload string, which can be dynamically populated using data pills.
- Error Handling: Provides options to continue or halt the workflow if the step fails, with access to step status codes and messages for custom error evaluation.
- Detailed Outputs: Exposes outputs such as error messages, provider name, text responses generated by the LLM, JSON results, and detailed step status data pills for downstream use in workflows.
Practical Application Example
The step can be used to invoke specific Now Assist skills such as the Flow Summarization skill, which summarizes the logic of flows or subflows. In this example:
- Inputs include the Sys ID and type of the flow or subflow to summarize.
- A JSON payload maps these inputs to the skill’s expected parameters.
- The skill outputs a text summary describing the flow’s behavior, which can then be used as input for further workflow actions or decision logic.
- Additional outputs include JSON results encapsulating response details and a status indicator confirming successful execution.
Benefits for ServiceNow Customers
By leveraging the Call Now Assist Skill step, customers can seamlessly integrate AI-driven assistance within their workflows, enabling automation of complex tasks such as summarization, conversational replies, or other AI skills. This integration enhances workflow intelligence, error handling, and customization, resulting in more efficient and insightful process automation.
Run a published Now Assist skill from an action. Configure the Now Assist skill inputs and skill outputs from the step inputs and step outputs.
Roles and availability
Available as an Workflow Studio action step. Users with the action_designer role can create a custom action with one or more action steps.
- AI Skill Kit requirements
- This step requires the AI Skill Kit. For more information, see Exploring AI Skill Kit.
- Role requirements
- This step requires roles granted by delegated development or assigned to the user. For more information, see User access to Workflow Studio flows.
Inputs
Provide a value for each input that your action needs. To add dynamic values, you can also drag and drop pills from the Data panel or select them from the pill picker.
- Skill Config
- Data type: Reference
Reference to a Now Assist Skill Config [sn_nowassist_skill_config] record. The payload is generated based on the Skill Config you select.
- Payload
- Data type: String
JSON-formatted string containing the payload to send to the Now Assist skill and the OneExtend Framework for processing.
- If this step fails
- Data type: Choice
Option to continue running the next step or go to error evaluation. To use the step status code or message for a custom action error condition, see Action error evaluation.
Outputs
These outputs appear in the Data panel. You can use them as inputs elsewhere in your action.
- Error
- Data type: String
Error message produced by the skill. This output is empty when the skill successfully runs the Now Assist skill request.
- Provider
- Name of the LLM provider that fulfilled the Now Assist skill request.
- Response
- Text response generated by the LLM such as a summary or a reply to a conversation.
- Result
- JSON-formatted string containing the results generated by the LLM to the input payload.
- Status
- Status of the call to the provider.
- Step Status
- Data type: Object
Object data pill containing runtime details about the step. Each step in an action returns a Step Status.
- Step Status Code
- Data type: Integer
Integer data pill indicating whether the step produced an error. A step returns a value of 1 when it produces an error for any reason. For example, a step can produce an error if it is missing mandatory input data or returns output in the wrong data type. A step returns a value of 0 when it runs successfully. You cannot customize these codes.
- Success [0]: The step succeeded.
- Error [1]: The step produced an error.
- Step Status Message
- Data type: String
String data pill containing the error message produced by the step or system operation. You cannot customize the step status message.
Call the Flow Summarization skill
- asset_sys_id. This input contains the Sys ID of the component to be summarized.
- asset_type. This input contains the type of component to summarize.
- Flow to summarize. This input contains the Sys ID of the component to be summarized.
- Type. This input contains the type of component to summarize such as flow, subflow, or action.
We can test this action by providing these example input values.
- Skill Config
- This example uses the Flow Summarization Now Assist Skill Config record.
- Payload
- This example uses a JSON object to map action input values to skill values. In this example, we provide the Sys ID of the Change - Normal - Authorize flow and the type of flow.
Here are the example output values produced by the Flow summarization skill.
- Error output
- This example doesn't produce an error output.
- Provider output
- This example uses the Now LLM provider.
- Response output
-
This example uses the Flow Summarization skill to generate a summary for the Change - Normal - Authorize flow. Typically, you would use this Response output as an input for another action or flow logic.
This flow, named "Change - Normal - Authorize", is designed to process a Change Request that uses the Normal Change Model and is in the state of Authorize, while ensuring it is not on hold.
The flow begins by checking if the assignment group manager has already approved the change request. If not, it applies a Change Approval Policy, specifically for risk approvals.
The flow then evaluates whether the approval process was skipped, rejected, or approved. If skipped, it does nothing. If rejected, it sends an email notification to relevant parties. If approved, it updates the change request record to mark it as approved.
In parallel, the flow waits for the change request to be on hold or inactive, and then disregards any change request approvals. It also evaluates the change model again.
The flow ends after completing these tasks.
- Result output
- This example returns a JSON object containing the both the response and the flow elements used to generate the response.
- Status output
- This example returns a success output value.