I need to download a csv from an automated email (outlook) I recieve every day and upload it to our Azure blob storage so our DW (Snowflake) can use it for data harmonisation. However, the email contains merely a 'download your report' functionality and I can't seem to figure out how to do this (sorry!! trying my best and read through lots of PA community tips or stackOverflow comments but just can't figure it out).
Example of the daily email:
I have the premium PA subscription
Many many thanks in advance!
Kind regards, Liesbeth
Solved! Go to Solution.
I suspect the email body of this would contain that link information like the download url.
If you can parse out that url, then you should be able to use a OneDrive Upload from URL action on it to get the file into your flow.
thanks for your quick response Takolota!
I tried that (using body and the contains function :
The link changes on a daily base so I need to use only a part of the url.
I recieve an automated email in my inbox every day with daily updated data, that I need to upload as an Azure blob so we can grab it and use in Snowflake for our data harmonisation procedure.
I'm not very good at this so any help would be massively appreciated!
Well contains only returns true or false. You’ll probably want to use a Split expression or two to isolate the url using some of the characters surrounding it in the html.
Thank you @takolota
I was successfully able to parse out my URL from the email body and when copy/pasting the result in the browser, the download is automatically initiated.
However, when I perform a GET request with this URL, I get an redirection error message (302) and I don't understand why. Would you have any idea?
Many thanks in advance
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!