Library / Files & Cloud Storage
Files & Cloud Storage
Filter new Gmail messages against a Google Sheets whitelist and save to Drive
Checks each new Gmail message against a whitelist of contacts kept in Google Sheets, then saves matching items to Google Drive and logs them to the sheet.
What it does
# 2. Google Sheets Whitelist Config ## To filter contacts against a whitelist: ### 1. Make a copy of [this spreadsheet]({{ $env.WEBHOOK_URL }} 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
- Error Handler
Similar automations