Call Ending

This diagram element is used to mark the end of a flow.

Diagram Element

Parameter Description

  • Node Name: name of a node.
  • Description: details of a node.
  • Invoked Interface: interface to be invoked. Select an interface added on the Resource Management > Business Interface page.
  • Start Time and End Time: start time and end time during which an interface can be invoked. The configured interface will be invoked to execute related tasks only in the specified time period.

    The time format is HH:MM:SS. For example, if Start Time is set to 00:00:00 and End Time is set to 23:59:59, the configured interface is invoked when the Call Ending diagram element is reached at any time of a day.

  • Sending Interval: interval for invoking the interface, in days. The value is an integer and cannot exceed 365. If this parameter is set to -1, the interface is not invoked periodically. The invocation is triggered when the Call Ending diagram element is reached at any time.

Using the Diagram Element

Click the diagram element or drag it to the canvas.

Typical Application Scenario

If you need to invoke a third-party interface to implement a specific business when using the Call Ending diagram element, you can perform the following operations to ensure that the Call Ending diagram element can be reached in any case:

  1. Sign in to the AICC and choose Configuration Center > Chatbot Management > Flow Configuration.
  2. Configure an intelligent IVR flow.

    1. Choose Flow > Orchestration and add a normal end flow that contains only the Start and Call Ending diagram elements, as shown in the following figure. You do not need to configure the invoked interface for the Call Ending diagram element.
      Figure 1 Normal end flow
    2. Save and publish the flow.
    3. Choose Flow > Orchestration and add an actual business flow. Do not directly connect a Call Ending diagram element as the last diagram element of the flow. Instead, connect a Subflow diagram element to transfer the flow to the normal end flow added in 2.a. In this way, the Call Ending diagram element can be reached in any case, including after the flow is transferred.
      Figure 2 Actual business flow (Subflow diagram element)
      Figure 3 Actual business flow (Call Ending diagram element)
    4. Save and publish the flow.

      When the flow execution passes through the Call Transfer diagram element and the transfer is successful, the third-party interface configured in the Call Ending diagram element is not invoked.

  3. Choose Intelligent Chatbot and bind the flow to a robot.
  4. Choose Intelligent Chatbot. In the last column corresponding to the robot, click Test Call.

    In the test dialog box that is displayed, click Trace Settings and enable Calling Number Tracing. Click Start Call to test the robot.

    If you do not set Calling Number before making a call, the default calling number 123456789 is used.

  5. Choose Flow Management > Flow Tracking and query the flow check result of the test number. The following figure shows that the flow has reached the Call Ending diagram element through the Subflow diagram element.

    Figure 4 Flow track log page