Skip to main content
Qlik Data Gateway upgrade REQUIRED by September 15 READ MORE

How to: Read a CSV file from a Cloud Storage block

No ratings
Showing results for 
Search instead for 
Did you mean: 
Former Employee
Former Employee

How to: Read a CSV file from a Cloud Storage block

This article explains how the CSV files can be read from a Cloud Storage connector. Note that this is a generic example that can be used with multiple platforms.


  1. Drag and drop a new 'Variable' block and link it to the start block. Add a new string variable by clicking on 'Manage variables'. Once the variable is defined and saved, select the "Add Operation" option in the right rail in the Automation workspace and select the 'Empty' option to empty this variable for every run.




  2. Now we shall retrieve data from a Cloud Storage block.
    Click on the 'Cloud Storage' option on the left rail and Drag, drop the 'Open File' block, and link it to the variable block.
  3. Select this 'Open File' block and click on the 'Connector' parameter on the right rail to select the Connection of your desired Cloud storage (Dropbox in this example). Now enter the path of the CSV file in this storage application.
    Click on the 'Connection' tab and connect to your Dropbox account.


  4. Drag, Drop, and link the 'Read data from File' Block to the previous block. Select the file and change the 'Mode' to 'CSV'. Enter the appropriate Delimiter and choose the right 'File Encoding' method and the right option for 'Use first row as header' parameters.


  5. Drag and drop a new 'variable' block inside the 'Read data from file' loop. Select the previously defined string variable and add a new operation to 'Append to'. Select the 'Value' parameter and Select 'Item In Read data from file' and then select the 'Read data from file' object as highlighted in the below screenshot.



  6. Now, 'Output' this variable block to read the CSV file from the Cloud storage block.


Related article:

Labels (1)
Version history
Last update:
‎2022-04-28 02:27 AM
Updated by: