AI Agents

Automated document processing with AI insights and Discord alerts

41 nodes 300 135 Scheduled trigger
Download

Workflow Description

Scheduled automation that retrieves files from Google Drive, processes them through OpenAI for analysis or summarization, logs results to Google Sheets, and sends real-time notifications to your Discord team channel.

How it works

  1. 1.Trigger on schedule, fetch files from specified Google Drive folder and parse their content
  2. 2.Send each file to OpenAI API for analysis, extraction, or summarization based on your prompt
  3. 3.Record processed data in Google Sheets and post actionable summaries to Discord channels

Use cases

  • Automatically review weekly reports, extract key metrics, and alert your team via Discord
  • Process invoices or compliance documents with AI and maintain an audit trail in Sheets

Requirements

  • Active OpenAI API key with sufficient quota and model access
  • Google Drive folder with files and appropriate read permissions configured
  • Discord server with a dedicated channel and webhook or bot token for messages
  • Google Sheets document linked for structured logging of results

Service Value

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

Apps Used

OpenAI Google Drive Discord Google Sheets

Details

Trigger Scheduled trigger
Nodes 41
Apps 4
Views 300
Downloads 135

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 (41)

/

Get image

HTTP Request

#1

Generate Image

HTTP Request

#2

Image-to-Video

HTTP Request

#3

Get Video

HTTP Request

#4

List Elements

Code

#5

Wait 10min

Wait

#6

Wait 3min

Wait

#7

Wait 5min

Wait

#8

Generate voice

HTTP Request

#9

List Elements1

Code

#10

Fail check

If

#11

Wait to retry

Wait

#12

Generate Image Prompts

OpenAI

#13

Calculate Token Usage

Code

#14

Check for failures

If

#15

Sticky Note1

Sticky Note

#16

Sticky Note

Sticky Note

#17

Generate Video Captions

OpenAI

#18

Sticky Note2

Sticky Note

#19

Match captions with videos

Merge

#20

Generate Script

OpenAI

#21

Upload Voice Audio

Google Drive

#22

Set Access Permissions

Google Drive

#23

Pair Videos with Audio

Merge

#24

Render Final Video

HTTP Request

#25

Notify me on Discord

Discord

#26

Once Per Day

Schedule Trigger

#27

Load Google Sheet

Google Sheets

#28

Create List

Code

#29

Sticky Note3

Sticky Note

#30

Sticky Note4

Sticky Note

#31

Sticky Note5

Sticky Note

#32

Wait1

Wait

#33

Get Final Video

HTTP Request

#34

Upload Final Video

Google Drive

#35

Get Raw File

HTTP Request

#36

Set Permissions

Google Drive

#37

Update Google Sheet

Google Sheets

#38

Set API Keys

Set

#39

Sticky Note6

Sticky Note

#40

Validate list formatting

If

#41