Topic Flow tab
Summarize
Summary of Flow tab Extend ServiceNow AI Platform capabilities
The Flow tab in ServiceNow's Virtual Agent Designer enables users to create and manage conversation flows for chat interactions. It provides tools to define user inputs, bot responses, and utilities within the conversation structure. This functionality is crucial for developing effective virtual agents that can engage users meaningfully.
Show less
Key Features
- Navigation Bar: Allows easy navigation back to the Topics page and shows the status of design changes.
- Topic Header Bar: Includes tabs for different views (Flow, NLU Intent, Properties, Languages) and options to change the design state, save, test, and publish.
- Palette: Contains Components and Variables tabs for adding user inputs, bot responses, and utilities to the canvas.
- Canvas: A graphical area where conversation flows are visually constructed, incorporating nodes for each control and automatic layout adjustments.
- Node Search: Quickly locates specific nodes by name within the conversation flow.
- Property Sheet: Displays properties for selected nodes, allowing for detailed configuration including scripts and NLU fields.
- Data Pill Picker: Facilitates the selection of data pills for use in property fields, enhancing dynamic responses.
- Script Editor: Enables the addition of JavaScript for advanced functionalities within nodes.
- Resources Tab: Provides access to helpful resources, including guided tours and product documentation.
Key Outcomes
By utilizing the Flow tab, ServiceNow customers can design interactive and responsive virtual agent conversations that enhance user engagement. The tools available support the creation of complex conversation flows, ensure all necessary properties are configured, and enable testing across multiple channels. The ability to publish topics makes them readily available to users, ultimately improving service delivery and user satisfaction.
Use the topic Flow tab to build the conversation flow. Use the controls for user inputs, bot responses, and utilities to define the flow.
Flow tab (default view)
| Feature | Description |
|---|---|
| 1. Navigation bar | Breadcrumbs to navigate from your design back to the Topics page. When updating designs, a message in the corner indicates the status of the design. For example, a message might indicate that you have unpublished changes for your topic or Natural Language Understanding (NLU) language mappings. |
| 2. Topic header bar | Tabs and design options for your topic:
|
| 3. Palette | Collapsible sidebar with Components and
Variables tabs. The
Components tab shows a list of controls that
you can drag onto the canvas to build a conversation. The following
types of controls are available:
The Variables tab includes inputs
and scripts.
|
| 4. Canvas | Area that displays the conversation flow graphically. As you drag a control onto the canvas, that control becomes a node in the conversation flow. The canvas includes a related property sheet that opens in a pane when you select a node. Each flow has a Start and End node. When you add or remove controls, the layout of controls on the canvas is adjusted automatically. |
| 5. Node search | Option for quickly finding specific nodes in the conversation flow.
Select the node search icon ( |
| 6. Property sheet | Properties specific to the selected node on the canvas. The list of properties changes based on the node you select. Each node has its own set of properties that you can define, which can include scripts that control the behavior or processing that is performed in the node. If NLU is enabled, the property sheets for Input controls contain additional NLU fields. For further information, see Virtual Agent Designer controls. |
| 7. Data pill picker | A tool for selecting data pills from input variables or script variables to use in the property field. Select the data pill picker to select from the existing variables accessible in the topic. You can also drag data pills directly into property fields. |
| 8. Script editor | A tool for adding or editing JavaScript scripts used in a property. Provides scripting assistance, including a list of valid elements at the insertion point. Elements include function names, object names, and variable names available for the topic. For more information, see the JavaScript syntax editor. |
| 9. Property sheet tab | Opens the property sheet view for the currently selected node on the canvas. |
| 10. Resources tab | Opens the Helpful resources view, containing resources including
Guided tours on the canvas, and links to videos for LLM-enabled nodes and
product documentation. |
Flow tab with the Table View enabled
Most of the functionality of the Flow tab is the same in the Table View. The following figure and table highlight the differences.
| Feature | Description |
|---|---|
| Palette: Variables sidebar | The Components tab is not shown. Only the Variables sidebar is visible. |
| Table view | A list of table rows, where each row corresponds to a node in the
conversation flow. You can add nodes in this section. When you add or
remove nodes, the table rows adjust automatically. A node can be any of
the following controls, aside from the Start and
End nodes:
Select Add new node to add a node. You can specify the type of control in the dialog box. |
| Search table | Option for searching nodes in the conversation (table). |
LLM components guided tour
When you create or open an LLM topic, a dialog box appears and displays an option to take a
guided tour of the LLM-enabled components in Virtual Agent Designer.
Select the close icon () to close the window or Start guided tour to be shown
the various components. To stop seeing the dialog box open each time that you open an LLM
topic, select Do not show this again before closing the dialog box or
starting the tour. To restore the dialog box, navigate to and set the value for LLM_INTRO_MODAL_ENABLED to
true. You can also take a tour by selecting Guided
tour for LLM enabled nodes on the Helpful
resources tab.
Incomplete property warnings
Controls on the canvas have required properties. If required properties are missing, Virtual Agent Designer displays the total number of missing required properties and the controls that are missing them. All incomplete warnings must be addressed to test or publish the topic.
In the following example, the topic is missing two required properties. Two nodes are affected, and each is missing one property. The Text response node is missing the Message response.
Point to the incomplete message to see a tooltip that describes what is missing.