JSON Writer Step

The JSON Writer step is used to create a JSON file.

Praise Magidi avatar
Written by Praise Magidi
Updated over a week ago

Illustrated in the below image is a flow where the Record Generator is used to generate records. A JSON Writer step is used to write a JSON file. The Combine step is used to combine records into a single output file. A Run File destination step to deliver an output file that can be downloaded.

Adding a JSON Writer Step

To add a JSON Writer step in a flow, follow the below instructions:

1. Click on the highlighted icon as shown in the below image.

2. The below page will appear. Select or search for a Writer step to pull out the source data. Click on the Writer tab and select JSON as shown in the image below.

Configuring a JSON Writer Step

Illustrated in the below image is the configuration that is available in the JSON Writer step.

Input Section – The object input to use. The following are the available options to select from are Record, Output, Result, and Original Record.

Return Single Object checkbox – Determine whether to return the first object instead of an array of objects. The checkbox is not selected by default when the JSON Writer step is added.


Using a JSON Writer Step

The image below shows data in the Record Generator step.

The Run File step is shown below. The File Type has been selected as Auto.

Viewing the created JSON file

1. Click the Execute Flow button shown in the image below:

2. Click the Create Run button.

3. Once the run has completed successfully, click on the processed run and then click the download button on the Run File step to download the output file as highlighted in the image below.

The image below shows the JSON output file.

Did this answer your question?