Generate Custom Icons with OpenAI GPT Image & Google Drive Auto-Storage

Go to Workflow
0 views
Built by Arkadiusz Arkadiusz
Created on June 08, 2026

Description


Workflow Description:

Turn a simple text idea into production-ready icons in seconds. With this workflow, you input a subject (e.g., “Copy”, “Banana”, “Slack Mute”), select a style (Flat, 3D, Cartoon, etc.), and off it goes.

Here’s what happens:

A form trigger collects your icon subject, style and optional background.
The workflow uses an LLM to construct an optimised prompt.
An image-generation model (OpenAI image API) renders a transparent-background, 400×400 px PNG icon.
The icon is automatically uploaded to Google Drive, and both a download link and thumbnail are generated.
A styled completion card displays the result and gives you a “One More Time” option.

Perfect for designers, developers, no-code creators, UI builders and even home-automation geeks (yes, you can integrate it with Home Assistant or Stream Deck!). It saves you the manual icon-hunt grind and gives consistent visual output across style variants.

🔧 Setup Requirements:

n8n instance (self-hosted or cloud)
OpenAI API access (image generation enabled)
Google Drive credentials (write access to a folder)
(Optional) Modify to integrate Slack, Teams or other file-storage destinations

✅ Highlights & Benefits:

Fully automated prompt creation → consistent icon quality
Transparent background PNGs size-ready for UI use
Saves icons to Drive + gives immediate link/thumbnail
Minimal setup, high value for creative/automation workflows
Easily extendable (add extra sizes, style presets, share via chat/bot)

⚠️ Notes & Best-Practices:

Check your OpenAI image quota and costs - image generation may incur usage.
Confirm Google Drive folder permissions to avoid upload failures.
If you wish a different resolution or format (e.g., SVG), clone the image node and adjust parameters.

Nodes Used (4)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Google Drive
n8n-nodes-base.googleDrive
OpenAI
@n8n/n8n-nodes-langchain.openAi
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi