title: How can i pass the file name / path after "Copy data" step to Azure Functions in ADF
body: <p>In the current pipeline there is a &quot;Copy data&quot; step, which copies the files from a sftp server to a data lake.
  The second step would be to process the newly copied data with azure funtions.
  Thereby, it would be nice to pass the name of the file or file path to the azure function. So that it can read / open  the file from the data lake and eventually store the processed data in Postgresql (inside a vnet).</p>
  <p><a href="https://i.stack.imgur.com/Jp0Zf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jp0Zf.png" alt="enter image description here" /></a>
  For example, how could I embed the file name or file path inside the body?</p>
  <p><a href="https://i.stack.imgur.com/n0r3S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n0r3S.png" alt="enter image description here" /></a></p>
  <p>There is another option using trigger on blob storage / data lake. I would slightly prefer to pass the path or the file name. Suggestions, ideas are appreciated.</p>