Skip to main content

Data Transformation

Upper Case

Description

This operations helps to convert a given key value into Upper Case from any JSON Dataset. This operations take place while data is in-flight

Number of Parameters : 1

Parameter : Uppercase

Provide comma separated list of keys in double quotes to convert the defined key values into Upper Case

Below is a example where we are converting the value of first_name and last-named into Upper Case

"first_name", "last_name"

Lower Case

Description

This operations helps to convert a given key value into Lower Case from any JSON Dataset. This operations take place while data is in-flight

Number of Parameters : 1

Parameter : Lowercase

Provide comma separated list of keys in double quotes to convert the defined key values into Lower Case

Below is a example where we are converting the value of first_name and last_name into Lower Case

 "first_name", "last_name"


Data Type

Description

Data type operation can convert any key's value into JSON data type like

1. Boolean into JSON data type boolean
2. Float into JSON data type float
3. Integer into JSON data type integer
4. Datetime into JSON data type datetime

Number of Parameters : 4

Parameter : Boolean

A Boolean can be converted into JSON data type boolean.

Booleans in JSON datatype do not contain double quotes.

Below is a example where we are converting the values of true and false into into JSON data type boolean.

true or false

Parameter : Float

A float can be converted into JSON data type float

Below is a example where we are converting the value of Amount into JSON data type float.

"Amount"


Parameter : Integer

An integer can be converted into JSON data type integer

Below is a example where we are converting the value of Quantity into JSON data type Integer.

"Quantity"

Parameter : Date Time

A Date Time can be converted into JSON data type date time. 

From date format : The date/datetime format in which the user is defining their date/datetime.

To date format : The date/datetime format in which the user wants to convert their date/datetime.

Below is a example where we are convertconverting From date format to  To date format inside JSON data type Integer.type.

"key_name","From date format","To date format"


Append

Description: 

Append operation dynamically or statically adds a new key with a value on the fly,fly whichwith it's value as dynamic value or static value. This will add key and itsit's value for each record.

Number of Parameters : 1

Parameter : Append

By adding new elements to the end of an existing data structure, the append operation can help to extend or modify the data structure in a flexible and efficient way.

For dynamic value the user can use {{column_name}%column_name%} where column_name is the incoming column in the data pipeline

Below is aan example where awe are adding a new key in-flight with its fixedfixed/static value.

"export_flag_y":"Y","export_flag_p":"P"

Below is an example where we are adding an array with key's value with dynamic values to the keys. We can append multiple keys at a time.

"array_key": [{"transportmode":"{%MODE_OF_TRANSPORT%}","orderType": "{%ORDER_TYPE%}"}]

Title Case

Description:

Title Case operation helps in the converting of a given keykey's value into title case. 

Number of Parameters : 1

Parameter : Title Case

Provide comma separated list of keys in double quotes to convert the defined key values into Title Case

Below is aan example where we are converting the values of amount and valuefirst_name into Title Case.
 

["amount","value"]first_name"


Data Extractor

Description: 

Data Extractor operation is designed to extract specific data from JSON response. 


Number of Parameters : 2

Parameter : Data_Extractor

Data_Extractor is used to extract keys and its value from a JSON response.

Parameter :Data_Extractor_Keys

This helps to provide user defined keys. If left blank it will auto generate keys.

Below is aan example where we are extracting the values of access_token and feedDocumentId.

"['access_token']","['feedDocumentId']"

Trim 

Description: 

Trim operation helps in removing unnecessary parts from the given key's value as defined by the user.

Number of Parameters : 1

Parameter :

Provide comma separated list of keys in double quotes to trim the defined key values.

Below is aan example where we will trim the defined key value first_name

"first_name"



JSON to String

Description: 

JSON to String operation is used to convert JavaScriptJSON object or value as its parameter and returnsinto a JSON string that Stringrepresents the object..

Number of Parameters : 1

Parameter : JSON to String

Provide comma separated list of keys in double quotes to convert the defined keykey's valuesvalue from JSON to String.

Below is aan example where we are converting the valuevalues of key1 and key2 from JSON to String

"key1","key2"



String to JSON

Description: 

String to JSON operation is used to convert a stringString object or value as its parameter and returnsinto a JSON . that represents the object in a specific format. 


