All Products
Search
Document Center

Chat App Message Service:Process Editor Component Description

Last Updated:Nov 19, 2024

A component is the smallest unit that constitutes a process. An automated data process can be implemented by orchestrating multiple components and configuring the corresponding data. This topic summarizes the component description and configuration instructions of the process editor for you to understand the configuration details of the components.

Components

The following table describes the configurations of the component. For more information, see Configuration Details.

Component icon

Component

Component Description

Parameters

References

发送Viber消息@1x

Send a Viber Message

Sends Viber Business Messages. Users can use specific Viber features to reply to such messages.

Valid values of the Action parameter:

  • Fixed Send.

  • Reply message.

Supported message types:

  • Transaction.

  • Marketing.

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.

Configure the Send a Viber Message node

发送Instagram消息@1x

Send Instagram messages

Used to send Instagram messages, users can reply using Instagram specific functions.

Valid values of the Action parameter:

  • Fixed Send.

  • Reply message.

Valid values of the Message Type parameter:

  • Text: Variables are supported.

  • Image: images and variables are supported.

  • Quick Reply: You can use variables.

  • Template message: supports image, message title, message subtitle, reply button, link button, button title, and button URL. Variables are supported.

Send Instagram messages

lQDPKHZ5IwjY-z9kZLAtIU8fzjNVMgcB_LdSn6sA_100_100

Send Messenger messages

Used to send Messenger messages, users can reply with Messenger-specific features.

Valid values of the Action parameter:

  • Fixed Send.

  • Reply message.

Valid values of the Message Type parameter:

  • Text: Variables are supported.

  • Media: images, audio, video, and files are supported. Variables are supported.

  • Quick Reply: You can use variables.

  • Template message: supports image, message title, message subtitle, reply button, link button, button title, and button URL. Variables are supported.

Send Messenger messages

发送短信@1x

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:

  • Verification code.

  • Notifications.

  • Marketing.

Configure the Send an SMS Message node

发送WhatApp消息@1x

Send a WhatsApp Message

Sends WhatsApp messages. Users can use specific WhatsApp features to reply to such messages.

Valid values of the Action parameter:

  • Fixed Send.

  • Reply message.

Valid values of the Message Type parameter:

  • Text: You can use variables.

  • Media: images, audio, videos, files, and locations are supported. Variables are supported.

  • Interaction Message: You can select a button group or an interaction list. Variables are supported.

  • Product Messages: supports single-product messages and multi-product messages. Variables are supported.

  • Template Message: allows you to send approved WhatsApp message templates.

Configure the Send a WhatsApp Message node

等待消息通用@1x

Wait for WhatsApp, Instagram message response ,Viber

Wait for users to reply to WhatsApp ,Viber and Instagram messages.

Set the time to wait for a reply from the user. Supports the timeout branch. If the user does not reply within the specified period of time, the corresponding process can be designed in the unreplied branch. You can customize output variables for subsequent process components to call.

Wait for WhatsApp, Viber, and Instagram messages to respond

HTTP请求@1x

HTTP Request

Sends an HTTP request to the specified URL.

Valid values of the Request Method parameter:

  • GET

  • POST

You can turn on Failure Branch and then specify different actions for request success and request failure scenarios.

Configure the HTTP Request node

设置变量@1x

Set Variables

Sets custom variables for reference in subsequent steps.

Add a variable and assign a value to the variable or just add the variable for subsequent process component calls.

Configure the Set Variables node

跳至节点@1x

Jump to Another Step

Jumps to any other step in the chat flow.

You can set the components to jump to and the maximum number of jumps. When the flow is forwarded to the current component, it will jump to the specified component under the current component. After the maximum number of redirects is reached, the current component will no longer be redirected when it is triggered again.

Jump to Component

等待@1x

Wait

Waits for a period of time.

Set the wait time. After the set duration is reached, the process continues to flow.

Configure the Wait node

条件分支@1x

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.

  • And: The chat flow enters a branch when all rules for the branch are met.

  • Or: The chat flow enters a branch when one of the rules for the branch is met.

Supported variables:

  • incomingMessage: the MO message from a user.

  • wabaId: the ID of a WABA. You can obtain the WABA ID on the WhatsApp channel details page.

  • wabaPhoneNumber: the phone number added to a WABA. The phone number is used to send messages to users.

  • customerPhoneNumber: the phone number of a user.

  • customerName: the name of a user.

Supported condition operators:

  • dateEquals

  • dateGreaterThan

  • dateLessThan

  • numberEquals

  • numberGreaterThan

  • numberLessThan

  • stringContains

  • stringEquals

  • stringStartsWith

  • stringlsBlank

  • stringlsNotBlank

  • stringEntireMatchesRegex

  • stringAnyMatchesRegex

Configure the Branching by Conditions node

日期时间分支@1x

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.

Configure the Branching by Date/Time node

识别文本中的实体@1x

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.

Configure the Recognize Entities in Text node

从文本中识别语种@1x

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.

Configure the Recognize Language from Text node

调用函数@1x (1)

Call a Function

Function Compute components help you call your custom functions in Alibaba Cloud Function Compute products in processes. This component enables you to implement custom business logic (such as data processing, remote service invocation, message delivery, and data storage) in a process.

To use this component, you must first activate the Function Compute services and configure and design functions in the Function Compute.

Configure the Call a Function node

识别电话号码@1x

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.

Configure the Recognize a Phone Number node

情感主题分类@1x

Sentiment /Topic Classification

Classifies text based on custom or preset sentiment or theme tags.

Analyzes the input variables or text and outputs custom sentiment or topic tags. You can configure the emotion or topic tags based on the emotion tag. The component must be used with the model service product.

Sentiment /Topic Classification

添加至群组@1x

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.

Configure the Subscribe to Group node

移除出群组@1x

Unsubscribe from Group

Removes a user from a user group.

This node removes a user from the specified user group.

Configure the Unsubscribe from Group node