Components are the building blocks of a flow. Combine and configure them to create automated data flows.
Components
The following table lists each component and its configuration. For details, click the link in the Reference column.
Category | Icon | Name | Description | Configuration | Reference |
Core |
| Branching by Conditions | Routes a flow into different branches based on conditional rules. | Define how conditions are evaluated by adding rules or rule groups:
Supported rule variables:
Supported matching conditions:
| |
| Jump to Another Step | Jumps to any other step within the flow. | Specify a target component and a maximum number of jumps. After the maximum is reached, the flow proceeds to the next step instead of jumping. | ||
| Set Variables | Creates or modifies custom variables for use in later steps of the flow. | Add a variable and optionally assign it a value. Other components in the flow can then reference the variable. | ||
| Wait | Pauses the flow for a specified period. | Set the pause duration. The flow resumes after the specified time elapses. | ||
| Recognize a Phone Number | Identifies the country calling code and the ISO country code from a phone number in international format. | Outputs the calling code or country code from an incoming phone number. Supports branching based on the result. For example, for the number 8613012345678, the component can output the calling code 86 and the ISO country code CN. | ||
| Recognize Language from Text | Identifies the language of a message and saves it as a variable for use in later steps. | Automatically identifies the language of a user's message and outputs it as a variable for use in subsequent components. | ||
| Recognize Entities in Text | Extracts specific information, such as phone numbers and email addresses, from text for use in later steps. | Extract entities from a source text or variable. Supports phone numbers and email addresses. | ||
| HTTP Request | Sends an HTTP request to a specified URL. | Supports two request methods:
Add a failure branch to define separate actions for successful and failed requests. | ||
| Call a Function | Calls a custom function in Alibaba Cloud Function Compute to run custom business logic such as data processing, remote service invocation, or data storage. | To use this component, first activate Function Compute and configure a function in its console. | ||
| Branching by Date/Time | Directs the flow based on multiple date and time conditions. | Specify conditions based on date, time range, and day of the week. Time zone settings are supported. | ||
| Random Branch | Directs the flow into a random branch based on a defined probability. Use this to send varied messages or run A/B tests. | Set the probability for each branch. The sum of all branch probabilities must be 100%. | ||
| Forward to Flow | Forwards the session to another flow and immediately ends the current flow. | Select a published flow. | ||
Messaging |
| Send a WhatsApp Message | Sends a WhatsApp message. Users can reply with WhatsApp-specific features. | Supports two actions:
Both actions support the following message types:
| |
| Send a WhatsApp Typing Indicator | Shows a typing indicator to the user, signaling that a response is being prepared. | No configuration is required. This component applies only to WhatsApp messages and must be used with the Send a WhatsApp Message or Wait for a WhatsApp Response component. | ||
| Wait for a WhatsApp/Viber/Instagram Response | Waits for a user to reply to a WhatsApp, Viber, or Instagram message. | Set a timeout duration for the reply. You can enable a timeout branch for when no reply is received and define output variables for use in later components. | ||
| Send a Viber Message | Sends a Viber message. Users can reply with Viber-specific features. | Supports two actions:
Supported message types:
Note Fixed Send sends a message from a selected channel or parameter to a specified number or parameter. | ||
| Send a Messenger Message | Sends a Messenger message. Users can reply with Messenger-specific features. | Supports two actions:
Both actions support the following message types:
| ||
| Send an Instagram Message | Sends an Instagram message. Users can reply with Instagram-specific features. | Supports two actions:
Both actions support the following message types:
| ||
| Send an SMS Message | Sends an SMS message. | Select a Sender ID, then choose one of the following SMS types:
| ||
| Send an Email | Sends an email. | Select an email channel and a message template to send the email. | ||
Intelligence |
| Natural Language Dialog | Connects to a large language model (LLM) to maintain a continuous conversation by queuing and processing incoming messages while awaiting model responses. | Configure a model or an application to enable natural language dialog. | |
| Sentiment/Topic Classification | Classifies text with custom sentiment or topic labels. | Analyzes text from a variable or direct input and assigns a custom label. Branch the flow based on the assigned label. Requires Alibaba Cloud Model Studio. | ||
| Natural Language Generation | Uses an LLM for multi-turn conversations, knowledge retrieval, and content generation. | Configure a model or an application to use this component. | ||
Contact |
| Subscribe to Group | Adds a user to a specified group. | Adds a user's phone number and name to the specified group. | |
| Unsubscribe from Group | Removes a user from a specified group. | Specify the group from which to remove the user. |