SMS Sending

Appearance

Parameter Description

  • Node Name: name of a node.
  • Description: details of a node.
  • SMS Template: You can select the SMS template defined under Resource Management > Resource Template. This function is supported only in the OP independent deployment environment.
  • SMS Content: If you do not need an SMS template for a simple content, you can enter the content here.

Using the Diagram Element

The SMS Sending diagram element is used to send an SMS message.

Click the diagram element or drag it to the canvas, and select an SMS template or add an SMS content. If you need an SMS template, define it under Resource Management > Resource Template in advance.

Typical Application Scenario

The following describes how to use the SMS Sending diagram element to send a dinner reservation SMS message after the dinner reservation time is confirmed.

  1. Add an interface for sending SMS messages. For details, see Adding Business Interfaces.

    The message body of the interface must contain the input parameters smsContent and userMobile. Set other parameters based on the actual situation.

    Manually entering a message body to configure an interface:

    Automatically generating a message body:

  2. Sign in to the AICC and choose Configuration Center > Flow Configuration > Intelligent IVR.
  3. Configure an intelligent IVR flow.

    1. Choose Flow Management > Flow Orchestration and click Add to add a simple flow.
    2. Click + in the Flow Variable area. In the dialog box that is displayed, set the variable name and data type.
      Figure 1 Flow variables to be added
      Figure 2 Flow orchestration example (SMS Sending diagram element)
      • Use the response variable FLOW.ask for the Response diagram element to ask the customer about the dinner reservation date: What date would you like to make a reservation for dinner?
      • You do not need to set the interface input parameters smsContent and userMobile of the SMS Sending diagram element. If you have set the parameters, their values are used preferentially.
      • You can select an SMS template (where variables are configurable) or customize the SMS message content.
      • The configuration priority is as follows: smsContent > SMS template > customized SMS message content.
      • The configuration priority is as follows: userMobile > user phone numbers obtained by the system.
    3. Save and release the flow.

  4. Choose Chatbot Management and bind the flow to a chatbot.
  5. Choose Chatbot Management. In the last column corresponding to the chatbot, click Test Call.

    In the test dialog box that is displayed, click Start Call to test the chatbot.