All Products
Search
Document Center

Chat App Message Service:Configure the Recognize a Phone Number node

Last Updated:Nov 19, 2024

This topic describes how to configure the Identify Phone Numbers component. This component can recognize the calling code of the telephone number written in the international format in the variable, or the country /region ISO two-letter code, and output it as a variable for subsequent calls. Supports configuration based on the selected country /region branch.

Component Information

Component icon

识别电话号码@1x

Component Name

Recognize a Phone Number

Prerequisites

You can use an existing flow or create a new flow to go to the canvas page of the flow.

  • Go to the existing flow canvas page.

    Yes Chat App Message Service Console > Process Editor > Process 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 orchestration page. For more information, see Create a flow.

Procedure

  1. Click the Identify Phone Number component icon on the canvas to view the component configuration section on the right.

    image

  2. Configure the component data as required. For more information, see configuration items description.

  3. Click Save. In the dialog box that appears, click Save.

    image

Parameters

Configuration

Parameter

Sample image

Input-Setting

Select a variable that contains a valid phone number in international format. These variables come from the variable names set in the process before the current component.

image

Multi-Branching Setting

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

image

Calling Code

If you select Calling Code, you can add corresponding steps for branches based on different calling codes. For example, if you select 86 from the Branches drop-down list, you can add specific steps for the branch. The chat flow enters the branch if phone numbers start with the calling code 86.

Region Code

If you select Region Code, you need to add corresponding steps for branches based on different region codes. For example, if you select CN from the Branches drop-down list, you can add specific steps for the branch. The chat flow enters the branch if the region codes of phone numbers are CN.

image

Output Setting

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

image