Post multiple files through a CSV

Hi Community,

Considering the CSV file “2-sample.csv” containing the columns:
FileName,ProcessID
“file 1.pdf”,164
“file 2.pdf”,165
“file 3.pdf”,166

I need to run an automation following the actions below:

1- Run multiple posts https://example.com/danalysis/{{ProcessID}}/attachment/

2- Each post must uploads related {{FileName}} stored in a MacOS folder path /Users/atom/Documents/All_files/PDF

Can anyone pls assist?

Thanks!!

Hey @science-meteorologi3 :wave:

Welcome to the Postman Community! :postman:

If those are contained in a CSV file, if you were to make a reference to them in the request using the variable syntax, it’s just going to resolve to that string value. It wouldn’t create a direct reference to that file on your local machine.