# Global Formater

The global formater function aims to format values based on their type. It provides options for formatting, such as converting strings to numbers, objects to arrays, and encoding values in base64 or MD5.

![](https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FMhBNsgumx8nkwbiuHc9F%2Fimage.png?alt=media\&token=6c8fe0b5-ba75-4ea5-b6cd-9a36fcd8d254)

{% tabs %}
{% tab title="Entry Vars" %}
object

**object --- arrayWithId**

This combination of options will allow you to convert an object into an array with an ID.

Example:&#x20;

**Origin data :** You should send a value of object type in which all top-level properties will be converted into array positions.

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :** null

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :** null

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FTTZVy0vA0fBxdFLsuqCg%2Fglobal%20formated%20object%20to%20arrawithD.gif?alt=media&#x26;token=69d2db00-fc46-4474-9283-dfd8f72cf8a9" alt=""><figcaption></figcaption></figure>

**object --- arrayWithoutId**

This combination of options will allow you to convert an object into an array withOut an ID.

**Origin data :** You should send a value of object type in which all top-level properties will be converted into array positions.

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :** null

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithoutId

**Target type detail :** null

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FeL0KKvHBOyx0TpUxOEE0%2Fglobal%20formated%20object%20to%20arrawithOutID.gif?alt=media&#x26;token=6e6718eb-9d98-4678-b987-9a89ae5cdf5f" alt=""><figcaption></figcaption></figure>

**object --- get**

This combination of options allows you to retrieve the value of a specific property within an object. Remember that you can retrieve values from the top level or access and retrieve values from nested levels using the correct structure. For more details about this structure, please refer to the documentation here.

**Origin data :**  You should send a value of object type in which all top-level properties will be converted into array positions.

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.le.&#x20;

Example: object

**Origin type detail :** name

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: get

**Target type detail :** null

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2Fl2sCnw5grf2FQHEyiTME%2Fglobal%20formated%20object%20to%20get.gif?alt=media&#x26;token=2262bd3a-510d-4f79-abd0-235921f7b98d" alt=""><figcaption></figcaption></figure>

**object --- set**

This combination of options allows you to create an object with at least one property and its value. Additionally, you can concatenate this object with another one you already have and set the property at the top level of that object.

**Origin data :** You should send a value of object type from which it will extract the required property.

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :** You should send a string with the name of the property you want to extract from the object.

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: set

**Target type detail :** null

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FNoR7oqm4qPQk7aQPyOHR%2Fglobal%20formated%20object%20to%20set.gif?alt=media&#x26;token=d38c25e9-6fd4-498d-91b0-897aa8c6a8c6" alt=""><figcaption></figcaption></figure>

**object --- concatObjects**

This combination of values will allow you to concatenate two objects, returning a single resulting object.

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: concatObjects

**Target type detail :** null

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FyTbHONpajZvl9gaGI0VL%2Fglobal%20formated%20object%20to%20concatObjects.gif?alt=media&#x26;token=ccbf7bde-215d-4b57-9767-4beaf9888fcd" alt=""><figcaption></figcaption></figure>

**object ---** jsonStringify

This combination of options converts our object into a string value in JSON format. It takes as an argument the object or value that you want to convert and returns the JSON representation as a string of characters.

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example:  jsonStringify

**Target type detail :** null

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2F7IvUs5xNMA4M571kCu2g%2Fglobal%20formated%20object%20to%20jsonStringify.gif?alt=media&#x26;token=b9185561-54c4-40ad-a254-467ffad10d48" alt=""><figcaption></figcaption></figure>

Array

**array --- concatArrays**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :**&#x49;n this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: concatArrays

**Target type detail :**

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FXidpZJGnkqgtjteyDhPS%2Fglobal%20formated%20array%20to%20concatArray.gif?alt=media&#x26;token=191881ef-913d-442e-8ccc-e7e02a6bf727" alt=""><figcaption></figcaption></figure>

**array --- slice**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :**&#x20;

**Target type detail :**

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2Fnvkri3fZWufvNi673JSf%2Fglobal%20formated%20array%20to%20slice.gif?alt=media&#x26;token=bdda89b3-8fc6-483a-8ec4-03d1727b0255" alt=""><figcaption></figcaption></figure>

**array --- orderBy**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

number

**number --- Hexadecimal**

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FoftD8gVPsvHKcRRUK2nx%2Fglobal%20formated%20number%20to%20hexadecimal.gif?alt=media&#x26;token=3db4b3dd-10c6-4b74-8570-16d485cbe5ee" alt=""><figcaption></figcaption></figure>

**number --- round**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.&#x20;

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID&#x20;

**Target type detail :**

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2F9EeUPhAVRhGjMhyrdgOP%2Fglobal%20formated%20number%20to%20round.gif?alt=media&#x26;token=48cb62cd-614c-4b1f-afd9-ab8aabc58abe" alt=""><figcaption></figcaption></figure>

**number --- money**

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FoaLxzn0GquXGiI3ySjMI%2Fglobal%20formated%20number%20to%20money.gif?alt=media&#x26;token=0e9d2cc0-5591-4ca1-9b3b-74df7bb4bcd6" alt=""><figcaption></figcaption></figure>

**number --- moneyNumber**

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FvndrFORlqD24c40Xcj4J%2Fglobal%20formated%20number%20to%20moneyNumber.gif?alt=media&#x26;token=f9a776cb-2259-4e62-a5bf-d87cd3b693a9" alt=""><figcaption></figcaption></figure>

**number --- string**

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2Fj8FaJPEHiy79xlkUm1yP%2Fglobal%20formated%20number%20to%20string.gif?alt=media&#x26;token=46c1ac0c-4ad4-4cf7-84fa-05f55d1714be" alt=""><figcaption></figcaption></figure>

string

**string --- noSpaces**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- trimmed**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- slice**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- number**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :**&#x49;n this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- Hexa Encoding**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :**&#x49;n this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**object --- MD5**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- Base 64**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable..&#x20;

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- remplace**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :**&#x49;n this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- remplaceAll**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :**&#x49;n this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- Title Case**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :**&#x49;n this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- Lower Case**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- Upper Case**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- sha256**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- split**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- hmacSha256**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- hmacSha256Hex**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

**string --- jsonParse**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :**&#x49;n this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

**Target type detail :**

Base 64

**Base 64 --- String**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

xml

**xml --- json**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :**&#x49;n this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

json

**json --- xml**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :**&#x49;n this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

date

**date --- date**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :**&#x49;n this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID

HTML

**HTML --- String**

**Locale :**&#x20;

**Origin data :**&#x20;

**Origin Type :** In this input variable, you should select an option from the picker based on the current format type of your value in the 'origin data' input variable. It is important to choose this first, as it will determine the available options in the 'Target type' input variable.

Example: object

**Origin type detail :**&#x20;

**Target type :** In this input variable, you should select an option from the picker based on the type of format you want to apply to your input value in 'origin data'.

Example: arrayWithID
{% endtab %}

{% tab title="Callbacks & Outvar" %}
**error :**&#x20;

OutVars&#x20;

`Null`

**success :**&#x20;

OutVars&#x20;

`Null`
{% endtab %}

{% tab title="Features" %}

{% endtab %}

{% tab title="examples" %}

{% endtab %}
{% endtabs %}
