- Print
- DarkLight
- PDF
Overview
The purpose of this accelerator is to classify phone numbers into four categories:
Mobile
Landline
VoIP
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
|
AuthToken | The authorization key to access the API
|
PhoneNumber | Phone number to be classified |
PhoneType | Type of the Phone Number
|
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
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:
Drag and drop or double-click the Import Data module into the Inspector Panel of the Fetch Step and double-click to configure it.
From the Datatable to link dropdown select the data table from which you want to import data.
Choose the Unique key of your data table and select the record to link the key value from the respective dropdown.
Select the next step to be executed from the On Error Branch to drop-down in case an error occurs while fetching the data.
Select the Copy Data From checkbox and map your data table properties to the respective tags.
Select the tag from the Save To dropdown. The tag descriptions are described above in the Tag Description Table.
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:
Drag and drop or double-click the Export Data module into the Inspector Panel of the Store Step and double-click to configure it.
Under Export to choose your export destination as Datatable
Select the data table you want to export data to from the Export to Datatable dropdown.
Select a destination datatable column from the Export to dropdown for all the tags whose data you want to export.
Bulk Upload Trigger
The bulk upload trigger feature helps you to trigger the workflow when you upload data in the datable. For more information refer to Bulk Upload and Trigger Ushurs Using CSV File.