Updated on 2024-10-12 GMT+08:00

Editing a Flow

After creating a flow, you need to drag diagram elements provided on the GUI to edit the flow content to implement specific business capabilities.

Prerequisites

  • A flow has been created. For details, see Creating a Flow.
  • Voice files to be involved in the flow have been configured.

Context

Before editing a flow, you are advised to understand the layout of the flow editing page and the capabilities of each area. Figure 1 shows the flow editing page.

Figure 1 Page for editing a flow
Table 1 Introduction to areas on the flow editing page

ID

Area

Description

1

Buttons

Cancel a flow, save a flow as a draft, save data, or save and publish a flow.

2

Diagram element area

Drag diagram elements to the canvas area to edit a flow.

3

Canvas area

Edit an IVR flow.

4

Diagram element parameter area

Set parameters of a selected diagram element.

5

Canvas toolbar

Reset the view, zoom in or out the view, enter the fullscreen mode, undo or redo an operation, or delete a diagram element or line.

6

Variable area

View basic information about flow variables, global variables, system variables, IVR request variables, and intention variables. A variable can be dragged to a variable text box in the diagram element parameter area. Variables can be searched and filtered. shows a variable text box.

Intention variables can be used only in an intelligent IVR.

Scenario

After a voice call is transferred to an IVR flow, the system plays the welcome voice of the customer service hotline, prompts the customer to select a language, and then provides multiple menus for processing different tasks, for example, member information service, timeout, or other keys. When the customer chooses the member information service, the system transfers the call to the corresponding subflow. When the customer input times out or the customer presses other keys, the system plays a voice to notify the customer and ends the flow.

Procedure

  1. Select a flow in New or Unreleased state, expand the flow information, and click Edit.

    When the canvas is initialized, a start diagram element and an end diagram element are displayed by default. The start diagram element cannot be deleted. The end diagram element can be deleted. You can also add multiple end diagram elements. Ensure that at least one end diagram element exists in the flow.

  2. Drag diagram elements to the canvas area and set diagram element parameters, as shown in Figure 2.

    To connect two diagram elements, move the pointer to the source diagram element. When a dotted-line box is displayed on the diagram element, move the pointer to the target diagram element. Except subflow diagram elements, all other diagram elements must have a default connection line, and the start point and end point of the connection line must be on the diagram element. For details, see Diagram Elements.

    Figure 2 Editing a flow

  3. After the flow editing is complete, click Save. In the success dialog box that is displayed, click OK to close the flow editing page.

    During the flow editing, you can click Save to save the edited flow at any time. After the flow editing is complete, you need to close the flow editing page so that you can publish the flow in the flow list.