Default input and output rich controls for a custom chat integration
Summarize
Summary of Default Input and Output Rich Controls for a Custom Chat Integration
The default input and output rich controls are essential for mapping your custom chat integration in the ServiceNow environment. Proper configuration in theCustom Adapter Configurationstable ensures effective communication between the chat interface and users, improving overall user experience by preventing unsatisfactory responses when rich controls are inadequately implemented.
Show less
Key Features
- ActionRichControl: Manages various conversation events and actions, including handling multiple message types within a single outbound transformer.
- DefaultPicker: Supports File Picker, Topic Picker, and Boolean controls, allowing for customizable user prompts and item options.
- DefaultText: Facilitates Input Text, Output Text, and File Upload controls, providing flexibility for text-based interactions.
- DefaultDate: Applies to Date and Time controls, enabling users to input specific time-related data.
- DefaultOutputLink: Maps response links, enhancing navigation within the chat.
- DefaultOutputImage: Enables image responses, enriching user engagement.
- DefaultOutputCard: Supports card responses, displaying structured data neatly.
- DefaultOutputHtml: Allows for HTML responses, giving more control over presentation.
- DefaultOutputTable: Maps tables within responses, organizing information clearly for users.
- DefaultGroupedPartsOutputControl: Facilitates multi-response formats for more complex interactions.
- DefaultMultiPartOutput: Supports navigating through multi-part responses effectively.
- DefaultCustomControl: Provides flexibility for custom controls tailored to specific needs.
Key Outcomes
By implementing these rich controls effectively, ServiceNow customers can expect improved interaction quality within their custom chat integrations. This ensures users receive timely and relevant responses, enhancing satisfaction and engagement. Proper mapping and configuration prevent communication breakdowns, ultimately leading to a smoother chat experience.
Input and output rich controls must be mapped to your custom chat integration in the Custom Adapter Configurations [sys_cs_custom_adapter_config] table. If a rich control is missing an outbound transformer implementation, a response is not served to the end user and that user may get an unsatisfactory chat experience.
The following default rich controls map to input and output rich controls. The uiType parameter refers to a topic control used to build conversations in Virtual Agent Designer.
| Rich control | Description |
|---|---|
| ActionRichControl | This component handles the different events and actions that occur in a
conversation. Some actions may not apply to all channels. For example,
StartSpinnerActionMsg is ignored in SMS. ServiceNow® Virtual Agent produces the following types of action messages through this framework. The custom chat interface only recognizes certain action message types.
ActionRichControl wraps these messages inside the actionMsg element. So, a single outbound transformer for ActionRichControl can handle all of these messages. There is no need for an inbound transformer for this component. |
| agentInfo parameter | If the rich control is sent from a live agent, then the
agentInfo attribute is added to the rich
control. Example: |
| DefaultPicker | Maps to File Picker, Topic Picker,
and Boolean
controls. Example:
The optional order parameter lets you specify the order in which promoted topics should display. For example: |
| DefaultText | Maps to Input Text, Output Text, and File Upload
controls. Example: |
| DefaultDate | Maps to Date and Time controls. |
| DefaultOutputLink | Maps to link response
controls. Example: |
| DefaultOutputImage | Maps to image response
controls. Example: |
| DefaultOutputCard | Maps to card response
controls. Example: |
| DefaultOutputHtml | Maps to HTML response
controls. Example: |
| DefaultOutputTable | Maps to table response
controls. Example: |
| DefaultGroupedPartsOutputControl | Maps to multi-response
controls. Example: |
| DefaultMultiPartOutput | Maps to multi-response
controls. Example: |
| DefaultCustomControl | Maps to custom
controls. Example: |