I would like to build a flow that monitors my Inbox and downloads a file linked in the body which is given as a URL. The "When email arrives (v3)" trigger is working. I'm getting hung up on how to build the appropriate function to look for a URL in the body of the email that contains the link to download a PDF file and save to my Documents folder.
The email has a link to a .txt file and another link for a .pdf file. I only need to download and save the .pdf file to my documents folder.