All Products
Search
Document Center

Chat App Message Service:Recognize a Phone Number

Last Updated:Mar 10, 2026

This topic describes how to configure the Recognize a Phone Number component. This component can recognize the calling codes of phone numbers written in international format in variables, or two-letter country or region codes defined by the International Organization for Standardization (ISO) in variables. Then, it can convert the codes into variables for use in the subsequent components. This component supports multiple branches with different configurations.

Component information

Icon

Name

识别电话号码@1x

Recognize a Phone Number

Preparations

Go to the canvas page of an existing flow or a new flow.

  • Go to the canvas page of an existing flow.

    Log on to the . Choose Chat Flow > Flow Management. Click the name of the flow that you want to edit. The canvas page of the flow appears.

    image

  • Create a new flow to go to the canvas page. For more information, see Create a flow.

Procedure

  1. Click the Recognize a Phone Number icon on the canvas to show the component configuration section on the right side.

    image

  2. Configure the component. For more information, see the Parameters section of this topic.

  3. Click Save in the upper-right corner. In the message that appears, click Save.

    image

Parameters

Parameter

Description

Example

Input Settings

Select a variable that contains a valid phone number in international format. The variables in the drop-down list are configured in the steps before the Recognize a Phone Number component.

image

Multi-branching Settings

If you turn on Enable Multi-Branching, you can configure branches based on their branching methods.

image

Output Settings

Select an output format and specify a variable name. This way, the identified content is returned in the selected format.

image

Calling Code

Branches the flow based on the phone number's calling code prefix. For example, a branch for "86" will process all phone numbers that start with +86.

Region Code

Branches the flow based on the phone number's two-letter ISO region code. For example, a branch for "CN" will process all phone numbers associated with that region.

image