> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vectorshift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Convert Type Node

> Convert value from source type to target type.

<img alt="Convert Type Node" classname="w-full" src="https://mintcdn.com/vectorshift/fUdgBpX7VNpDIEaX/images/platform/pipelines/logic/convert-type.png?fit=max&auto=format&n=fUdgBpX7VNpDIEaX&q=85&s=f646deb35bc6cae5fae1e470bda05417" width="521" height="350" data-path="images/platform/pipelines/logic/convert-type.png" />

This node allows you to convert value from source type to target type.

## Node Inputs

1. Value: The value to convert.
   * Type: `<based on source type>`

## Node Parameters

On the face of the node:

1. Source Type: The type of the value to convert. The only value available currently is `Text`.
   * Type: `Dropdown`
2. Target Type: The type to convert the value to. The available options are `Integer`, `Decimal`, `Boolean` and `Timestamp`. The default option is `Integer`.
   * Type: `Dropdown`

## Node Outputs

1. Converted Value: The converted value in the target type
   * Type: `<based on target type>`
   * Example usage: `{{convert_type_0.converted_value}}`

## Example

The below example is a pipeline which converts a value from `Text` to `Integer`.

1. Input Node: The value to convert
   * Type: `Text`
2. Convert Type Node: Converts the value from `Text` to `Integer`
   * Value: `{{input_0.text}}`
   * Source Type: `Text`
   * Target Type: `Integer`
3. Output Node: Outputs the converted value
   * Output: `{{convert_type_0.converted_value}}`

<img src="https://mintcdn.com/vectorshift/fUdgBpX7VNpDIEaX/images/platform/pipelines/logic/convert-type-example.png?fit=max&auto=format&n=fUdgBpX7VNpDIEaX&q=85&s=0909376972d2f4f63d62911bfbb3fc50" alt="Convert Type Node Example" width="1901" height="833" data-path="images/platform/pipelines/logic/convert-type-example.png" />
