Communication

Automatically extract Google Drive files and send via Gmail notifications

29 nodes 112 88 Scheduled trigger
Download

Workflow Description

A scheduled workflow that periodically retrieves files from a specified Google Drive folder, processes them in batches with conditional logic, and automatically sends them through Gmail with optional notifications to Discord and Twitter/X channels.

How it works

  1. 1.Trigger automation on a defined schedule
  2. 2.Retrieve file list from Google Drive folder
  3. 3.Process files in batches and apply conditional rules
  4. 4.Send files and notifications via Gmail
  5. 5.Post alerts to Discord and Twitter/X channels

Use cases

  • Distribute documented assets automatically to team members
  • Monitor and share daily reports from a centralized folder
  • Send invoices and contracts on a regular schedule

Requirements

  • Google account with access permissions for Drive and Gmail
  • Discord and Twitter/X accounts if channel notifications are needed
  • n8n with scheduled triggers enabled

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

N8N Google Drive Split In Batches Twitter/X Gmail Discord

Details

Trigger Scheduled trigger
Nodes 29
Apps 6
Views 112
Downloads 88

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (29)

/

Schedule Trigger

Schedule Trigger

#1

Get all n8n Workflows

N8N

#2

Backup to Google Drive2

Google Drive

#3

Loop Over Items

Split In Batches

#4

Backup to Google Drive4

Google Drive

#5

ifDriveEmpty

If

#6

firstWorkflowJson

Set

#7

JsonToFile

Code

#8

CodeJsonToFile1

Code

#9

Limit

Limit

#10

Workflow Data

Execution Data

#11

successEmail

Gmail

#12

failureEmail

Gmail

#13

Sticky Note6

Sticky Note

#14

Sticky Note7

Sticky Note

#15

getDriveFileData

Google Drive

#16

When Executed by Another Workflow

Execute Workflow Trigger

#17

Execute Workflow

Execute Workflow

#18

Parameters

Set

#19

Sticky Note3

Sticky Note

#20

Sticky Note10

Sticky Note

#21

Discord

Discord

#22

Sticky Note8

Sticky Note

#23

Sticky Note9

Sticky Note

#24

Sticky Note

Sticky Note

#25

Sticky Note11

Sticky Note

#26

Sticky Note12

Sticky Note

#27

Sticky Note13

Sticky Note

#28

Sticky Note14

Sticky Note

#29