Back to Templates

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

Created by

Created by: Arkadiusz || akadiusz

Arkadiusz

Last update

Last update 2 days ago

Share


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:

  1. A form trigger collects your icon subject, style and optional background.
  2. The workflow uses an LLM to construct an optimised prompt.
  3. An image-generation model (OpenAI image API) renders a transparent-background, 400×400 px PNG icon.
  4. The icon is automatically uploaded to Google Drive, and both a download link and thumbnail are generated.
  5. 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.