How to read the contents of an uploaded file within a Flow

Hi - I’m new to directus, I’m trying to get the contents of an uploaded csv file and write it to table.
I’ve a lot of things with permissions - I’m logged in as admin, added a policy that gives read access to directus_files etc. but still get this error: : “You don’t have permission to access collection "directus_files" or it does not exist. Queried in root.”

I’m a bit confused about the script options in flows -some documentation says you can access apis in a script, other documentation says the flow scripts are sandboxed and can’t reference network resources (like the directus api). which is correct?

I did it :slight_smile: used a Webhook/RequestUrl (Get http://192.168.178.45:8055/assets/{{$trigger.payload.filename_disk}}) under headers I set the Header field to “Authorization” and the Value field to “Bearer ” now I can see the content of the uploaded file