Number of Parameters : 1

Parameter : String to JSON

Provide comma separated list of keys in double quotes to convert the defined keykey's valuesvalue from String to JSON

Below is aan example where we are converting the value of key1 and key2 from JSON to String

["key1","key2"]



JSON to XML

Description: 

JSON to XML operation helps to convert JSON object or value as its parameter and returns ainto XML that represents the object..

Number of Parameters : 2

Parameter : Key_data

Key_data converts the provided key's value from JSON to XML.

Below is an example where we are converting the value of product_data_response from JSON to XML.

product_data_response

 

Parameter : Response_key

Response_key tholdsake note of the converted XML value under the specified key name which is easy to access.

Below is aan example where we are convertingof the valuekey ofname product_data_responsedata_response andwhich will hold the responseconverted keyXML will bevalue, data_response

"product_data_response"
"data_response"data_response

 

XML to JSON

Description: 

XML to JSON is used to convert XML object or value as its parameter and returns ainto JSON that represents the object.. 


Number of Parameters : 2

Parameter : Get_key

Get_key converts the provided Key's value from XML to JSON
Below is an example where we are converting the value of product_data_response from XML to JSON.

product_data_response


Parameter : Response_key

Response_key take note of the converted value under the specified key name which is easy to access.

Below is aan example where we are convertingof the valuekey ofname product_data_responsedata_response andwhich will hold the responseconverted keyJSON willvalue, be data_response.

"product_data_response"
"data_response"data_response


Base64 Encoding

Description: 

Base64 operation is used to convert some specific key to base64,base64 encoded, the user can usegive multiple 
keys if they require.


Number of Parameters : 1

Parameter : Base64_encode

Used to encode the values of given key into base64base64.

Below is aan example where we are convertingencoding the value of email into Base64.

"email"


Base64 Decoding

Description: 

Base64 decoding operation is used to convertingconvert a Base64-encoded string back to its original data format.format, the user can give multiple 
keys if they require.


Number of Parameters : 1

Parameter : Base64_decode

Below is aan example where we are convertingdecoding the Base64 encoded value of email back to Base64.original data.

"email"



Generate Array Sequence Number

Description:

Generate Array Sequence Number isoperation ahelps singlein line of data that presents thegenerating sequence thenumber userfor wantseach to specify.row.


Number of Parameters : 2

Parameter : Sequence_key

It is the key name in which the single line data is present whose sequence the user needs to give.
Below is an example of the key_name which holds the single line data.

key_name


Parameter : Sequence_number_key

It is the name of the new key for sequence
Below is aan example where we are convertingof the valuekey ofname key_nameDATA andwhich will store the sequence key will be DATA.
number.

"key_name"
"DATA"DATA



Send Keys top of Root

Description:

Column_to_root operation helps in givingbrining the given nested key's value.value to the top of root.


Number of Parameters : 1

Parameter : Column_to_root


Provide comma separated listkey of keysname in double quotes to specify the key's value.

Below is aan example where we are giving the key'snested valuekey ofas key_name.key_name whose value we want to bring at the top of the root.

key_name"key_name"


Today Timestamp

Description:

Today Timestamp operation helpsadds toa convertnew anyon the fly with the value of today's date/ date time stampas intospecified by the required date and time format.user.

Number of Parameters : 2

Parameter : Date_format

Date_format is used to pass the required format.
Below is an example of a datetime format which can be modified according to user's need.

%Y-%m-%dT%H:%M:%S.%f%z


Parameter : Datetime_key

Datetime_key is the name of key in which the user wants to save their datedate/ datetime

Below is aan example whereof wekey name dl_insert_date which will convertadd a new key on the nowfly timestamp to region based instance into ISO Date Format, wherewith date format is %Y-%m-%dT%H:%M:%S.%f%z  and datetime_key is dl_insert_date.

value.

"%Y-%m-%dT%H:%M:%S.%f%z"
"dl_insert_date"dl_insert_date




Round

Description:

Round operation is used to reduce a decimal number to a specific number of decimal places, where the numbers need to be rounded off.

Number of Parameters : 2

Parameter : Round_keys

