Back up your n8n workflows to Google Drive every day without extra work. The system creates a dated folder, saves each workflow as a JSON file, keeps only the latest seven days, and sends a Telegram alert with the folder link. It is a simple way to protect your automations and keep storage tidy.
Runs on a daily schedule or by manual start. It stamps the current time, creates a new Google Drive folder, pulls your workflows from the n8n API, and caps the batch at 200 items. Each workflow is turned into a JSON file and uploaded using a loop that processes one file at a time. A search step finds existing backup folders, a code step flags folders older than seven days, and the delete step removes them from Drive. A final message posts the date, folder name, and link in Telegram.
Setup needs Google Drive access, a Telegram bot with a chat ID, and an n8n API credential. Expect clear daily backups, space saved by auto cleanup, and faster restore because files are ready to import. Great for teams that manage many workflows and want repeatable, low effort backups.