Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
I am testing something on the Copy Data from SFTP Server to SQL Server, and to be triggered upon arrival of files into the SFTP Server. I am trying to use Parameter for the Filename which is sent to the Outlook for notification. However, I notice with Parameter, each time we need to key in the filename manually. Is that the correct method I am using for the Parameter?
Hi @tan_thiamhuat,
Thanks for reaching MS Fabric Community support.
Using pipeline parameters manually requires to enter values during each run, which is not feasible for automated workflows triggered by file arrival. manual parameter input is not a suitable approach when aiming for automation.
To automate your pipeline and avoid manual inputs, use dynamic content by first checking the SFTP folder for files using Get Metadata . This activity returns the list of files in the folder, loop through files in Metadata activity and use each filename directly in your copy activity and in your email notification.
This way, the pipeline automatically picks up whatever file is present, processes it, and includes the filename in the message, all without needing to set any manual parameters.
Thanks,
Prashanth Are
MS Fabric community support
If this post resolves your issue, please mark it as "Accept as solution" and give kudos if you found it helpful.
I get the idea, but where do I put the loop condition to loop through the files for their filenames?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
69 | |
39 | |
15 | |
14 | |
5 |
User | Count |
---|---|
72 | |
65 | |
25 | |
8 | |
7 |