AutomationMart
Home/Browse/Generate & edit images with Gemini AI: storage & email delivery pipeline
n8n

Generate & edit images with Gemini AI: storage & email delivery pipeline

n8nn8n14 modulesv1.0
GmailWhatsAppGoogle DriveDropboxLinkedInGemini

AI Image Generator with Nano Banana: Automated Creation and Delivery For content creators, agencies, and SaaS developers who need automated AI image generation and editing with professional delivery workflows. Overview This template demonstrates intelligent workflow routing based on user input type, leveraging Google's Gemini 2.5 Flash image model for both generative and editing tasks. The workflow includes complete file handling, cloud storage integration, and professional email notification wi

At a glance

Generate & edit images with Gemini AI: storage & email delivery pipeline is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail, WhatsApp, Google Drive, Dropbox. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, WhatsApp, Google Drive, Dropbox, LinkedIn, Gemini
Modules
14
Price
Free
Version
v1.0
Generate & edit images with Gemini AI: storage & email delivery pipeline workflow diagram

About this workflow

AI Image Generator with Nano Banana: Automated Creation and Delivery For content creators, agencies, and SaaS developers who need automated AI image generation and editing with professional delivery workflows. Overview This template demonstrates intelligent workflow routing based on user input type, leveraging Google's Gemini 2.5 Flash image model for both generative and editing tasks. The workflow includes complete file handling, cloud storage integration, and professional email notification with shareable download links. Architecture & Key Features Intelligent Input Detection - Conditional logic automatically detects presence of uploaded image files - Routes requests to appropriate processing branch (text-only vs. image+text) - Single webhook endpoint serves both use cases without manual intervention Dual Processing Modes - Text-to-Image Generation (Prompt Only): User submits natural language description and the system generates new images from scratch using Gemini 2.5 Flash - Image-to-Image Editing (Prompt + Image): User uploads reference image with text instructions for AI-powered editing while maintaining image context Complete File Management Pipeline - Extracts and validates uploaded image data - Converts AI-generated base64 responses to binary files - Uploads to organized Google Drive folder structure - Generates public sharing links with reader permissions - Implements proper file naming conventions with timestamps Professional Email Delivery System - Responsive HTML email template with gradient styling - Dynamic content injection (user names, download links) - 7-day expiration warnings for urgency - Built-in social sharing CTAs (Twitter, LinkedIn, WhatsApp) - Referral program messaging for viral growth - Mobile-optimized design Production-Ready Features - API key authentication on webhook endpoint - Proper error handling throughout pipeline - Structured response format for webhook consumers - Success confirmations before file operations Technical Implementation Nodes Used - Webhook (with file upload support) - If (conditional routing) - Extract from File (base64 conversion) - Code (image formatting for AI) - HTTP Request (OpenRouter API calls) - Edit Fields (data transformation) - Convert to File (binary operations) - Google Drive (upload & share operations) - Email Send (HTML delivery) - Respond to Webhook External Dependencies - OpenRouter API (Gemini 2.5 Flash image model) - Google Drive API credentials - SMTP server or email service Workflow Logic Flow - Input Reception: Webhook receives form data with optional image file - Route Detection: Conditional checks for presence of binary image data - Processing Branch A (With Image): Extract base64 from uploaded file, format as data URL for AI model, send prompt + image to Gemini - Processing Branch B (Text Only): Send text prompt directly to Gemini and generate image from description - Universal Pipeline (Both Routes): Parse AI response, extract base64 image, convert to binary file format, upload to Google Drive with dynamic naming, generate shareable public link, send formatted email with download link, return success response to webhook caller Use Cases - SaaS Image Tools: Backend API for image generation/editing services - Content Automation: Automated image creation for marketing campaigns - Client Delivery Systems: White-label image processing for agencies - E-commerce: Product image variations and mockups - Social Media Tools: Automated visual content generation - Design Services: Rapid prototyping and concept visualization Customization Options AI Model Flexibility - Swap Gemini for other vision-capable models - Adjust model parameters for different output styles - Implement multiple model options with user selection Storage Alternatives - Replace Google Drive with S3, Dropbox, or other cloud storage - Implement local storage for self-hosted deployments - Add CDN integration for faster delivery Email Template - Fully customizable HTML design - Add brand colors and logos - Modify social sharing options - Customize referral program messaging Business Logic - Add usage tracking and analytics - Implement credit/subscription systems - Add watermarking for free tier users - Queue management for high-volume processing Security Considerations - Webhook protected with API key authentication - File type validation on uploads - Proper permissions on Google Drive shares - Email validation before sending Setup Requirements - OpenRouter account with Gemini 2.5 Flash access - Google Cloud project with Drive API enabled - Email sending credentials (SMTP or service) - n8n instance with webhook support - Public domain for webhook endpoint (production use) Need Help? - LinkedIn: Gerald Akhidenor - Work with me: dominixai.com - My websites: jobmonkey.dev and mediacraftai.com - Email: denorgerald@gmail.com

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Send WhatsApp message for new Google Forms responses

