Kütüphane / Dosyalar ve Bulut Depolama
Dosyalar ve Bulut Depolama
Aylık fatura sekmesini Google Sheets ile tarihli Drive klasörlerine arşivle
Her ayın ilk günü çalışır; geçen ayın fatura sekmesini o ayın Drive klasörüne kopyalar, gerekirse klasörü oluşturur ve ardından bir bağlantıyı e-posta ile gönderir.
Ne yapar
# Archive last month's invoice tab into a dated Drive folder On the first of every month this lifts last month's tab out of your working invoice spreadsheet, files a formatted copy inside that month's Drive folder, and emails you a link. The working sheet stops growing forever and your accountant gets one clean file per month, next to the invoices themselves. ### How it works 1. A Code node works out last month once and hands the tab, folder and archive names to every node after it. 2. Drive is searched for the month folder, for example 2026-03, and it is created if missing. 3. The folder is checked for an archive of that month. If one exists the run stops, so re-running never duplicates. 4. The tab list is searched for last month. If it is missing you get an email listing the tabs that do exist. 5. A new spreadsheet is created through the Sheets API and moved into the folder, so no Apps Script is needed. 6. The tab is copied in, then one batch call renames it, freezes and bolds the header, sizes columns and deletes the empty default sheet. 7. With the config flag on, last month's tab is deleted from the working sheet, but only after the archive exists. You then get a summary email with a link. ### Setup 1. Connect your Google account on the Sheets API nodes, Drive on the folder nodes, and Gmail. 2. Open Set config and add your spreadsheet ID, the parent folder holding your month folders, email and timezone. 3. Tabs must be named like March 2026 and month folders like 2026-03. 4. Leave removeTabAfterArchiving off until you trust the archive. ### Customization Change archiveSuffix for something other than Invoices in the file name.
Adımlar
- Run on the 1st
- Set config
- Work out last month
- Look for the month folder
- Folder exists?
- Create the month folder
- Use that folder
- Look for an existing archive
- Already archived?
- Stop, already done
- Get every tab in the sheet
- Find last month's tab
- Tab found?
- Email that there was nothing to archive
Toplam 22 adım.
Benzer otomasyonlar
Dosyalar ve Bulut DepolamaSend monthly missing document reminders with Google Drive, Sheets, and Chatwork14 adımDosyalar ve Bulut DepolamaBuild monthly mileage reimbursement reports from Google Calendar with OpenAI and Dropbox38 adımE-posta OtomasyonuFind missing client assets with Google Sheets, Drive, and Gmail24 adımBelgeler, PDF ve OCRSend tailored Upwork job proposals with Gemini, Slack, Gmail, Drive and ClickUp21 adım