Round_keys is used to access the specific key that needs to be roundoff,rounded off, define by the user.
Below is an example of the key name's float_value and int_value whose value we want to round off. 

"float_value","int_value"


Parameter : Decimal_key_number

Decimal_key_number specifies how muchwhich decimal places the user needs.

Provide comma separated list of keys in double quotes to specify the value.
Below is a example of the decimal key number till where we are  rounding off the value ofvalue. float_value and int_value.

"float_value", "int_value"2



Calculator

Description: 

Calculator operationsoperation areis used when awe calculated field with sustaining formulas relatedwant to calculate any particular process is provided,provided by the user.user depending upon the values which are in the columns.

Number of Parameters : 2

Parameter : Calculation_keys

Calculation_keys are used when keys with calculating formula is available. 

Parameter : New_calculation_keys

New_calculation_keys used to  storeholds the calculated values.formula based on the column names of the provided data.

Provide comma separated list of keys in double quotes to specify the value.
Below is a example where we are providing calculated fields offormula"s Amount1 - Amount2 and Amount1 + Amount2 andbased newon keyscolumn names of data.

"Amount1-Amount2","Amount1 + Amount2"


Parameter : New_calculation_keys

New_calculation_keys used to  store the calculated values.

Provide comma separated list of keys in double quotes to specify the value.

Below is an example of new keys name key1 and key2 which will store the calculated values.

"key1","key2"




Date Analytics

Description: 

Date analytics helps us to extract information about the date like the financial year, financial month, quarterly information of year as well as financial year and many other relatable information about the date. .


Number of Parameters : 4

Parameter : Data_field_key

Data_field_key

In Data_field_key we provide the key name which holds the date.
Below is the example of the key name Created_datetime which holds the required value.

Created_datetime


Parameter : Fiscal_month_start 

Fiscal_month_start is used to specify the fiscal start month of an organization.
Below is an example of the organization's fiscal start month as April so we are taking the month number of the year i.e. 4.
 

4

Parameter : Date_column

Date_column is used for giving user defined 11 fields for savings data. If left blank by user it will generate 11 fields dynamically.
Below is an example of user defined 11 fields. 

"Created Month","Created Month Num","Created Year","Created FY Month Num","Created FY","Created Week Num","Created Month Week","Created Qr Num","Created FY Qr Num","Created Qr","Created FY Qr"

Below is an example when user leaves date_column blank




Parameter : Weekday

Weekday is used to specify the starting of the week, %W (starting of week from Monday) and %U (starting of week from Sunday) .
Below is an example of weekday starting with Monday, 

%W


Repeat First Row Values

Description:

Repeat First Row Values operation is used to repeat the 1st row's value of the specified column's.

Number of Parameters : 2

Parameter : Source_key

Source_key is the key which holds the user's single line data that we need to pass.
Below is the example of  key name that holds the data

['product_data_response']['data']


Parameter : Fields_to_repeat_value

Fields_to_repeat_value is a list of key names comma separated in double quotes whose first row value we want to repeat.

Below is an example of key names whose 1st row value we want to repeat
are key1 and key2

"Amount1 - Amount2", "Amount1 + Amount2"
"key1","key2"




Date Analytics

Description: 

Date analytics is used to specify and define various date formats based on the specification.


Number of Parameters : 4

Parameter : Data_field_key

Data_field_key

Data_field_key is a name or code that is used to identify a particular data field.

Parameter : Fiscal_month_start 

Fiscal_month_start is used to specify the start date of a fiscal month, which is a period of time used by organizations to track their financial performance.

Parameter : Date_column

Date_column is used for new date column key name for saving data.

Parameter : Weekday

Weekday is used to specify the starting of the week.



Repeat First Row Values

Description:

Repeat First Row Values operation is used when working with time series data or other data sets where values are expected to remain constant for a certain period of time.

Number of Parameters : 2

Parameter : Source_key

Source_key helps in reading the dataset from a single line.

Parameter : Fields_to_repeat_value

"month","customer_site"

Fields_to_repeat_value is an array of column name's whose first row value we want to repeat.

Below is a example where we are providing calculated fields of Amount1 - Amount2 and Amount1 + Amount2 and new keys
are key1 and key2