Skip to main content
Solved

Getting data from dynamic number of excel files on sharepoint

  • May 28, 2026
  • 1 reply
  • 11 views

Kamil Deren
Level 2
Forum|alt.badge.img+1

Hi,

 

I’m currently facing an issue while setting up an Action Flow / Machine Learning Workbench solution to download and merge multiple Excel/CSV files from a SharePoint site.

I can see that it’s possible to download a single file using the Microsoft SharePoint Online module in Action Flow. However, my problem is that the folder contains multiple files with different names, and I would like to handle all of them within one solution.

Has anyone worked on something similar and could share some advice on how to approach this?

Best answer by Amishee Choksi

Hi Kamil, 

 

You could try this approach out, which uses a combination of the action flows and MLWB: 
Recommended setup

In Action Flow:
  - Start with Watch Folders / Files on the SharePoint folder. This is the standard trigger for created/updated files
  - Use either:
    - one flow run per file, or
    - collect multiple file references and send them together to ML Workbench

In MLWB
- Use Action Flow to get/list file references from the folder
- Pass all file IDs / download URLs to ML Workbench, for example as a comma-separated string
- In ML Workbench, split the string and iterate over the files
- Merge all dataframes into one output

 

1 reply

Forum|alt.badge.img+1

Hi Kamil, 

 

You could try this approach out, which uses a combination of the action flows and MLWB: 
Recommended setup

In Action Flow:
  - Start with Watch Folders / Files on the SharePoint folder. This is the standard trigger for created/updated files
  - Use either:
    - one flow run per file, or
    - collect multiple file references and send them together to ML Workbench

In MLWB
- Use Action Flow to get/list file references from the folder
- Pass all file IDs / download URLs to ML Workbench, for example as a comma-separated string
- In ML Workbench, split the string and iterate over the files
- Merge all dataframes into one output