HI @amaia.aristegui ,
say your sharepoint is like https://sharepoint.com/sites/Name/Document Libraryname/folder1/folder2/file.xlsx
then give following
Site URL - https://sharepoint.com/sites/
Drive name - ‘Document Libraryname’ Or Generally ‘Documents’
Query - “file.xlsx”
sub folder - folder1/folder2
Results will give you multiple results if multiple files are there you can use each by results(0) like this else if you need only first then create a variable for first and directly can use it in the subsequent activities
hope this helps
cheers