In this step-by-step guide, you will understand how to use a data converter (pipe) for optimizing the data in the relevant format.
By default, all data is sent as a string, but the data converters can be used to send the data in the appropriate format. For example, if the Airtable column is configured as a number, it should be sent in that format only.
The pipe is used to convert data format in various task nodes of a Byteline flow.
| can be placed where the default data string ends for converting such data into the relevant format.
@.data.created | datetime
Here, you can see that the input data fetched with the syntax is
@.data.created and has been instructed to convert into
datetimeformat by using a pipe.
To convert input data to numerical format use the syntax :
To convert input data to boolean format use the syntax :
To convert input data to datetime format use the syntax :
Thus you can use a data converter in your nodes to set them into the right format. Feel free to connect us for any doubt. Develop fast!