A node is the smallest unit in a chat flow. You can add multiple nodes and configure the nodes to create an automated chat flow. This topic describes Chat Flow nodes and node configurations.
Node description
The Configuration description column in the following table offers a brief overview of node configurations. For more information about the node configurations, see the topics provided in the References column.
Node icon | Node name | Node description | Configuration description | References |
Trigger | Triggers a chat flow. Different trigger methods require different configurations. |
| ||
Send a Viber Message | Sends Viber Business Messages. Users can use specific Viber features to reply to such messages. | Valid value of the Action parameter: From/To. Valid values of the Send Message Type parameter:
Note From/To indicates that the message sender and recipient are fixed. You can select a channel or variable to specify the sender, and enter a phone number or select a variable to specify the recipient. | ||
Send an SMS Message | Sends messages. | After you enter a sender ID, you can specify the message content type. Valid values of the Content Type parameter:
| ||
Send a WhatsApp Message | Sends WhatsApp messages. Users can use specific WhatsApp features to reply to such messages. | Valid values of the Action parameter:
Valid values of the Message Type parameter:
| ||
Wait for a WhatsApp Response | Waits for a WhatsApp message response from a user. |
You can turn on Add expired case and then specify different actions in cases of receiving a reply and not receiving a reply after the wait time expires. | ||
HTTP Request | Sends an HTTP request to the specified URL. | Valid values of the Request Method parameter:
You can turn on Failure Branch and then specify different actions for request success and request failure scenarios. | ||
Set Variables | Sets custom variables for reference in subsequent steps. | - | ||
Jump to Another Step | Jumps to any other step in the chat flow. | You can specify the node to jump to and the maximum number of jumps. When the chat flow reaches this step, the chat flow automatically jumps to the specified node. After the maximum number of jumps is reached, the chat flow proceeds to the next step, instead of jumping to the specified node. | ||
Wait | Waits for a period of time. | You can specify a wait time. The chat flow proceeds to the next step when the wait time is reached. | ||
Branching by Conditions | Adds multiple branches based on conditions. This allows different actions to be performed based on specified condition rules. | You can add rules or rule groups for branches to determine which branch to enter based on specified condition rules.
Supported variables:
Supported condition operators:
| ||
Branching by Date/Time | Adds multiple branches based on time. The chat flow enters different branches based on time conditions. | You can specify a time condition by date, time range, and day of the week. You can also specify a time zone. | ||
Recognize Entities in Text | Automatically identifies entities in text. The identified data can be reused in subsequent steps. | You can select a value from the Recognize Name drop-down list to specify the recognition text, and then configure the Variable and Entity parameters to specify the entity to be identified. Only phone numbers and email addresses can be identified. | ||
Recognize Language from Text | Identifies the language of a message and converts the language into a variable for reference in subsequent steps. | This node can automatically identify the languages of the MO messages from users and convert the languages into variables. | ||
Call a Function | Invokes the custom function that you create in Function Compute. This node allows you to implement custom business logic in the chat flow, such as data processing, remote service calls, message delivery, and data storage. | Before you use this node, you must activate Function Compute and create and design a custom function in the Function Compute console. | ||
Recognize a Phone Number | Identifies the calling code of a phone number written in international format or the two-letter country or region code defined by the International Organization for Standardization (ISO). | This node can convert the identified calling codes or two-letter country or region codes into variables for reference in subsequent steps. This node supports multiple branches with different configurations. If the phone number is 8613012345678, the output calling code is 86 and the output two-letter country code is CN. | ||
Sentiment/Topic Classification | Classifies text based on custom or preset sentiment or theme tags. | This node analyzes input variables or text, and determines which branch to enter based on custom or preset sentiment or theme tags. You can configure different sentiment or theme tags for different branches. | ||
Subscribe to Group | Adds a user to a user group. | This node adds the phone number and name of a user to the specified user group. | ||
Unsubscribe from Group | Removes a user from a user group. | This node removes a user from the specified user group. | ||
End | Ends the chat flow. | In most cases, this node is added to end a single branch or a chat flow when no more actions need to be performed. | - |