Whenever someone fills out your Google Form, responding quickly can improve engagement and create a better user experience. This template automatically sends a WhatsApp message to the respondent using WhatsScale as soon as a new form response is submitted. This is perfect for event registrations, lead capture forms, appointment requests, feedback forms, or any workflow where you want to instantly acknowledge a submission. How it works: Google Forms detects a new response submission. The scenario

Free

✨ Vision-based AI agent scraper - with Google Sheets, ScrapingBee, and Gemini

Important Notes: Check Legal Regulations: This workflow involves scraping, so ensure you comply with the legal regulations in your country before getting started. Better safe than sorry! Workflow Description: 😮‍💨 Tired of struggling with XPath, CSS selectors, or DOM specificity when scraping ? This AI-powered solution is here to simplify your workflow! With a vision-based AI Agent, you can extract data effortlessly without worrying about how the DOM is structured. This workflow leverages a vi

Free

Save new files from Dropbox to Shufflrr

Every time a new file is uploaded to your Dropbox, Make will automatically upload that file to Shufflrr folder you specify.

Free

Smarter RAG agents with enriched retrieval and modular workflows

An extendable RAG template to build powerful, explainable AI assistants — with query understanding, semantic metadata, and support for free-tier tools like Gemini, Gemma and Supabase. Description This workflow helps you build smart, production-ready RAG agents that go far beyond basic document Q&A. It includes: ✅ File ingestion and chunking ✅ Asynchronous LLM-powered enrichment ✅ Filterable metadata-based search ✅ Gemma-based query understanding and generation ✅ Cohere re-ranking ✅ Me

Free

Send an email via Gmail for new ShipStation orders

Every time a new order is created in ShipStation, Make, Make will automatically send a message from Gmail.

Free

Tailor your Google Docs CV to any job using Ollama and Groq

CV Keyword Optimizer An AI-powered n8n workflow that automatically tailors your resume to any job description by injecting relevant keywords — without touching your formatting, layout, or design. --- How It Works Architecture Why Two AI Models? | Step | Model | Why | |------|-------|-----| | Keyword Extraction | Ollama llama3.1:8b (local) | Free, private, no API costs. Reasoning about which keywords actually matter for ATS | | Text Rewriting | Groq llama-3.3-70b-versatile (cloud) | Larger model

Free

Automate image portfolio organization with GPT-4o Vision, Google Drive and Notion

Overview This template is ideal for photographers, graphic designers, and creative professionals who manage large volumes of visual assets. It is also perfect for Digital Asset Managers looking for a customizable, automated solution to organize files without manual tagging. What it does When a new image is uploaded to a designated "Inbox" folder in Google Drive, the workflow performs the following actions: - AI Analysis: Uses GPT-4o to analyze the image content, generating a descript

Free

Scrape public email addresses from any website using Firecrawl

Who's it for This template is perfect for sales professionals, marketers, and business developers who need to quickly gather contact information from company websites. Whether you're building prospect lists, researching potential partners, or collecting leads for outreach campaigns, this automation saves hours of manual email hunting. What it does This workflow automatically discovers and extracts email addresses from any website by: - Taking a website URL as input through a simple for

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free