If you require to save a list of files from Google Drive to a buffer, please follow the below instructions
Illustrated below is an example of a flow that returns a list of files from a Google Drive folder and then saves each file name to a buffer which is being referenced in the Sync Flow step.
The Google Drive List source step is used to return a list of files from a folder on Google Drive.
Select/Tick the Recursive checkbox to return a list of files within sub-directories.
Select/Tick the Include folders checkbox to return a list of the folder names.
Select/Tick the Include Shared Drives to return list of items from a Shared Drive
The below image shows the returned results from the Google Drive source step which includes the base path, file name, mime type for each file, path and the type.
In the Synchronous Flow, a parameter for the path is referenced in as an Input Parameter to return the file and save the file name to a buffer. The Input Parameter is located at the start of the flow as illustrated in the below image.
The parameter is defined in the start of the flow as an Input Parameter as shown in the below image.
In the Google Drive source step, Google Drive connection is selected and the parameter is specified in the File ID field by clicking on the highlighted link icon and selecting the parameter name as shown in the page below.