Skip to main content

Text-to-image generator with Google Sheets & Drive integration using Flux AI

Workflow preview

Workflow preview
100%
Text-to-image generator with Google Sheets & Drive integration using Flux AI preview
Open on n8n.io

Important notice

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

1. Workflow Overview

️ Text to Image Generator using n8n + Flux AI This n8n workflow automates image generation from text prompts using the [Text to Image Flux AI API](https://rapidapi.com/PrineshPatel/api/text to im...

Best for

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

Tools used

n8n-nodes-base.googlesheets, n8n-nodes-base.splitinbatches, n8n-nodes-base.wait, n8n-nodes-base.manualtrigger, n8n-nodes-base.if, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.googledrive

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Evoort Solutions.

Original n8n.io source

1.1 Workflow description

Title
Text-to-image generator with Google Sheets & Drive integration using Flux AI
Workflow name
Text-to-image generator with Google Sheets & Drive integration using Flux AI

🖼️ Text-to-Image Generator using n8n + Flux AI

This n8n workflow automates image generation from text prompts using the Text-to-Image Flux AI API. It reads prompts from Google Sheets, generates images via API, uploads them to Google Drive, and logs the outcome.


🌟 Key Features

  • Integrates with Text-to-Image Flux AI on RapidAPI
  • Converts base64 image data to downloadable files
  • Stores images on Google Drive
  • Updates logs and errors back into Google Sheets
  • Skips prompts already processed

📄 Google Sheet Column Structure

Your source Google Sheet should include the following columns:

Column Name Description
Prompt The text prompt to generate an image from
drive path (Optional) File path or URL of saved image
Generated Date Date/time the image was generated
Base64 Base64 string or error message (for logging)

Only rows with a non-empty Prompt and empty drive path will be processed.


📌 Use Case

Perfect for:

  • Bulk AI image generation for content marketing
  • Creative automation with prompt-based image creation
  • Building image assets based on structured datasets
  • Any workflow where prompts are tracked via Google Sheets

Uses the Text-to-Image Flux AI API to generate high-quality images on demand.


🔧 Workflow Summary

Step Node Description
1 Manual Trigger Manually start the workflow
2 Google Sheets2 Reads prompts from Google Sheets
3 Loop Over Items Processes rows one by one
4 If2 Skips rows that already have images
5 HTTP Request1 Calls Text-to-Image Flux AI via RapidAPI
6 Code1 Converts base64 image to binary file
7 Google Drive1 Uploads the image file to a Drive folder
8 Google Sheets1 Logs base64 result and timestamp back
9 If1 Handles errors from the API
10 Google Sheets4 Logs errors to the sheet
11 Wait Adds delay between batches to prevent rate-limiting

🚀 RapidAPI: Text-to-Image Flux AI

This flow is powered by Text-to-Image Flux AI.

Be sure to:

  • Sign up at RapidAPI and subscribe to the API.
  • Copy your API Key.
  • Replace "your key" in the HTTP Request1 node’s x-rapidapi-key header.

You can test the API directly here before connecting it to n8n.


✅ Tips for Setup

  • Ensure you’ve set up a Google Service Account with access to both Sheets and Drive.
  • Fill only the Prompt column — leave drive path and Base64 empty for new prompts.
  • Monitor your RapidAPI dashboard for usage and quota.

Create your free n8n account and set up the workflow in just a few minutes using the link below:

👉 Start Automating with n8n

Save time, stay consistent, and grow your LinkedIn presence effortlessly!

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 Sheets2

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 2 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 3 - Wait

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

Block 4 - When clicking ‘Execute workflow’

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

Block 5 - If2

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

Block 6 - If1

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

Block 7 - Google Sheets4

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 8 - Code1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Google Sheets1

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 10 - HTTP Request1

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

Block 11 - Google Drive1

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 12 - Sticky Note

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

Block 13 - Sticky Note1

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

Block 14 - Sticky Note2

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

Block 15 - Sticky Note3

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

Block 16 - Sticky Note4

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

Block 17 - Sticky Note5

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

Block 18 - Sticky Note6

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

Block 19 - Sticky Note7

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

Block 20 - Sticky Note8

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

Block 21 - Sticky Note9

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

Block 22 - Sticky Note10

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

Block 23 - Sticky Note11

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

3. Summary Table

Workflow Text-to-image generator with Google Sheets & Drive integration using Flux AI
Complexity advanced
Nodes 23
Categories Content Creation, Multimodal AI
Author Evoort Solutions
Published 12 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5900/5900.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 Text-to-image generator with Google Sheets & Drive integration using Flux AI do?

️ Text to Image Generator using n8n + Flux AI This n8n workflow automates image generation from text prompts using the [Text to Image Flux AI API](https://rapidapi.com/PrineshPatel/api/text to im...

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.