We have files uploaded to a Sharepoint site. The excel files are all the same format but each will have a different name. I won't know the name of the file coming in. Also, I need to take that file and upload it into a SQL server database and the table name will need to be the same name as the file. I understand I need to get create my flow using the "when a file is created or modified" and I am assuming the next step is "get tables" What I don't understand is how to get the variable and define it. Can someone show me how to do this?
For example there is a file named ABC_123.xls in my sharepoint. I need that file to be picked up and loaded into SQL database and the table name would then be ABC_123.
If another file comes in as DEF_567 then it will be loaded and the table would be DEF_567. Can someone show me the steps for this, specifically the defining the variables and how it is carried on down into the flow?
Thank you