Control Flow Activities: Phone Number Parsing

Control Flow Activities: Phone Number Parsing

Phone Number Parsing control flow

The ‘Phone Number Parsing' Activity provides the ability to format any phone number according to the selected ‘Phone format’ type and 'Country region code’ (optional).


image
After opening the 'Phone Number Parsing' activity, you will get the below configuration panel.





Default Configuration Parameters:

  1. Select country region code: Country region in which phone number to be formatted. (Optional)
  1. Select phone format: It will change the Phone number pattern.
  1. Save Result In: Formatted number will be stored in this.

Sample For Each Activity

  1. Select the ‘Phone Number Parsing' activity from 'Activity Sidebar’.
  1. Click on ‘Phone Number Parsing' activity to open and configure the 'Phone Number Parsing’ activity.
  1. Select the ‘Country Region Code' according to your phone number format. This field is optional. If you are not selecting the Region code then your phone number must contain ‘+’ sign and 'Country phone number code’ (+1 ) in order to parse the number.
  1. Select the 'Country Region Code' from the list as shown below:


Select the phone format type from the list in which pattern you want to parse the phone number as shown below:


After selecting the phone format you will see the sample number in which pattern your number will be parsed.

In this example, we are trying to parse the number using the ‘US' Country Region Code and 'International+’ phone format.


After setting the values in the given fields you can close and save the activity by clicking outside of the activity panel. You will notice a child buttons under the 'Phone Number Parsing' Activity.

THEN: After parsing the phone number this button activity will execute.

You can add any activity on this button and can use the result of 'Phone Number Parsing' activity to execute the several activities like you can create a contact after parsing the phone number that will automatically add the formatted phone number inside the contact details. Below is the example to add activity and use the result of the 'Phone Number Parsing' activity.


Open the ‘Create Contact’ activity and configure it. Below is the example to add the phone number in the contact workspace.


This will add the formatted phone number into the contact workspace.

    Still can’t find an answer?
      • Related Articles

      • Common Control Flow Uses

        5. Control Flows Activities The activities listed under Control Flows are commonly used in PopFlow. These activities allow you to create more complex and conditional workflows. These control flows enable the automation to make decisions and take ...
      • Control Flow Activities: Stop Workflow

        Stop Workflow control flow The ‘Stop Workflow’ Activity allows you to stop the execution of the current executing workflow. After opening the 'Stop Workflow' activity, you will see the configuration panel as shown below. You don't need to configure ...
      • Control Flow Activities: If

        If The 'If' Activity allows you to check the data is valid, invalid, less than, more than, etc. using the conditions. If the Property matched the conditions then it will execute the THEN button activities else it will execute the ELSE button ...
      • Control Flow Activities:Switch

        Switch Statement The 'Switch' Activity is used to identify unique branches of the selected data source. This allows for a single data source to have unique chains of Activities for every different type of values. For example, a single data source ...
      • Control Flow Activities: For Each

        For Each The For Each activity allows you to iterate over a list of items and process each item in turn. After opening the 'If' activity, you will get the below configuration panel. Default Configuration Parameters Field Description Each Item Single ...