SMS Sending (Expired and Not Recommended)
This diagram element is used to invoke an interface for sending SMS messages to send an SMS message based on a template.
Diagram Element
Parameter Description
- Node Name: name of a node.
- Description: details of a node.
- SMS Template: You can select an SMS template defined under . This function is supported only when the OP is independently deployed.
- SMS Content: If you do not need an SMS template for a simple content, you can enter the content here.
Condition Branch Description
Condition Branch |
Description |
Usage |
---|---|---|
SYSERROR_INNER |
ODFS internal error |
Triggered when an unknown error occurs in the ODFS. |
SYSERROR_INTERFACE |
Business interface invocation failure |
Triggered if an error occurs when the Business Interface Invocation diagram element is used to invoke a third-party interface. This branch is generally used on the connection line between the Business Interface Invocation diagram element and subsequent node. |
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
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.
- 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 site requirements. The following is an example:
When you manually enter the message body to configure the interface:
When the automatically generated message body is used:
- Sign in to the AICC and choose .
- Configure an intelligent IVR flow.
- Choose and click New to add a simple flow.
- 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 reply variable FLOW.ask for the Robot Reply diagram element to ask the customer about the dinner reservation date: "What date would you like to make a reservation for dinner?"
- The input parameters smsContent and userMobile of the SMS message sending diagram element interface do not need to be set. If they are set, they are used preferentially.
- You can select an SMS template (variables can be set) or customize the SMS content.
- SmsContent, SMS template, and SMS content. The priorities of the values are as follows: smsContent > SMS template > SMS content
- userMobile and the user number obtained by the system. The priority is as follows: userMobile & > User number obtained by the system
- Save and publish the flow.
- Choose and bind the flow to a robot.
- Choose
. In the last column corresponding to the robot, click Test Call.
In the test dialog box that is displayed, click Start Call to test the robot.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot