Skip to main content

Auto-edit images from Google Drive with Nano Banana and send via Gmail

Workflow preview

Workflow preview
100%
Auto-edit images from Google Drive with Nano Banana and send via Gmail preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Auto Edit Images from Google Drive with (Wavespeed) Nano Banana and Send via Gmail When a new image is uploaded to a specific Google Drive folder, this workflow sends it to Wavespeed’s Google Nano ...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googledrivetrigger, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.gmail, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Automate With Marc.

Original n8n.io source

1.1 Workflow description

Title
Auto-edit images from Google Drive with Nano Banana and send via Gmail
Workflow name
Auto-edit images from Google Drive with Nano Banana and send via Gmail

Auto-Edit Images from Google Drive with (Wavespeed) Nano Banana and Send via Gmail

When a new image is uploaded to a specific Google Drive folder, this workflow sends it to Wavespeed’s Google Nano Banana image editing API, waits for the edited version, and then emails the result automatically. Perfect for creators, marketers, and ops teams who want hands-off, consistent image edits with instant delivery to a stakeholder inbox.

👉 Watch step-by-step video tutorials of workflows like these on: www.youtube.com/@automatewithmarc

Highlights

Google Drive trigger detects new image uploads

Wavespeed API (Google Nano Banana) performs automated image editing

Polling loop checks job status until complete

Gmail auto-sends the edited image to your chosen recipient

Great for social media pipelines, product photo retouching, or team approvals

Apps & Nodes Used

Trigger: Google Drive Trigger (fileCreated in folder)

HTTP Request: POST to Wavespeed (submit edit job)

Wait: Delay before first status check (15s)

HTTP Request: GET result (poll prediction status)

IF: Status == completed → proceed, else wait & recheck

Gmail: Send edited image output to recipient

Prerequisites

n8n account (Cloud or Self-hosted)

Google Drive folder for uploads

Wavespeed API key (HTTP Header Auth)

Gmail account with OAuth2 connected to n8n

Configuration (5 Steps)

Google Drive Trigger – set to your image upload folder.

POST Image Edit Request – sends file URL + prompt (default: “Change the lighting to night scene”).

Wait 15s – lets the job start.

GET Image Edit Request – checks prediction status/result.

IF → Gmail – once status = completed, send edited image to your chosen email.

Customization

Change the prompt (e.g., “remove background”, “enhance product lighting”).

Set Gmail recipient dynamically or statically.

Adjust polling wait times based on job length.

Save results to Drive/S3 instead of email if needed.

Error Handling

Add IF nodes to catch API errors. Set a retry limit to avoid infinite loops. Use Drive “Share File” if API can’t access the uploaded file link.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Google Drive Trigger

Type / Role
n8n-nodes-base.googleDriveTrigger - googleDriveTrigger
Config choices
Version 1

Block 2 - Post Image Edit Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Get Image Edit Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Wait 15 Secs

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 5 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 6 - Wait 15 Secs2

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 7 - Send Edited Image to Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Auto-edit images from Google Drive with Nano Banana and send via Gmail
Complexity intermediate
Nodes 12
Categories Content Creation, Multimodal AI
Author Automate With Marc
Published 14 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8577/8577.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-edit images from Google Drive with Nano Banana and send via Gmail do?

Auto Edit Images from Google Drive with (Wavespeed) Nano Banana and Send via Gmail When a new image is uploaded to a specific Google Drive folder, this workflow sends it to Wavespeed’s Google Nano ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.