You could use a StopFlowIF Step to abort the Flow if the downloaded file is too small.
Could you please send us a Screenshot of a Step Preview of the "UrlDownload". Please make sure we see the responseSize output and also the "UrlDownload_11" part.
Ok thank you we will check that.
Unfortunatelly we were not able to reproduce the problem. In our test the responseSize works.
Questions:
1. When you say the file actually contains e.g. 1 line or 200 lines .... how did you get the file? Did you use the "Download" link next to the filename as seen in your 1st Screenshot of the Step Preview?
2. Is it possible that the URL you are calling just works one time? e.g. 1st Call: you get the file.... 2nd Call: empty file? Just asking because some APIs may work that way, because they are marking records as exported after calling or so...
3. Can you try the URLDownload with a simple URL e.g. google.com and check if the responseSize is > 0 ?
Thanks for the details... we will continue investigating.
Ok now we could reproduce it. A fix will be worked on.
What you could do in the meantime.
Change your filter condition for StopFlowIF to:
file@UrlDownload_11.length() < 1000