Phone Scrub Accelerator
  • 01 Aug 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Phone Scrub Accelerator

  • Dark
    Light
  • PDF

Article summary

Overview

The purpose of this accelerator is to classify phone numbers into four categories:

  1. Mobile

  2. Landline

  3. VoIP

  4. Invalid.

Below is a step-by-step guide to securely classify phone numbers using Ushur Studio workflow.


Accelerator Navigation

  • Navigate to Create Project > PhoneScrub.


The Workflow

To configure the workflow settings, refer to Configure the Setup and Start Option.


Description Of the Steps

Step Name

Description/Functionality

Welcome!

Default welcome step

Fetch

Import Data from the Data Table to the tags and execute the rest of the workflow only if the PhoneType is an empty field

PhoneScrub

The API call

CheckAPI

Checking the API response

Invalid

If the API returns “unknown” or an empty value, then store “Invalid” in the PhoneType tag.

Store

Store the values of the tags in the Data Table

Pre-Defined Tags Configuration

To Configure the pre-defined tags, navigate to Setup & Start > Data.

Tag Name

Tag Description

API

API endpoint address

Note

Enter your API endpoint address before executing the simulator.

AuthToken

The authorization key to access the API

Note

Enter your API key before executing the simulator.

PhoneNumber

Phone number to be classified

PhoneType

Type of the Phone Number

Note

Stores the value either ‘mobile’, ‘landline’, ‘voip’, or ‘Invalid’.

apiResponse

API response in JSON format


Data Integration

Data Table is the data from the Enterprise that Ushur utilizes within the workflow and then exports it back to the Enterprise. For more information refer to Data Tables.

Import Data Module
Export Data Module

Import Data Module

The Import Data module helps you to integrate the data table records into the workflow tags. To integrate the data table records into tags, follow the below steps:

  1. Drag and drop or double-click the Import Data module into the Inspector Panel of the Fetch Step and double-click to configure it.

  2. From the Datatable to link dropdown select the data table from which you want to import data.

  3. Choose the Unique key of your data table and select the record to link the key value from the respective dropdown.

  4. Select the next step to be executed from the On Error Branch to drop-down in case an error occurs while fetching the data.

  5. Select the Copy Data From checkbox and map your data table properties to the respective tags.

  6. Select the tag from the Save To dropdown. The tag descriptions are described above in the Tag Description Table.

  7. You can also store the data table properties into new tags, scroll down to the bottom of the Save To dropdown to find the New Tag button.

Export Data Module

The Export Data module helps you store the tags' information in the data table or a predefined SFTP server. To export the values of the tags into the data table:

  1. Drag and drop or double-click the Export Data module into the Inspector Panel of the Store Step and double-click to configure it.

  2. Under Export to choose your export destination as Datatable

  3. Select the data table you want to export data to from the Export to Datatable dropdown.

  4. Select a destination datatable column from the Export to dropdown for all the tags whose data you want to export.


Bulk Upload Trigger


Was this article helpful?