Uploading a file from a link in the body of an Gmail email to Google Drive
Hi everyone,
I receive a monthly statement via email from my property manager. It typically contains links in the email to my monthly statement and any other outgoings such as water rates, strata etc.
Instead of having to download these every month manually and naming and storing them on google drive is there a way to use Zapier to do this automatically. I have tested this successfully with attachments on the email but not links in the body of the email to google drive.
When i asked the property manger to send it as attachments he said his system MRI property tree is not able to do that every month.
I have tried a few options with Zapier’s native formatter and Extract URL function to do this but without success. Any help would be great.
Thank You
Page 1 / 1
Hi @Sparkdigital
you can parse the email body for the links using regex. Zapier has a formatter step that can help with this.
Format> text> Extract pattern. The regex you can use to extract urls is included below
You should get back line items with the extracted urls.
If the URLS are publicly viewable and you don’t have to login to see anything then you can create documents with them. You may need to explore using Looping by Zapier as well.
Thanks @GetUWired for the detailed step by step. Unfortunately this is the output I am getting. The URL links in the body of the email are publicly viewable (i.e. no user or password needed). The files are PDF links.