Library / Files & Cloud Storage
Files & Cloud Storage
File Email Attachments into Drive Folders by Company
When a new Gmail message from a whitelisted contact arrives, attachments are saved into company and month folders on Google Drive, with a log in Google Sheets.
What it does
# 2. Google Sheets Whitelist Config ## To filter contacts against a whitelist: ### 1. Make a copy of this spreadsheet OR create a Google Sheet with two columns: | email | company | ### 2. Add whitelisted emails and their company as rows in the sheet and configure this node Document and Sheet to point to it.
The steps
- Search For Folder
- Create Month Folder
- Check If Folder Exists
- Gmail Trigger
- Gmail
- Split Up Binary Data1
- YYYY/MM
- Loop Over Items
- Company Folder Exists
- Create Company Folder
- Lookup in Sheets
- Search Company Folder1
- Upload To Folder
Similar automations
Files & Cloud StorageSave Gmail Invoice Attachments into Monthly Google Drive Folders20 stepsFiles & Cloud StorageSave Gmail PDF Attachments into New Google Drive Folders7 stepsFiles & Cloud StorageBack Up Gmail Attachments to Google Drive5 stepsFiles & Cloud StorageSave LINE Files to Google Drive and Log URLs in Sheets23 steps